Lines Matching refs:txq
679 struct ath_txq *txq; in ath_tx_start() local
788 txq = asc->asc_ac2q[WME_AC_VO]; in ath_tx_start()
800 txq = asc->asc_ac2q[WME_AC_VO]; in ath_tx_start()
811 txq = asc->asc_ac2q[WME_AC_BK]; in ath_tx_start()
878 if (++txq->axq_intrcnt >= ATH_TXINTR_PERIOD) { in ath_tx_start()
880 txq->axq_intrcnt = 0; in ath_tx_start()
905 txq->axq_qnum, rix, shortPreamble, *(uint16_t *)wh->i_dur)); in ath_tx_start()
930 mutex_enter(&txq->axq_lock); in ath_tx_start()
931 list_insert_tail(&txq->axq_list, bf); in ath_tx_start()
932 if (txq->axq_link == NULL) { in ath_tx_start()
933 ATH_HAL_PUTTXBUF(ah, txq->axq_qnum, bf->bf_daddr); in ath_tx_start()
935 *txq->axq_link = bf->bf_daddr; in ath_tx_start()
937 txq->axq_link = &ds->ds_link; in ath_tx_start()
938 mutex_exit(&txq->axq_lock); in ath_tx_start()
940 ATH_HAL_TXSTART(ah, txq->axq_qnum); in ath_tx_start()
1096 ath_tx_processq(ath_t *asc, struct ath_txq *txq) in ath_tx_processq() argument
1109 mutex_enter(&txq->axq_lock); in ath_tx_processq()
1110 bf = list_head(&txq->axq_list); in ath_tx_processq()
1112 txq->axq_link = NULL; in ath_tx_processq()
1113 mutex_exit(&txq->axq_lock); in ath_tx_processq()
1123 mutex_exit(&txq->axq_lock); in ath_tx_processq()
1126 list_remove(&txq->axq_list, bf); in ath_tx_processq()
1127 mutex_exit(&txq->axq_lock); in ath_tx_processq()
1222 struct ath_txq *txq; in ath_node_free() local
1227 txq = &asc->asc_txq[i]; in ath_node_free()
1228 mutex_enter(&txq->axq_lock); in ath_node_free()
1229 bf = list_head(&txq->axq_list); in ath_node_free()
1234 bf = list_next(&txq->axq_list, bf); in ath_node_free()
1236 mutex_exit(&txq->axq_lock); in ath_node_free()
2344 struct ath_txq *txq = &asc->asc_txq[i]; in ath_attach() local
2345 mutex_destroy(&txq->axq_lock); in ath_attach()