Lines Matching defs:txq
60 static bool ath9k_has_pending_frames(struct ath_softc *sc, struct ath_txq *txq,
65 spin_lock_bh(&txq->axq_lock);
67 if (txq->axq_depth) {
75 if (txq->mac80211_qnum >= 0) {
78 acq = &sc->cur_chan->acq[txq->mac80211_qnum];
83 spin_unlock_bh(&txq->axq_lock);
815 txctl.txq = sc->tx.txq_map[skb_get_queue_mapping(skb)];
822 TX_STAT_INC(sc, txctl.txq->axq_qnum, txfailed);
854 struct ath_txq *txq;
860 txq = &sc->tx.txq[i];
861 if (!txq->axq_depth)
863 if (!ath9k_hw_numtxpending(ah, txq->axq_qnum))
866 ath_txq_lock(sc, txq);
867 key_in_use = ath9k_txq_list_has_key(&txq->axq_q, keyix);
869 int idx = txq->txq_tailidx;
872 !list_empty(&txq->txq_fifo[idx]) &&
875 &txq->txq_fifo[idx], keyix);
879 ath_txq_unlock(sc, txq);
1721 struct ath_txq *txq;
1728 txq = sc->tx.txq_map[queue];
1742 queue, txq->axq_qnum, params->aifs, params->cw_min,
1746 ret = ath_txq_update(sc, txq->axq_qnum, &qi);
2156 npend = ath9k_has_pending_frames(sc, &sc->tx.txq[i],