Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ath/ath9k/
H A 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 …]
H A 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 …]
H A Dxmit.c1761 struct ath9k_tx_queue_info qi; in ath_txq_setup() local
1770 memset(&qi, 0, sizeof(qi)); in ath_txq_setup()
1771 qi.tqi_subtype = subtype_txq_to_hwq[subtype]; in ath_txq_setup()
1772 qi.tqi_aifs = ATH9K_TXQ_USEDEFAULT; in ath_txq_setup()
1773 qi.tqi_cwmin = ATH9K_TXQ_USEDEFAULT; in ath_txq_setup()
1774 qi.tqi_cwmax = ATH9K_TXQ_USEDEFAULT; in ath_txq_setup()
1775 qi.tqi_physCompBuf = 0; in ath_txq_setup()
1793 qi.tqi_qflags = TXQ_FLAG_TXINT_ENABLE; in ath_txq_setup()
1796 qi.tqi_qflags = TXQ_FLAG_TXDESCINT_ENABLE; in ath_txq_setup()
1798 qi.tqi_qflags = TXQ_FLAG_TXEOLINT_ENABLE | in ath_txq_setup()
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_bw.c248 struct intel_qgv_info *qi, in icl_get_qgv_points() argument
253 qi->num_points = dram_info->num_qgv_points; in icl_get_qgv_points()
254 qi->num_psf_points = dram_info->num_psf_gv_points; in icl_get_qgv_points()
259 qi->t_bl = 4; in icl_get_qgv_points()
260 qi->max_numchannels = 2; in icl_get_qgv_points()
261 qi->channel_width = 64; in icl_get_qgv_points()
262 qi->deinterleave = 2; in icl_get_qgv_points()
265 qi->t_bl = 8; in icl_get_qgv_points()
266 qi->max_numchannels = 4; in icl_get_qgv_points()
267 qi->channel_width = 32; in icl_get_qgv_points()
[all …]
/linux/arch/um/drivers/
H A Dvector_kern.c260 static int vector_advancehead(struct vector_queue *qi, int advance) in vector_advancehead() argument
262 qi->head = in vector_advancehead()
263 (qi->head + advance) in vector_advancehead()
264 % qi->max_depth; in vector_advancehead()
267 atomic_sub(advance, &qi->queue_depth); in vector_advancehead()
268 return atomic_read(&qi->queue_depth); in vector_advancehead()
276 static int vector_advancetail(struct vector_queue *qi, int advance) in vector_advancetail() argument
278 qi->tail = in vector_advancetail()
279 (qi->tail + advance) in vector_advancetail()
280 % qi->max_depth; in vector_advancetail()
[all …]
/linux/fs/xfs/
H A Dxfs_qm.c60 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dquot_walk() local
61 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dquot_walk()
77 mutex_lock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
81 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
99 mutex_unlock(&qi->qi_tree_lock); in xfs_qm_dquot_walk()
128 struct xfs_quotainfo *qi = dqp->q_mount->m_quotainfo; in xfs_qm_dqpurge() local
185 radix_tree_delete(xfs_dquot_tree(qi, xfs_dquot_type(dqp)), dqp->q_id); in xfs_qm_dqpurge()
186 qi->qi_dquots--; in xfs_qm_dqpurge()
193 list_lru_del_obj(&qi->qi_lru, &dqp->q_lru); in xfs_qm_dqpurge()
242 struct xfs_quotainfo *qi) in xfs_qm_destroy_quotainos() argument
[all …]
H A Dxfs_quota.h145 int xfs_dqtrx_hook_add(struct xfs_quotainfo *qi, struct xfs_dqtrx_hook *hook);
146 void xfs_dqtrx_hook_del(struct xfs_quotainfo *qi, struct xfs_dqtrx_hook *hook);
/linux/drivers/iommu/intel/
H A Ddmar.c1189 if (iommu->qi) { in free_iommu()
1190 iommu_free_pages(iommu->qi->desc); in free_iommu()
1191 kfree(iommu->qi->desc_status); in free_iommu()
1192 kfree(iommu->qi); in free_iommu()
1206 static inline void reclaim_free_desc(struct q_inval *qi) in reclaim_free_desc() argument
1208 while (qi->desc_status[qi->free_tail] == QI_FREE && qi->free_tail != qi->free_head) { in reclaim_free_desc()
1209 qi->free_tail = (qi->free_tail + 1) % QI_LENGTH; in reclaim_free_desc()
1210 qi->free_cnt++; in reclaim_free_desc()
1244 struct qi_desc *desc = iommu->qi->desc + head; in qi_dump_fault()
1263 desc = iommu->qi->desc + head; in qi_dump_fault()
[all …]
/linux/drivers/net/wireless/ath/ath5k/
H 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()
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 …]
H 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()
H A Dbase.c1023 struct ath5k_txq_info qi = { in ath5k_txq_setup() local
1045 qi.tqi_flags = AR5K_TXQ_FLAG_TXEOLINT_ENABLE | in ath5k_txq_setup()
1047 qnum = ath5k_hw_setup_tx_queue(ah, qtype, &qi); in ath5k_txq_setup()
1073 struct ath5k_txq_info qi = { in ath5k_beaconq_setup() local
1083 return ath5k_hw_setup_tx_queue(ah, AR5K_TX_QUEUE_BEACON, &qi); in ath5k_beaconq_setup()
1089 struct ath5k_txq_info qi; in ath5k_beaconq_config() local
1092 ret = ath5k_hw_get_tx_queueprops(ah, ah->bhalq, &qi); in ath5k_beaconq_config()
1102 qi.tqi_aifs = 0; in ath5k_beaconq_config()
1103 qi.tqi_cw_min = 0; in ath5k_beaconq_config()
1104 qi.tqi_cw_max = 0; in ath5k_beaconq_config()
[all …]
/linux/drivers/scsi/pm8001/
H 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/fs/xfs/scrub/
H A Dmetapath.c176 struct xfs_quotainfo *qi = sc->mp->m_quotainfo; in xchk_setup_metapath_quotadir() local
178 if (!qi || !qi->qi_dirip) in xchk_setup_metapath_quotadir()
182 kstrdup_const("quota", GFP_KERNEL), qi->qi_dirip); in xchk_setup_metapath_quotadir()
191 struct xfs_quotainfo *qi = sc->mp->m_quotainfo; in xchk_setup_metapath_dqinode() local
194 if (!qi) in xchk_setup_metapath_dqinode()
199 ip = qi->qi_uquotaip; in xchk_setup_metapath_dqinode()
202 ip = qi->qi_gquotaip; in xchk_setup_metapath_dqinode()
205 ip = qi->qi_pquotaip; in xchk_setup_metapath_dqinode()
214 return xchk_setup_metapath_scan(sc, qi->qi_dirip, in xchk_setup_metapath_dqinode()
H A Dquotacheck.c693 struct xfs_quotainfo *qi = xqc->sc->mp->m_quotainfo; in xqcheck_teardown_scan() local
706 xfs_dqtrx_hook_del(qi, &xqc->qhook); in xqcheck_teardown_scan()
744 struct xfs_quotainfo *qi = sc->mp->m_quotainfo; in xqcheck_setup_scan() local
801 error = xfs_dqtrx_hook_add(qi, &xqc->qhook); in xqcheck_setup_scan()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.c1744 struct virtchnl2_txq_info *qi) in idpf_fill_txq_config_chunk() argument
1748 qi->queue_id = cpu_to_le32(q->q_id); in idpf_fill_txq_config_chunk()
1749 qi->model = cpu_to_le16(rsrc->txq_model); in idpf_fill_txq_config_chunk()
1750 qi->type = cpu_to_le32(VIRTCHNL2_QUEUE_TYPE_TX); in idpf_fill_txq_config_chunk()
1751 qi->ring_len = cpu_to_le16(q->desc_count); in idpf_fill_txq_config_chunk()
1752 qi->dma_ring_addr = cpu_to_le64(q->dma); in idpf_fill_txq_config_chunk()
1753 qi->relative_queue_id = cpu_to_le16(q->rel_q_id); in idpf_fill_txq_config_chunk()
1756 qi->sched_mode = cpu_to_le16(VIRTCHNL2_TXQ_SCHED_MODE_QUEUE); in idpf_fill_txq_config_chunk()
1765 qi->tx_compl_queue_id = cpu_to_le16(val); in idpf_fill_txq_config_chunk()
1772 qi->sched_mode = cpu_to_le16(val); in idpf_fill_txq_config_chunk()
[all …]
/linux/drivers/regulator/
H 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()
H 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()
H 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()
H A Dmt6331-regulator.c37 u32 qi; member
65 .qi = BIT(13), \
131 .qi = BIT(15), \
153 .qi = BIT(qibit), \
218 return (regval & info->qi) ? REGULATOR_STATUS_ON : REGULATOR_STATUS_OFF; in mt6331_get_status()
H A Dmt6359-regulator.c34 u32 qi; member
65 .qi = BIT(0), \
92 .qi = BIT(0), \
116 .qi = BIT(0), \
136 .qi = BIT(0), \
159 .qi = BIT(0), \
262 if (regval & info->qi) in mt6359_get_status()
/linux/tools/testing/selftests/lkdtm/
H A Drun.sh101 if grep -E -qi "$expect" "$LOG" ; then
105 if grep -E -qi XFAIL: "$LOG" ; then
/linux/drivers/net/ethernet/intel/ice/
H 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 …]
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.c406 int qi; in ionic_xdp_xmit() local
420 qi = cpu ? (cpu - 1) % lif->nxqs : cpu; in ionic_xdp_xmit()
422 txq = &lif->txqcqs[qi]->q; in ionic_xdp_xmit()
908 unsigned int qi; in ionic_dim_update() local
915 qi = qcq->cq.bound_q->index; in ionic_dim_update()
919 pkts = lif->txqstats[qi].pkts; in ionic_dim_update()
920 bytes = lif->txqstats[qi].bytes; in ionic_dim_update()
923 pkts = lif->rxqstats[qi].pkts; in ionic_dim_update()
924 bytes = lif->rxqstats[qi].bytes; in ionic_dim_update()
927 pkts = lif->txqstats[qi].pkts + lif->rxqstats[qi].pkts; in ionic_dim_update()
[all …]
/linux/fs/smb/client/
H A Dsmb2ops.c1572 struct smb_query_info qi; in smb2_ioctl_query_info() local
1604 if (copy_from_user(&qi, arg, sizeof(struct smb_query_info))) { in smb2_ioctl_query_info()
1608 if (qi.output_buffer_length > 1024) { in smb2_ioctl_query_info()
1621 if (qi.output_buffer_length) { in smb2_ioctl_query_info()
1622 buffer = memdup_user(arg + sizeof(struct smb_query_info), qi.output_buffer_length); in smb2_ioctl_query_info()
1641 if (qi.flags & PASSTHRU_FSCTL) { in smb2_ioctl_query_info()
1642 switch (qi.info_type & FSCTL_DEVICE_ACCESS_MASK) { in smb2_ioctl_query_info()
1656 } else if (qi.flags & PASSTHRU_SET_INFO) { in smb2_ioctl_query_info()
1669 if (qi.flags & PASSTHRU_FSCTL) { in smb2_ioctl_query_info()
1679 qi.info_type, buffer, qi.output_buffer_length, in smb2_ioctl_query_info()
[all …]
/linux/include/net/
H A Damt.h361 u8 qi; member
405 return ((amt->qrv * amt->qi) + amt->qri) * 1000; in amt_gmi()

12