Home | History | Annotate | Download | only in ic

Lines Matching defs:qid

385 	int qid;
391 for (qid = 0; qid < ATHN_QID_COUNT; qid++)
392 athn_tx_reclaim(sc, qid);
914 int error, qid;
917 for (qid = 0; qid < ATHN_QID_COUNT; qid++)
918 if (athn_tx_pending(sc, qid))
954 int error, qid;
960 for (qid = 0; qid < ATHN_QID_COUNT; qid++)
961 athn_stop_tx_dma(sc, qid);
962 for (qid = 0; qid < ATHN_QID_COUNT; qid++)
963 athn_tx_reclaim(sc, qid);
1811 athn_tx_reclaim(struct athn_softc *sc, int qid)
1813 struct athn_txq *txq = &sc->sc_txq[qid];
1834 athn_tx_pending(struct athn_softc *sc, int qid)
1837 return MS(AR_READ(sc, AR_QSTS(qid)), AR_Q_STS_PEND_FR_CNT) != 0 ||
1838 (AR_READ(sc, AR_Q_TXE) & (1 << qid)) != 0;
1842 athn_stop_tx_dma(struct athn_softc *sc, int qid)
1847 AR_WRITE(sc, AR_Q_TXD, 1 << qid);
1849 if (!athn_tx_pending(sc, qid))
1871 if (!athn_tx_pending(sc, qid))
1908 int qid;
1910 for (qid = 0; qid < ATHN_QID_COUNT; qid++) {
1911 SIMPLEQ_INIT(&sc->sc_txq[qid].head);
1912 sc->sc_txq[qid].lastds = NULL;
1913 sc->sc_txq[qid].wait = NULL;
1914 sc->sc_txq[qid].queued = 0;
1916 AR_WRITE(sc, AR_DRETRY_LIMIT(qid),
1920 AR_WRITE(sc, AR_QMISC(qid),
1922 AR_WRITE(sc, AR_DMISC(qid),
2572 int aci, qid;
2576 qid = athn_ac2qid[aci];
2578 AR_WRITE(sc, AR_DLCL_IFS(qid),
2583 AR_WRITE(sc, AR_DCHNTIME(qid),
2588 AR_WRITE(sc, AR_DCHNTIME(qid), 0);
2946 int qid;
2969 for (qid = 0; qid < ATHN_QID_COUNT; qid++)
2970 athn_stop_tx_dma(sc, qid);
2972 for (qid = 0; qid < ATHN_QID_COUNT; qid++)
2973 athn_tx_reclaim(sc, qid);