Lines Matching refs:qinfo

568     const struct ath9k_tx_queue_info *qinfo)  in ath9k_hw_set_txq_props()  argument
590 qi->tqi_ver = qinfo->tqi_ver; in ath9k_hw_set_txq_props()
591 qi->tqi_subtype = qinfo->tqi_subtype; in ath9k_hw_set_txq_props()
592 qi->tqi_qflags = qinfo->tqi_qflags; in ath9k_hw_set_txq_props()
593 qi->tqi_priority = qinfo->tqi_priority; in ath9k_hw_set_txq_props()
594 if (qinfo->tqi_aifs != ATH9K_TXQ_USEDEFAULT) in ath9k_hw_set_txq_props()
595 qi->tqi_aifs = min(qinfo->tqi_aifs, 255U); in ath9k_hw_set_txq_props()
598 if (qinfo->tqi_cwmin != ATH9K_TXQ_USEDEFAULT) { in ath9k_hw_set_txq_props()
599 cw = min(qinfo->tqi_cwmin, 1024U); in ath9k_hw_set_txq_props()
604 qi->tqi_cwmin = qinfo->tqi_cwmin; in ath9k_hw_set_txq_props()
605 if (qinfo->tqi_cwmax != ATH9K_TXQ_USEDEFAULT) { in ath9k_hw_set_txq_props()
606 cw = min(qinfo->tqi_cwmax, 1024U); in ath9k_hw_set_txq_props()
613 if (qinfo->tqi_shretry != 0) in ath9k_hw_set_txq_props()
614 qi->tqi_shretry = min((uint32_t)qinfo->tqi_shretry, 15U); in ath9k_hw_set_txq_props()
617 if (qinfo->tqi_lgretry != 0) in ath9k_hw_set_txq_props()
618 qi->tqi_lgretry = min((uint32_t)qinfo->tqi_lgretry, 15U); in ath9k_hw_set_txq_props()
621 qi->tqi_cbrPeriod = qinfo->tqi_cbrPeriod; in ath9k_hw_set_txq_props()
622 qi->tqi_cbrOverflowLimit = qinfo->tqi_cbrOverflowLimit; in ath9k_hw_set_txq_props()
623 qi->tqi_burstTime = qinfo->tqi_burstTime; in ath9k_hw_set_txq_props()
624 qi->tqi_readyTime = qinfo->tqi_readyTime; in ath9k_hw_set_txq_props()
626 switch (qinfo->tqi_subtype) { in ath9k_hw_set_txq_props()
640 struct ath9k_tx_queue_info *qinfo) in ath9k_hw_get_txq_props() argument
659 qinfo->tqi_qflags = qi->tqi_qflags; in ath9k_hw_get_txq_props()
660 qinfo->tqi_ver = qi->tqi_ver; in ath9k_hw_get_txq_props()
661 qinfo->tqi_subtype = qi->tqi_subtype; in ath9k_hw_get_txq_props()
662 qinfo->tqi_qflags = qi->tqi_qflags; in ath9k_hw_get_txq_props()
663 qinfo->tqi_priority = qi->tqi_priority; in ath9k_hw_get_txq_props()
664 qinfo->tqi_aifs = qi->tqi_aifs; in ath9k_hw_get_txq_props()
665 qinfo->tqi_cwmin = qi->tqi_cwmin; in ath9k_hw_get_txq_props()
666 qinfo->tqi_cwmax = qi->tqi_cwmax; in ath9k_hw_get_txq_props()
667 qinfo->tqi_shretry = qi->tqi_shretry; in ath9k_hw_get_txq_props()
668 qinfo->tqi_lgretry = qi->tqi_lgretry; in ath9k_hw_get_txq_props()
669 qinfo->tqi_cbrPeriod = qi->tqi_cbrPeriod; in ath9k_hw_get_txq_props()
670 qinfo->tqi_cbrOverflowLimit = qi->tqi_cbrOverflowLimit; in ath9k_hw_get_txq_props()
671 qinfo->tqi_burstTime = qi->tqi_burstTime; in ath9k_hw_get_txq_props()
672 qinfo->tqi_readyTime = qi->tqi_readyTime; in ath9k_hw_get_txq_props()
679 const struct ath9k_tx_queue_info *qinfo) in ath9k_hw_setuptxqueue() argument
731 if (qinfo == NULL) { in ath9k_hw_setuptxqueue()
743 qi->tqi_physCompBuf = qinfo->tqi_physCompBuf; in ath9k_hw_setuptxqueue()
744 (void) ath9k_hw_set_txq_props(ah, q, qinfo); in ath9k_hw_setuptxqueue()