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()
1875 u32 npend = 0; in ath_drain_all_txq() local1891 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()
2154 int i, npend = 0; in ath9k_has_tx_pending() local2160 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()
1322 int i, npend = 0; in ath9k_hw_ar9330_reset_war() local1325 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()