Searched refs:npend (Results 1 – 4 of 4) sorted by relevance
67 u32 npend; in ath9k_hw_numtxpending() local69 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()
1939 u32 npend = 0; in ath_drain_all_txq() local1955 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()
2149 int i, npend = 0; in ath9k_has_tx_pending() local2155 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()
1321 int i, npend = 0; in ath9k_hw_ar9330_reset_war() local1324 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()