Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c1875 u32 npend = 0; in ath_drain_all_txq() local
1891 npend |= BIT(i); in ath_drain_all_txq()
1894 if (npend) { in ath_drain_all_txq()
1897 "Failed to stop TX DMA, queues=0x%03x!\n", npend); in ath_drain_all_txq()
1908 return !npend; in ath_drain_all_txq()
Dmain.c2154 int i, npend = 0; in ath9k_has_tx_pending() local
2160 npend = ath9k_has_pending_frames(sc, &sc->tx.txq[i], in ath9k_has_tx_pending()
2162 if (npend) in ath9k_has_tx_pending()
2166 return !!npend; in ath9k_has_tx_pending()
Dhw.c1322 int i, npend = 0; in ath9k_hw_ar9330_reset_war() local
1325 npend = ath9k_hw_numtxpending(ah, i); in ath9k_hw_ar9330_reset_war()
1326 if (npend) in ath9k_hw_ar9330_reset_war()
1331 (npend || type == ATH9K_RESET_COLD)) { in ath9k_hw_ar9330_reset_war()