Home
last modified time | relevance | path

Searched refs:npend (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Dmac.c67 u32 npend; in ath9k_hw_numtxpending() local
69 npend = REG_READ(ah, AR_QSTS(q)) & AR_Q_STS_PEND_FR_CNT; in ath9k_hw_numtxpending()
70 if (npend == 0) { in ath9k_hw_numtxpending()
73 npend = 1; in ath9k_hw_numtxpending()
76 return npend; in ath9k_hw_numtxpending()
Dxmit.c1788 u32 npend = 0; in ath_drain_all_txq() local
1804 npend |= BIT(i); in ath_drain_all_txq()
1807 if (npend) in ath_drain_all_txq()
1808 ath_err(common, "Failed to stop TX DMA, queues=0x%03x!\n", npend); in ath_drain_all_txq()
1824 return !npend; in ath_drain_all_txq()
Dmain.c1974 int i, npend = 0; in ath9k_has_tx_pending() local
1980 npend = ath9k_has_pending_frames(sc, &sc->tx.txq[i]); in ath9k_has_tx_pending()
1981 if (npend) in ath9k_has_tx_pending()
1985 return !!npend; in ath9k_has_tx_pending()
Dhw.c1227 int i, npend = 0; in ath9k_hw_ar9330_reset_war() local
1230 npend = ath9k_hw_numtxpending(ah, i); in ath9k_hw_ar9330_reset_war()
1231 if (npend) in ath9k_hw_ar9330_reset_war()
1236 (npend || type == ATH9K_RESET_COLD)) { in ath9k_hw_ar9330_reset_war()