Searched refs:npend (Results 1 – 2 of 2) 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()
2150 int i, npend = 0; in ath9k_has_tx_pending() local2156 npend = ath9k_has_pending_frames(sc, &sc->tx.txq[i], in ath9k_has_tx_pending()2158 if (npend) in ath9k_has_tx_pending()2162 return !!npend; in ath9k_has_tx_pending()