Home | History | Annotate | Download | only in ic

Lines Matching defs:qid

223 	int qid, ntries, error;
269 for (qid = 0; qid < MAXQS; qid++) {
270 if ((error = rt2860_alloc_tx_ring(sc, &sc->txq[qid])) != 0) {
272 "could not allocate Tx ring %d\n", qid);
296 fail1: while (--qid >= 0)
297 rt2860_free_tx_ring(sc, &sc->txq[qid]);
452 int qid;
461 for (qid = 0; qid < MAXQS; qid++)
462 rt2860_free_tx_ring(sc, &sc->txq[qid]);
1257 rt2860_tx_intr(struct rt2860_softc *sc, int qid)
1260 struct rt2860_tx_ring *ring = &sc->txq[qid];
1268 hw = RAL_READ(sc, RT2860_TX_DTX_IDX(qid));
1293 sc->qfullmsk &= ~(1 << qid);
1637 uint8_t type, qsel, mcs, pid, tid, qid;
1664 qid = TID_TO_WME_AC(tid);
1668 qid = (type == IEEE80211_FC0_TYPE_MGT) ?
1671 KASSERT(qid < MAXQS);
1672 ring = &sc->txq[qid];
1753 tap->wt_hwqueue = qid;
1791 qsel = (qid < WME_NUM_AC) ? RT2860_TX_QSEL_EDCA : RT2860_TX_QSEL_MGMT;
1836 DPRINTFN(4, ("sending frame qid=%d wcid=%d nsegs=%d ridx=%d\n",
1837 qid, txwi->wcid, data->map->dm_nsegs, ridx));
1842 sc->qfullmsk |= 1 << qid;
1845 RAL_WRITE(sc, RT2860_TX_CTX_IDX(qid), ring->cur);
3748 int i, qid, ridx, ntries, error;
3895 for (qid = 0; qid < MAXQS; qid++) {
3896 RAL_WRITE(sc, RT2860_TX_BASE_PTR(qid), sc->txq[qid].paddr);
3897 RAL_WRITE(sc, RT2860_TX_MAX_CNT(qid), RT2860_TX_RING_COUNT);
3898 RAL_WRITE(sc, RT2860_TX_CTX_IDX(qid), 0);
4035 int qid;
4065 for (qid = 0; qid < MAXQS; qid++)
4066 rt2860_reset_tx_ring(sc, &sc->txq[qid]);