Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.c1696 struct ath9k_tx_queue_info qi; in ath_txq_setup() local
1705 memset(&qi, 0, sizeof(qi)); in ath_txq_setup()
1706 qi.tqi_subtype = subtype_txq_to_hwq[subtype]; in ath_txq_setup()
1707 qi.tqi_aifs = ATH9K_TXQ_USEDEFAULT; in ath_txq_setup()
1708 qi.tqi_cwmin = ATH9K_TXQ_USEDEFAULT; in ath_txq_setup()
1709 qi.tqi_cwmax = ATH9K_TXQ_USEDEFAULT; in ath_txq_setup()
1710 qi.tqi_physCompBuf = 0; in ath_txq_setup()
1728 qi.tqi_qflags = TXQ_FLAG_TXINT_ENABLE; in ath_txq_setup()
1731 qi.tqi_qflags = TXQ_FLAG_TXDESCINT_ENABLE; in ath_txq_setup()
1733 qi.tqi_qflags = TXQ_FLAG_TXEOLINT_ENABLE | in ath_txq_setup()
[all …]
Dhtc_drv_main.c1376 struct ath9k_tx_queue_info qi; in ath9k_htc_conf_tx() local
1385 memset(&qi, 0, sizeof(struct ath9k_tx_queue_info)); in ath9k_htc_conf_tx()
1387 qi.tqi_aifs = params->aifs; in ath9k_htc_conf_tx()
1388 qi.tqi_cwmin = params->cw_min; in ath9k_htc_conf_tx()
1389 qi.tqi_cwmax = params->cw_max; in ath9k_htc_conf_tx()
1390 qi.tqi_burstTime = params->txop * 32; in ath9k_htc_conf_tx()
1399 ret = ath_htc_txq_update(priv, qnum, &qi); in ath9k_htc_conf_tx()
Dmain.c1634 struct ath9k_tx_queue_info qi; in ath9k_conf_tx() local
1645 memset(&qi, 0, sizeof(struct ath9k_tx_queue_info)); in ath9k_conf_tx()
1647 qi.tqi_aifs = params->aifs; in ath9k_conf_tx()
1648 qi.tqi_cwmin = params->cw_min; in ath9k_conf_tx()
1649 qi.tqi_cwmax = params->cw_max; in ath9k_conf_tx()
1650 qi.tqi_burstTime = params->txop * 32; in ath9k_conf_tx()
1657 ath_update_max_aggr_framelen(sc, queue, qi.tqi_burstTime); in ath9k_conf_tx()
1658 ret = ath_txq_update(sc, txq->axq_qnum, &qi); in ath9k_conf_tx()
/Linux-v5.4/arch/um/drivers/
Dvector_kern.c224 static int vector_advancehead(struct vector_queue *qi, int advance) in vector_advancehead() argument
228 qi->head = in vector_advancehead()
229 (qi->head + advance) in vector_advancehead()
230 % qi->max_depth; in vector_advancehead()
233 spin_lock(&qi->tail_lock); in vector_advancehead()
234 qi->queue_depth -= advance; in vector_advancehead()
240 if (qi->queue_depth == 0) { in vector_advancehead()
241 qi->head = 0; in vector_advancehead()
242 qi->tail = 0; in vector_advancehead()
244 queue_depth = qi->queue_depth; in vector_advancehead()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_bw.c26 struct intel_qgv_info *qi) in icl_pcode_read_mem_global_info() argument
40 qi->dram_type = INTEL_DRAM_DDR4; in icl_pcode_read_mem_global_info()
43 qi->dram_type = INTEL_DRAM_DDR3; in icl_pcode_read_mem_global_info()
46 qi->dram_type = INTEL_DRAM_LPDDR3; in icl_pcode_read_mem_global_info()
49 qi->dram_type = INTEL_DRAM_LPDDR3; in icl_pcode_read_mem_global_info()
56 qi->num_channels = (val & 0xf0) >> 4; in icl_pcode_read_mem_global_info()
57 qi->num_points = (val & 0xf00) >> 8; in icl_pcode_read_mem_global_info()
59 qi->t_bl = qi->dram_type == INTEL_DRAM_DDR4 ? 4 : 8; in icl_pcode_read_mem_global_info()
91 struct intel_qgv_info *qi) in icl_get_qgv_points() argument
95 ret = icl_pcode_read_mem_global_info(dev_priv, qi); in icl_get_qgv_points()
[all …]
/Linux-v5.4/drivers/iommu/
Ddmar.c1120 if (iommu->qi) { in free_iommu()
1121 free_page((unsigned long)iommu->qi->desc); in free_iommu()
1122 kfree(iommu->qi->desc_status); in free_iommu()
1123 kfree(iommu->qi); in free_iommu()
1136 static inline void reclaim_free_desc(struct q_inval *qi) in reclaim_free_desc() argument
1138 while (qi->desc_status[qi->free_tail] == QI_DONE || in reclaim_free_desc()
1139 qi->desc_status[qi->free_tail] == QI_ABORT) { in reclaim_free_desc()
1140 qi->desc_status[qi->free_tail] = QI_FREE; in reclaim_free_desc()
1141 qi->free_tail = (qi->free_tail + 1) % QI_LENGTH; in reclaim_free_desc()
1142 qi->free_cnt++; in reclaim_free_desc()
[all …]
/Linux-v5.4/fs/xfs/
Dxfs_qm.h84 struct xfs_quotainfo *qi, in xfs_dquot_tree() argument
89 return &qi->qi_uquota_tree; in xfs_dquot_tree()
91 return &qi->qi_gquota_tree; in xfs_dquot_tree()
93 return &qi->qi_pquota_tree; in xfs_dquot_tree()
167 xfs_get_defquota(struct xfs_dquot *dqp, struct xfs_quotainfo *qi) in xfs_get_defquota() argument
172 defq = &qi->qi_usr_default; in xfs_get_defquota()
174 defq = &qi->qi_grp_default; in xfs_get_defquota()
177 defq = &qi->qi_prj_default; in xfs_get_defquota()
Dxfs_qm.c35 STATIC void xfs_qm_destroy_quotainos(xfs_quotainfo_t *qi);
53 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dquot_walk() local
54 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dquot_walk()
70 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
74 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
92 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
122 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dqpurge() local
162 radix_tree_delete(xfs_dquot_tree(qi, dqp->q_core.d_flags), in xfs_qm_dqpurge()
164 qi->qi_dquots--; in xfs_qm_dqpurge()
171 list_lru_del(&qi->qi_lru, &dqp->q_lru); in xfs_qm_dqpurge()
[all …]
Dxfs_dquot.c658 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_lookup() argument
665 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
668 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
676 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
683 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_lookup()
699 struct xfs_quotainfo *qi, in xfs_qm_dqget_cache_insert() argument
706 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
711 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
720 qi->qi_dquots++; in xfs_qm_dqget_cache_insert()
721 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dqget_cache_insert()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/fs/xfs/scrub/
Dquota.c83 struct xfs_quotainfo *qi = mp->m_quotainfo; in xchk_quota_item() local
101 offset = id / qi->qi_dqperchunk; in xchk_quota_item()
191 struct xfs_quotainfo *qi = sc->mp->m_quotainfo; in xchk_quota_data_fork() local
202 max_dqid_off = ((xfs_dqid_t)-1) / qi->qi_dqperchunk; in xchk_quota_data_fork()
230 struct xfs_quotainfo *qi = mp->m_quotainfo; in xchk_quota() local
256 sqi.last_id * qi->qi_dqperchunk, &error)) in xchk_quota()
/Linux-v5.4/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
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_controlq.c425 #define ICE_FREE_CQ_BUFS(hw, qi, ring) \ argument
429 for (i = 0; i < (qi)->num_##ring##_entries; i++) \
430 if ((qi)->ring.r.ring##_bi[i].pa) { \
432 (qi)->ring.r.ring##_bi[i].size,\
433 (qi)->ring.r.ring##_bi[i].va,\
434 (qi)->ring.r.ring##_bi[i].pa);\
435 (qi)->ring.r.ring##_bi[i].va = NULL; \
436 (qi)->ring.r.ring##_bi[i].pa = 0; \
437 (qi)->ring.r.ring##_bi[i].size = 0; \
440 if ((qi)->ring.cmd_buf) \
[all …]
/Linux-v5.4/drivers/regulator/
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()
Dmt6397-regulator.c31 u32 qi; member
59 .qi = BIT(13), \
85 .qi = BIT(15), \
102 .qi = BIT(15), \
218 return (regval & info->qi) ? REGULATOR_STATUS_ON : REGULATOR_STATUS_OFF; in mt6397_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()
/Linux-v5.4/fs/cifs/
Dsmb2ops.c1368 struct smb_query_info qi; in smb2_ioctl_query_info() local
1393 if (copy_from_user(&qi, arg, sizeof(struct smb_query_info))) in smb2_ioctl_query_info()
1396 if (qi.output_buffer_length > 1024) in smb2_ioctl_query_info()
1405 buffer = kmalloc(qi.output_buffer_length, GFP_KERNEL); in smb2_ioctl_query_info()
1410 qi.output_buffer_length)) { in smb2_ioctl_query_info()
1430 if (qi.flags & PASSTHRU_FSCTL) { in smb2_ioctl_query_info()
1431 switch (qi.info_type & FSCTL_DEVICE_ACCESS_MASK) { in smb2_ioctl_query_info()
1445 } else if (qi.flags & PASSTHRU_SET_INFO) { in smb2_ioctl_query_info()
1457 if (qi.flags & PASSTHRU_FSCTL) { in smb2_ioctl_query_info()
1468 qi.info_type, true, buffer, in smb2_ioctl_query_info()
[all …]
/Linux-v5.4/drivers/crypto/caam/
Dintern.h73 struct caam_queue_if __iomem *qi; /* QI control region */ member
/Linux-v5.4/drivers/net/wireless/ath/carl9170/
Ddebug.c373 #define DEBUGFS_QUEUE_DUMP(q, qi) \ argument
374 static char *carl9170_debugfs_##q ##_##qi ##_read(struct ar9170 *ar, \
377 carl9170_debugfs_queue_dump(ar, buf, len, bufsize, &ar->q[qi]); \
380 DEBUGFS_DECLARE_RO_FILE(q##_##qi, 8000);

12