Lines Matching refs:qinfo
197 const struct ath9k_tx_queue_info *qinfo) in ath9k_hw_set_txq_props() argument
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()
216 if (qinfo->tqi_aifs != ATH9K_TXQ_USEDEFAULT) in ath9k_hw_set_txq_props()
217 qi->tqi_aifs = min(qinfo->tqi_aifs, 255U); in ath9k_hw_set_txq_props()
220 if (qinfo->tqi_cwmin != ATH9K_TXQ_USEDEFAULT) { in ath9k_hw_set_txq_props()
221 cw = min(qinfo->tqi_cwmin, 1024U); in ath9k_hw_set_txq_props()
226 qi->tqi_cwmin = qinfo->tqi_cwmin; in ath9k_hw_set_txq_props()
227 if (qinfo->tqi_cwmax != ATH9K_TXQ_USEDEFAULT) { in ath9k_hw_set_txq_props()
228 cw = min(qinfo->tqi_cwmax, 1024U); in ath9k_hw_set_txq_props()
235 if (qinfo->tqi_shretry != 0) in ath9k_hw_set_txq_props()
236 qi->tqi_shretry = min((u32) qinfo->tqi_shretry, 15U); in ath9k_hw_set_txq_props()
239 if (qinfo->tqi_lgretry != 0) in ath9k_hw_set_txq_props()
240 qi->tqi_lgretry = min((u32) qinfo->tqi_lgretry, 15U); in ath9k_hw_set_txq_props()
243 qi->tqi_cbrPeriod = qinfo->tqi_cbrPeriod; in ath9k_hw_set_txq_props()
244 qi->tqi_cbrOverflowLimit = qinfo->tqi_cbrOverflowLimit; in ath9k_hw_set_txq_props()
245 qi->tqi_burstTime = qinfo->tqi_burstTime; in ath9k_hw_set_txq_props()
246 qi->tqi_readyTime = qinfo->tqi_readyTime; in ath9k_hw_set_txq_props()
248 switch (qinfo->tqi_subtype) { in ath9k_hw_set_txq_props()
262 struct ath9k_tx_queue_info *qinfo) in ath9k_hw_get_txq_props() argument
274 qinfo->tqi_qflags = qi->tqi_qflags; in ath9k_hw_get_txq_props()
275 qinfo->tqi_ver = qi->tqi_ver; in ath9k_hw_get_txq_props()
276 qinfo->tqi_subtype = qi->tqi_subtype; in ath9k_hw_get_txq_props()
277 qinfo->tqi_qflags = qi->tqi_qflags; in ath9k_hw_get_txq_props()
278 qinfo->tqi_priority = qi->tqi_priority; in ath9k_hw_get_txq_props()
279 qinfo->tqi_aifs = qi->tqi_aifs; in ath9k_hw_get_txq_props()
280 qinfo->tqi_cwmin = qi->tqi_cwmin; in ath9k_hw_get_txq_props()
281 qinfo->tqi_cwmax = qi->tqi_cwmax; in ath9k_hw_get_txq_props()
282 qinfo->tqi_shretry = qi->tqi_shretry; in ath9k_hw_get_txq_props()
283 qinfo->tqi_lgretry = qi->tqi_lgretry; in ath9k_hw_get_txq_props()
284 qinfo->tqi_cbrPeriod = qi->tqi_cbrPeriod; in ath9k_hw_get_txq_props()
285 qinfo->tqi_cbrOverflowLimit = qi->tqi_cbrOverflowLimit; in ath9k_hw_get_txq_props()
286 qinfo->tqi_burstTime = qi->tqi_burstTime; in ath9k_hw_get_txq_props()
287 qinfo->tqi_readyTime = qi->tqi_readyTime; in ath9k_hw_get_txq_props()
294 const struct ath9k_tx_queue_info *qinfo) in ath9k_hw_setuptxqueue() argument
314 q = qinfo->tqi_subtype; in ath9k_hw_setuptxqueue()
330 qi->tqi_physCompBuf = qinfo->tqi_physCompBuf; in ath9k_hw_setuptxqueue()
331 (void) ath9k_hw_set_txq_props(ah, q, qinfo); in ath9k_hw_setuptxqueue()