Home
last modified time | relevance | path

Searched refs:qi (Results 1 – 25 of 52) sorted by relevance

123

/linux/drivers/net/wireless/ath/ath9k/
A Dmac.c203 qi = &ah->txq[q]; in ath9k_hw_set_txq_props()
224 qi->tqi_cwmin = (qi->tqi_cwmin << 1) | 1; in ath9k_hw_set_txq_props()
231 qi->tqi_cwmax = (qi->tqi_cwmax << 1) | 1; in ath9k_hw_set_txq_props()
267 qi = &ah->txq[q]; in ath9k_hw_get_txq_props()
323 qi = &ah->txq[q]; in ath9k_hw_setuptxqueue()
351 qi = &ah->txq[q]; in ath9k_hw_releasetxqueue()
373 qi = &ah->txq[q]; in ath9k_hw_resettxqueue()
417 if (qi->tqi_readyTime && (qi->tqi_type != ATH9K_TX_QUEUE_CAB)) { in ath9k_hw_resettxqueue()
746 memset(&qi, 0, sizeof(qi)); in ath9k_hw_beaconq_setup()
747 qi.tqi_aifs = 1; in ath9k_hw_beaconq_setup()
[all …]
A Dhtc_drv_beacon.c24 struct ath9k_tx_queue_info qi, qi_be; in ath9k_htc_beaconq_config() local
26 memset(&qi, 0, sizeof(struct ath9k_tx_queue_info)); in ath9k_htc_beaconq_config()
29 ath9k_hw_get_txq_props(ah, priv->beacon.beaconq, &qi); in ath9k_htc_beaconq_config()
33 qi.tqi_aifs = 1; in ath9k_htc_beaconq_config()
34 qi.tqi_cwmin = 0; in ath9k_htc_beaconq_config()
35 qi.tqi_cwmax = 0; in ath9k_htc_beaconq_config()
41 qi.tqi_aifs = qi_be.tqi_aifs; in ath9k_htc_beaconq_config()
49 qi.tqi_cwmin = 2*qi_be.tqi_cwmin; in ath9k_htc_beaconq_config()
51 qi.tqi_cwmin = 4*qi_be.tqi_cwmin; in ath9k_htc_beaconq_config()
53 qi.tqi_cwmax = qi_be.tqi_cwmax; in ath9k_htc_beaconq_config()
[all …]
A Dhtc_drv_txrx.c32 qi.tqi_aifs = ATH9K_TXQ_USEDEFAULT; \
33 qi.tqi_cwmin = ATH9K_TXQ_USEDEFAULT; \
34 qi.tqi_cwmax = ATH9K_TXQ_USEDEFAULT; \
35 qi.tqi_physCompBuf = 0; \
193 struct ath9k_tx_queue_info qi; in ath_htc_txq_update() local
197 qi.tqi_aifs = qinfo->tqi_aifs; in ath_htc_txq_update()
199 qi.tqi_cwmax = qinfo->tqi_cwmax; in ath_htc_txq_update()
830 struct ath9k_tx_queue_info qi; in ath9k_htc_txq_setup() local
833 memset(&qi, 0, sizeof(qi)); in ath9k_htc_txq_setup()
853 struct ath9k_tx_queue_info qi; in ath9k_htc_cabq_setup() local
[all …]
A Dbeacon.c37 struct ath9k_tx_queue_info qi, qi_be; in ath9k_beaconq_config() local
40 ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi); in ath9k_beaconq_config()
45 qi.tqi_aifs = 1; in ath9k_beaconq_config()
46 qi.tqi_cwmin = 0; in ath9k_beaconq_config()
47 qi.tqi_cwmax = 0; in ath9k_beaconq_config()
52 qi.tqi_aifs = qi_be.tqi_aifs; in ath9k_beaconq_config()
54 qi.tqi_cwmin = 2*qi_be.tqi_cwmin; in ath9k_beaconq_config()
56 qi.tqi_cwmin = 4*qi_be.tqi_cwmin; in ath9k_beaconq_config()
57 qi.tqi_cwmax = qi_be.tqi_cwmax; in ath9k_beaconq_config()
60 if (!ath9k_hw_set_txq_props(ah, sc->beacon.beaconq, &qi)) { in ath9k_beaconq_config()
/linux/drivers/gpu/drm/i915/display/
A Dintel_bw.c228 qi->t_bl = 4; in icl_get_qgv_points()
231 qi->deinterleave = 2; in icl_get_qgv_points()
234 qi->t_bl = 8; in icl_get_qgv_points()
241 qi->t_bl = 16; in icl_get_qgv_points()
269 qi->t_bl = 8; in icl_get_qgv_points()
277 qi->t_bl = 16; in icl_get_qgv_points()
283 qi->t_bl = 16; in icl_get_qgv_points()
293 qi->num_points > ARRAY_SIZE(qi->points))) in icl_get_qgv_points()
294 qi->num_points = ARRAY_SIZE(qi->points); in icl_get_qgv_points()
497 qi.deinterleave = max(DIV_ROUND_UP(qi.deinterleave, 2), 1); in tgl_get_bw_info()
[all …]
/linux/arch/um/drivers/
A Dvector_kern.c260 qi->head = in vector_advancehead()
262 % qi->max_depth; in vector_advancehead()
276 qi->tail = in vector_advancetail()
278 % qi->max_depth; in vector_advancetail()
340 *(qi->skbuff_vector + qi->tail) = skb; in vector_enqueue()
375 for (skb_index = qi->head; skb_index < qi->head + count; skb_index++) { in consume_vector_skbs()
411 if (send_len + qi->head > qi->max_depth) in vector_send()
412 send_len = qi->max_depth - qi->head; in vector_send()
472 if (qi == NULL) in destroy_queue()
499 kfree(qi); in destroy_queue()
[all …]
/linux/drivers/iommu/intel/
A Ddmar.c1207 while (qi->desc_status[qi->free_tail] == QI_FREE && qi->free_tail != qi->free_head) { in reclaim_free_desc()
1208 qi->free_tail = (qi->free_tail + 1) % QI_LENGTH; in reclaim_free_desc()
1276 struct q_inval *qi = iommu->qi; in qi_check_fault() local
1371 struct q_inval *qi = iommu->qi; in qi_submit_sync() local
1382 if (!qi) in qi_submit_sync()
1646 struct q_inval *qi = iommu->qi; in __dmar_enable_qi() local
1649 qi->free_head = qi->free_tail = 0; in __dmar_enable_qi()
1695 iommu->qi = kmalloc(sizeof(*qi), GFP_ATOMIC); in dmar_enable_qi()
1699 qi = iommu->qi; in dmar_enable_qi()
1708 kfree(qi); in dmar_enable_qi()
[all …]
A Ddebugfs.c496 desc = iommu->qi->desc + offset; in invalidation_queue_entry_show()
501 iommu->qi->desc_status[index]); in invalidation_queue_entry_show()
505 iommu->qi->desc_status[index]); in invalidation_queue_entry_show()
514 struct q_inval *qi; in invalidation_queue_show() local
519 qi = iommu->qi; in invalidation_queue_show()
522 if (!qi || !ecap_qis(iommu->ecap)) in invalidation_queue_show()
527 raw_spin_lock_irqsave(&qi->q_lock, flags); in invalidation_queue_show()
529 (u64)virt_to_phys(qi->desc), in invalidation_queue_show()
533 raw_spin_unlock_irqrestore(&qi->q_lock, flags); in invalidation_queue_show()
/linux/fs/xfs/
A Dxfs_qm.h79 struct xfs_quotainfo *qi, in xfs_dquot_tree() argument
84 return &qi->qi_uquota_tree; in xfs_dquot_tree()
86 return &qi->qi_gquota_tree; in xfs_dquot_tree()
88 return &qi->qi_pquota_tree; in xfs_dquot_tree()
172 xfs_get_defquota(struct xfs_quotainfo *qi, xfs_dqtype_t type) in xfs_get_defquota() argument
176 return &qi->qi_usr_default; in xfs_get_defquota()
178 return &qi->qi_grp_default; in xfs_get_defquota()
180 return &qi->qi_prj_default; in xfs_get_defquota()
A Dxfs_qm.c168 qi->qi_dquots--; in xfs_qm_dqpurge()
722 struct xfs_quotainfo *qi; in xfs_qm_destroy_quotainfo() local
724 qi = mp->m_quotainfo; in xfs_qm_destroy_quotainfo()
725 ASSERT(qi != NULL); in xfs_qm_destroy_quotainfo()
732 kfree(qi); in xfs_qm_destroy_quotainfo()
1672 if (qi->qi_uquotaip) { in xfs_qm_destroy_quotainos()
1676 if (qi->qi_gquotaip) { in xfs_qm_destroy_quotainos()
1678 qi->qi_gquotaip = NULL; in xfs_qm_destroy_quotainos()
1680 if (qi->qi_pquotaip) { in xfs_qm_destroy_quotainos()
1682 qi->qi_pquotaip = NULL; in xfs_qm_destroy_quotainos()
[all …]
A Dxfs_dquot.c131 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_dquot_set_timeout() local
134 qi->qi_expiry_max); in xfs_dquot_set_timeout()
773 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_lookup() argument
780 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
783 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
791 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
798 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
820 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_insert() argument
829 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
840 qi->qi_dquots++; in xfs_qm_dqget_cache_insert()
[all …]
A Dxfs_trans_dquot.c169 struct xfs_quotainfo *qi = tp->t_mountp->m_quotainfo; in xfs_trans_mod_ino_dquot() local
171 xfs_hooks_call(&qi->qi_mod_ino_dqtrx_hooks, field, &p); in xfs_trans_mod_ino_dquot()
178 struct xfs_quotainfo *qi, in xfs_dqtrx_hook_add() argument
202 xfs_hooks_del(&qi->qi_apply_dqtrx_hooks, &hook->apply_hook); in xfs_dqtrx_hook_add()
210 struct xfs_quotainfo *qi, in xfs_dqtrx_hook_del() argument
218 xfs_hooks_del(&qi->qi_mod_ino_dqtrx_hooks, &hook->mod_hook); in xfs_dqtrx_hook_del()
219 xfs_hooks_del(&qi->qi_apply_dqtrx_hooks, &hook->apply_hook); in xfs_dqtrx_hook_del()
453 struct xfs_quotainfo *qi = tp->t_mountp->m_quotainfo; in xfs_trans_apply_dquot_deltas_hook() local
455 xfs_hooks_call(&qi->qi_apply_dqtrx_hooks, in xfs_trans_apply_dquot_deltas_hook()
622 struct xfs_quotainfo *qi = tp->t_mountp->m_quotainfo; in xfs_trans_unreserve_and_mod_dquots_hook() local
[all …]
/linux/fs/xfs/scrub/
A Ddqiterate.c46 struct xfs_quotainfo *qi = cursor->sc->mp->m_quotainfo; in xchk_dquot_iter_revalidate_bmap() local
54 fileoff = this_id / qi->qi_dqperchunk; in xchk_dquot_iter_revalidate_bmap()
90 struct xfs_quotainfo *qi = cursor->sc->mp->m_quotainfo; in xchk_dquot_iter_advance_bmap() local
101 if (fileoff > XFS_DQ_ID_MAX / qi->qi_dqperchunk) { in xchk_dquot_iter_advance_bmap()
123 next_id = cursor->bmap.br_startoff * qi->qi_dqperchunk; in xchk_dquot_iter_advance_bmap()
148 struct xfs_quotainfo *qi = cursor->sc->mp->m_quotainfo; in xchk_dquot_iter_advance_incore() local
149 struct radix_tree_root *tree = xfs_dquot_tree(qi, cursor->dqtype); in xchk_dquot_iter_advance_incore()
155 mutex_lock(&qi->qi_tree_lock); in xchk_dquot_iter_advance_incore()
159 mutex_unlock(&qi->qi_tree_lock); in xchk_dquot_iter_advance_incore()
A Dquota_repair.c113 struct xfs_quotainfo *qi = mp->m_quotainfo; in xrep_quota_item_bmap() local
114 xfs_fileoff_t offset = dq->q_id / qi->qi_dqperchunk; in xrep_quota_item_bmap()
303 struct xfs_quotainfo *qi = sc->mp->m_quotainfo; in xrep_quota_block() local
304 struct xfs_def_quota *defq = xfs_get_defquota(qi, dqtype); in xrep_quota_block()
311 qi->qi_dqchunklen, 0, &bp, &xfs_dquot_buf_ops); in xrep_quota_block()
317 sc->mp->m_ddev_targp, daddr, qi->qi_dqchunklen, in xrep_quota_block()
343 for (i = 0; i < qi->qi_dqperchunk; i++, dqblk++) { in xrep_quota_block()
401 struct xfs_quotainfo *qi = sc->mp->m_quotainfo; in xrep_quota_data_fork() local
415 max_dqid_off = XFS_DQ_ID_MAX / qi->qi_dqperchunk; in xrep_quota_data_fork()
488 dqtype, off * qi->qi_dqperchunk); in xrep_quota_data_fork()
A Dquota.c146 struct xfs_quotainfo *qi = mp->m_quotainfo; in xchk_quota_item() local
169 offset = dq->q_id / qi->qi_dqperchunk; in xchk_quota_item()
261 struct xfs_quotainfo *qi = sc->mp->m_quotainfo; in xchk_quota_data_fork() local
272 max_dqid_off = XFS_DQ_ID_MAX / qi->qi_dqperchunk; in xchk_quota_data_fork()
302 struct xfs_quotainfo *qi = mp->m_quotainfo; in xchk_quota() local
334 sqi.last_id * qi->qi_dqperchunk, &error)) in xchk_quota()
/linux/drivers/net/wireless/ath/ath5k/
A Dqcu.c157 struct ath5k_txq_info *qi; in ath5k_hw_set_tx_queueprops() local
161 qi = &ah->ah_txq[queue]; in ath5k_hw_set_tx_queueprops()
163 if (qi->tqi_type == AR5K_TX_QUEUE_INACTIVE) in ath5k_hw_set_tx_queueprops()
167 qi->tqi_type = qinfo->tqi_type; in ath5k_hw_set_tx_queueprops()
168 qi->tqi_subtype = qinfo->tqi_subtype; in ath5k_hw_set_tx_queueprops()
169 qi->tqi_flags = qinfo->tqi_flags; in ath5k_hw_set_tx_queueprops()
175 qi->tqi_aifs = min(qinfo->tqi_aifs, (u8)0xFC); in ath5k_hw_set_tx_queueprops()
178 qi->tqi_cbr_period = qinfo->tqi_cbr_period; in ath5k_hw_set_tx_queueprops()
180 qi->tqi_burst_time = qinfo->tqi_burst_time; in ath5k_hw_set_tx_queueprops()
181 qi->tqi_ready_time = qinfo->tqi_ready_time; in ath5k_hw_set_tx_queueprops()
[all …]
A Dmac80211-ops.c579 struct ath5k_txq_info qi; in ath5k_conf_tx() local
587 ath5k_hw_get_tx_queueprops(ah, queue, &qi); in ath5k_conf_tx()
589 qi.tqi_aifs = params->aifs; in ath5k_conf_tx()
590 qi.tqi_cw_min = params->cw_min; in ath5k_conf_tx()
591 qi.tqi_cw_max = params->cw_max; in ath5k_conf_tx()
592 qi.tqi_burst_time = params->txop * 32; in ath5k_conf_tx()
600 if (ath5k_hw_set_tx_queueprops(ah, queue, &qi)) { in ath5k_conf_tx()
/linux/drivers/scsi/pm8001/
A Dpm80xx_tracepoints.h79 TP_PROTO(u32 id, u32 opc, u32 htag, u32 qi, u32 pi, u32 ci),
81 TP_ARGS(id, opc, htag, qi, pi, ci),
87 __field(u32, qi)
96 __entry->qi = qi;
102 __entry->id, __entry->opc, __entry->htag, __entry->qi,
/linux/drivers/net/ethernet/intel/idpf/
A Didpf_virtchnl.c1446 if (!qi) in idpf_send_config_tx_queues_msg()
1455 qi[k].queue_id = in idpf_send_config_tx_queues_msg()
1457 qi[k].model = in idpf_send_config_tx_queues_msg()
1459 qi[k].type = in idpf_send_config_tx_queues_msg()
1461 qi[k].ring_len = in idpf_send_config_tx_queues_msg()
1473 qi[k].sched_mode = in idpf_send_config_tx_queues_msg()
1479 qi[k].sched_mode = in idpf_send_config_tx_queues_msg()
1565 if (!qi) in idpf_send_config_rx_queues_msg()
1583 qi[k].type = in idpf_send_config_rx_queues_msg()
1634 qi[k].qflags |= in idpf_send_config_rx_queues_msg()
[all …]
/linux/drivers/regulator/
A Dmt6332-regulator.c37 u32 qi; member
65 .qi = BIT(13), \
91 .qi = BIT(15), \
133 .qi = BIT(15), \
153 .qi = BIT(qibit), \
188 if (info->qi > 0) { in mt6332_get_status()
190 en_mask = info->qi; in mt6332_get_status()
A Dmt6358-regulator.c27 u32 qi; member
58 .qi = BIT(0), \
87 .qi = BIT(15), \
112 .qi = BIT(0), \
134 .qi = BIT(15), \
159 .qi = BIT(0), \
188 .qi = BIT(15), \
213 .qi = BIT(0), \
235 .qi = BIT(15), \
401 return (regval & info->qi) ? REGULATOR_STATUS_ON : REGULATOR_STATUS_OFF; in mt6358_get_status()
A Dmt6323-regulator.c31 u32 qi; member
57 .qi = BIT(13), \
80 .qi = BIT(15), \
100 .qi = BIT(15), \
169 return (regval & info->qi) ? REGULATOR_STATUS_ON : REGULATOR_STATUS_OFF; in mt6323_get_status()
A Dmt6397-regulator.c29 u32 qi; member
57 .qi = BIT(13), \
82 .qi = BIT(15), \
99 .qi = BIT(15), \
230 return (regval & info->qi) ? REGULATOR_STATUS_ON : REGULATOR_STATUS_OFF; in mt6397_get_status()
/linux/tools/testing/selftests/lkdtm/
A Drun.sh101 if grep -E -qi "$expect" "$LOG" ; then
105 if grep -E -qi XFAIL: "$LOG" ; then
/linux/drivers/net/ethernet/intel/ice/
A Dice_controlq.c313 #define ICE_FREE_CQ_BUFS(hw, qi, ring) \ argument
316 if ((qi)->ring.r.ring##_bi) { \
319 for (i = 0; i < (qi)->num_##ring##_entries; i++) \
320 if ((qi)->ring.r.ring##_bi[i].pa) { \
322 (qi)->ring.r.ring##_bi[i].size, \
323 (qi)->ring.r.ring##_bi[i].va, \
324 (qi)->ring.r.ring##_bi[i].pa); \
325 (qi)->ring.r.ring##_bi[i].va = NULL;\
326 (qi)->ring.r.ring##_bi[i].pa = 0;\
327 (qi)->ring.r.ring##_bi[i].size = 0;\
[all …]

Completed in 655 milliseconds

123