Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dmac.c22 struct ath9k_tx_queue_info *qi) in ath9k_hw_set_txq_interrupts() argument
201 struct ath9k_tx_queue_info *qi; in ath9k_hw_set_txq_props() local
203 qi = &ah->txq[q]; in ath9k_hw_set_txq_props()
204 if (qi->tqi_type == ATH9K_TX_QUEUE_INACTIVE) { in ath9k_hw_set_txq_props()
212 qi->tqi_ver = qinfo->tqi_ver; in ath9k_hw_set_txq_props()
213 qi->tqi_subtype = qinfo->tqi_subtype; in ath9k_hw_set_txq_props()
214 qi->tqi_qflags = qinfo->tqi_qflags; in ath9k_hw_set_txq_props()
215 qi->tqi_priority = qinfo->tqi_priority; in ath9k_hw_set_txq_props()
217 qi->tqi_aifs = min(qinfo->tqi_aifs, 255U); in ath9k_hw_set_txq_props()
219 qi->tqi_aifs = INIT_AIFS; in ath9k_hw_set_txq_props()
[all …]
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 …]
Dhtc_drv_txrx.c31 qi.tqi_subtype = subtype_txq_to_hwq[subtype]; \
32 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; \
36 qi.tqi_qflags = TXQ_FLAG_TXEOLINT_ENABLE | \
193 struct ath9k_tx_queue_info qi; in ath_htc_txq_update() local
195 ath9k_hw_get_txq_props(ah, qnum, &qi); in ath_htc_txq_update()
197 qi.tqi_aifs = qinfo->tqi_aifs; in ath_htc_txq_update()
198 qi.tqi_cwmin = qinfo->tqi_cwmin / 2; /* XXX */ in ath_htc_txq_update()
[all …]
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()
Dxmit.c1701 struct ath9k_tx_queue_info qi; in ath_txq_setup() local
1710 memset(&qi, 0, sizeof(qi)); in ath_txq_setup()
1711 qi.tqi_subtype = subtype_txq_to_hwq[subtype]; in ath_txq_setup()
1712 qi.tqi_aifs = ATH9K_TXQ_USEDEFAULT; in ath_txq_setup()
1713 qi.tqi_cwmin = ATH9K_TXQ_USEDEFAULT; in ath_txq_setup()
1714 qi.tqi_cwmax = ATH9K_TXQ_USEDEFAULT; in ath_txq_setup()
1715 qi.tqi_physCompBuf = 0; in ath_txq_setup()
1733 qi.tqi_qflags = TXQ_FLAG_TXINT_ENABLE; in ath_txq_setup()
1736 qi.tqi_qflags = TXQ_FLAG_TXDESCINT_ENABLE; in ath_txq_setup()
1738 qi.tqi_qflags = TXQ_FLAG_TXEOLINT_ENABLE | in ath_txq_setup()
[all …]
/kernel/linux/linux-5.10/arch/um/drivers/
Dvector_kern.c249 static int vector_advancehead(struct vector_queue *qi, int advance) in vector_advancehead() argument
253 qi->head = in vector_advancehead()
254 (qi->head + advance) in vector_advancehead()
255 % qi->max_depth; in vector_advancehead()
258 spin_lock(&qi->tail_lock); in vector_advancehead()
259 qi->queue_depth -= advance; in vector_advancehead()
265 if (qi->queue_depth == 0) { in vector_advancehead()
266 qi->head = 0; in vector_advancehead()
267 qi->tail = 0; in vector_advancehead()
269 queue_depth = qi->queue_depth; in vector_advancehead()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_bw.c29 struct intel_qgv_info *qi) in icl_pcode_read_mem_global_info() argument
44 qi->dram_type = INTEL_DRAM_DDR4; in icl_pcode_read_mem_global_info()
47 qi->dram_type = INTEL_DRAM_LPDDR4; in icl_pcode_read_mem_global_info()
50 qi->dram_type = INTEL_DRAM_DDR3; in icl_pcode_read_mem_global_info()
53 qi->dram_type = INTEL_DRAM_LPDDR3; in icl_pcode_read_mem_global_info()
62 qi->dram_type = INTEL_DRAM_DDR4; in icl_pcode_read_mem_global_info()
65 qi->dram_type = INTEL_DRAM_DDR3; in icl_pcode_read_mem_global_info()
68 qi->dram_type = INTEL_DRAM_LPDDR3; in icl_pcode_read_mem_global_info()
71 qi->dram_type = INTEL_DRAM_LPDDR4; in icl_pcode_read_mem_global_info()
79 qi->dram_type = INTEL_DRAM_LPDDR3; /* Conservative default */ in icl_pcode_read_mem_global_info()
[all …]
/kernel/linux/linux-5.10/drivers/iommu/intel/
Ddmar.c1177 if (iommu->qi) { in free_iommu()
1178 free_page((unsigned long)iommu->qi->desc); in free_iommu()
1179 kfree(iommu->qi->desc_status); in free_iommu()
1180 kfree(iommu->qi); in free_iommu()
1193 static inline void reclaim_free_desc(struct q_inval *qi) in reclaim_free_desc() argument
1195 while (qi->desc_status[qi->free_tail] == QI_DONE || in reclaim_free_desc()
1196 qi->desc_status[qi->free_tail] == QI_ABORT) { in reclaim_free_desc()
1197 qi->desc_status[qi->free_tail] = QI_FREE; in reclaim_free_desc()
1198 qi->free_tail = (qi->free_tail + 1) % QI_LENGTH; in reclaim_free_desc()
1199 qi->free_cnt++; in reclaim_free_desc()
[all …]
Ddebugfs.c389 desc = iommu->qi->desc + offset; in invalidation_queue_entry_show()
394 iommu->qi->desc_status[index]); in invalidation_queue_entry_show()
398 iommu->qi->desc_status[index]); in invalidation_queue_entry_show()
407 struct q_inval *qi; in invalidation_queue_show() local
412 qi = iommu->qi; in invalidation_queue_show()
415 if (!qi || !ecap_qis(iommu->ecap)) in invalidation_queue_show()
420 raw_spin_lock_irqsave(&qi->q_lock, flags); in invalidation_queue_show()
422 (u64)virt_to_phys(qi->desc), in invalidation_queue_show()
426 raw_spin_unlock_irqrestore(&qi->q_lock, flags); in invalidation_queue_show()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_qm.h76 struct xfs_quotainfo *qi, in xfs_dquot_tree() argument
81 return &qi->qi_uquota_tree; in xfs_dquot_tree()
83 return &qi->qi_gquota_tree; in xfs_dquot_tree()
85 return &qi->qi_pquota_tree; in xfs_dquot_tree()
165 xfs_get_defquota(struct xfs_quotainfo *qi, xfs_dqtype_t type) in xfs_get_defquota() argument
169 return &qi->qi_usr_default; in xfs_get_defquota()
171 return &qi->qi_grp_default; in xfs_get_defquota()
173 return &qi->qi_prj_default; in xfs_get_defquota()
Dxfs_qm.c36 STATIC void xfs_qm_destroy_quotainos(struct xfs_quotainfo *qi);
54 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dquot_walk() local
55 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dquot_walk()
71 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
75 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
93 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
123 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqpurge() local
164 radix_tree_delete(xfs_dquot_tree(qi, xfs_dquot_type(dqp)), dqp->q_id); in xfs_qm_dqpurge()
165 qi->qi_dquots--; in xfs_qm_dqpurge()
172 list_lru_del(&qi->qi_lru, &dqp->q_lru); in xfs_qm_dqpurge()
[all …]
Dxfs_dquot.c107 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_dquot_set_timeout() local
109 return clamp_t(time64_t, timeout, qi->qi_expiry_min, in xfs_dquot_set_timeout()
110 qi->qi_expiry_max); in xfs_dquot_set_timeout()
164 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_adjust_dqtimers() local
168 defq = xfs_get_defquota(qi, xfs_dquot_type(dq)); in xfs_qm_adjust_dqtimers()
737 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_lookup() argument
744 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
747 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
755 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
762 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
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()
176 qi->tqi_cw_min = ath5k_cw_validate(qinfo->tqi_cw_min); in ath5k_hw_set_tx_queueprops()
177 qi->tqi_cw_max = ath5k_cw_validate(qinfo->tqi_cw_max); in ath5k_hw_set_tx_queueprops()
178 qi->tqi_cbr_period = qinfo->tqi_cbr_period; in ath5k_hw_set_tx_queueprops()
[all …]
Dmac80211-ops.c578 struct ath5k_txq_info qi; in ath5k_conf_tx() local
586 ath5k_hw_get_tx_queueprops(ah, queue, &qi); in ath5k_conf_tx()
588 qi.tqi_aifs = params->aifs; in ath5k_conf_tx()
589 qi.tqi_cw_min = params->cw_min; in ath5k_conf_tx()
590 qi.tqi_cw_max = params->cw_max; in ath5k_conf_tx()
591 qi.tqi_burst_time = params->txop * 32; in ath5k_conf_tx()
599 if (ath5k_hw_set_tx_queueprops(ah, queue, &qi)) { in ath5k_conf_tx()
Dbase.c978 struct ath5k_txq_info qi = { in ath5k_txq_setup() local
1000 qi.tqi_flags = AR5K_TXQ_FLAG_TXEOLINT_ENABLE | in ath5k_txq_setup()
1002 qnum = ath5k_hw_setup_tx_queue(ah, qtype, &qi); in ath5k_txq_setup()
1028 struct ath5k_txq_info qi = { in ath5k_beaconq_setup() local
1038 return ath5k_hw_setup_tx_queue(ah, AR5K_TX_QUEUE_BEACON, &qi); in ath5k_beaconq_setup()
1044 struct ath5k_txq_info qi; in ath5k_beaconq_config() local
1047 ret = ath5k_hw_get_tx_queueprops(ah, ah->bhalq, &qi); in ath5k_beaconq_config()
1057 qi.tqi_aifs = 0; in ath5k_beaconq_config()
1058 qi.tqi_cw_min = 0; in ath5k_beaconq_config()
1059 qi.tqi_cw_max = 0; in ath5k_beaconq_config()
[all …]
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dquota.c82 struct xfs_quotainfo *qi = mp->m_quotainfo; in xchk_quota_item() local
94 offset = dq->q_id / qi->qi_dqperchunk; in xchk_quota_item()
177 struct xfs_quotainfo *qi = sc->mp->m_quotainfo; in xchk_quota_data_fork() local
188 max_dqid_off = ((xfs_dqid_t)-1) / qi->qi_dqperchunk; in xchk_quota_data_fork()
216 struct xfs_quotainfo *qi = mp->m_quotainfo; in xchk_quota() local
242 sqi.last_id * qi->qi_dqperchunk, &error)) in xchk_quota()
/kernel/linux/linux-5.10/drivers/staging/ks7010/
DTODO9 [1] http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/ks7010/src
10 [2] http://downloads.qi-hardware.com/software/ks7010_sdio_v007.tar.bz2
11 [3] http://en.qi-hardware.com/wiki/Ben_NanoNote_Wi-Fi
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/lkdtm/
Drun.sh93 if grep -E -qi "$expect" "$LOG" ; then
97 if grep -E -qi XFAIL: "$LOG" ; then
/kernel/linux/linux-5.10/drivers/regulator/
Dmt6397-regulator.c29 u32 qi; member
58 .qi = BIT(13), \
84 .qi = BIT(15), \
101 .qi = BIT(15), \
229 return (regval & info->qi) ? REGULATOR_STATUS_ON : REGULATOR_STATUS_OFF; in mt6397_get_status()
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()
Dmt6358-regulator.c28 u32 qi; member
61 .qi = BIT(0), \
89 .qi = BIT(15), \
118 .qi = BIT(0), \
137 .qi = BIT(15), \
325 return (regval & info->qi) ? REGULATOR_STATUS_ON : REGULATOR_STATUS_OFF; in mt6358_get_status()
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c423 unsigned int qi; in ionic_dim_update() local
430 qi = qcq->cq.bound_q->index; in ionic_dim_update()
434 pkts = lif->txqstats[qi].pkts; in ionic_dim_update()
435 bytes = lif->txqstats[qi].bytes; in ionic_dim_update()
438 pkts = lif->rxqstats[qi].pkts; in ionic_dim_update()
439 bytes = lif->rxqstats[qi].bytes; in ionic_dim_update()
442 pkts = lif->txqstats[qi].pkts + lif->rxqstats[qi].pkts; in ionic_dim_update()
443 bytes = lif->txqstats[qi].bytes + lif->rxqstats[qi].bytes; in ionic_dim_update()
526 unsigned int qi = rxcq->bound_q->index; in ionic_txrx_napi() local
536 txcq = &lif->txqcqs[qi]->cq; in ionic_txrx_napi()
/kernel/linux/linux-5.10/fs/cifs/
Dsmb2ops.c1515 struct smb_query_info qi; in smb2_ioctl_query_info() local
1539 if (copy_from_user(&qi, arg, sizeof(struct smb_query_info))) { in smb2_ioctl_query_info()
1543 if (qi.output_buffer_length > 1024) { in smb2_ioctl_query_info()
1556 if (qi.output_buffer_length) { in smb2_ioctl_query_info()
1557 buffer = memdup_user(arg + sizeof(struct smb_query_info), qi.output_buffer_length); in smb2_ioctl_query_info()
1575 if (qi.flags & PASSTHRU_FSCTL) { in smb2_ioctl_query_info()
1576 switch (qi.info_type & FSCTL_DEVICE_ACCESS_MASK) { in smb2_ioctl_query_info()
1590 } else if (qi.flags & PASSTHRU_SET_INFO) { in smb2_ioctl_query_info()
1603 if (qi.flags & PASSTHRU_FSCTL) { in smb2_ioctl_query_info()
1613 qi.info_type, true, buffer, qi.output_buffer_length, in smb2_ioctl_query_info()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dintern.h76 struct caam_queue_if __iomem *qi; /* QI control region */ member

12