Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath9k/
H A 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()
H A Dxmit.c1939 u32 npend = 0; in ath_drain_all_txq() local
1955 npend |= BIT(i); in ath_drain_all_txq()
1958 if (npend) { in ath_drain_all_txq()
1961 "Failed to stop TX DMA, queues=0x%03x!\n", npend); in ath_drain_all_txq()
1972 return !npend; in ath_drain_all_txq()
H A Dmain.c2149 int i, npend = 0; in ath9k_has_tx_pending() local
2155 npend = ath9k_has_pending_frames(sc, &sc->tx.txq[i], in ath9k_has_tx_pending()
2157 if (npend) in ath9k_has_tx_pending()
2161 return !!npend; in ath9k_has_tx_pending()
H A Dhw.c1321 int i, npend = 0; in ath9k_hw_ar9330_reset_war() local
1324 npend = ath9k_hw_numtxpending(ah, i); in ath9k_hw_ar9330_reset_war()
1325 if (npend) in ath9k_hw_ar9330_reset_war()
1330 (npend || type == ATH9K_RESET_COLD)) { in ath9k_hw_ar9330_reset_war()