Lines Matching refs:qid
681 uint8_t qid;
708 for (qid = 0; qid < WPI_DRV_NTXQUEUES; qid++)
709 wpi_free_tx_ring(sc, &sc->txq[qid]);
1153 wpi_alloc_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring, uint8_t qid)
1159 ring->qid = qid;
1179 sc->shared->txbase[qid] = htole32(ring->desc_dma.paddr);
1231 WPI_WRITE(sc, WPI_HBUS_TARG_WRPTR, ring->qid << 8 | ring->cur);
1246 __func__, ring->qid);
2054 struct wpi_tx_ring *ring = &sc->txq[desc->qid & 0x3];
2067 "qid %d idx %d retries %d btkillcnt %d rate %x duration %d "
2068 "status %x\n", __func__, desc->qid, desc->idx, stat->ackfailcnt,
2131 DPRINTF(sc, WPI_DEBUG_CMD, "cmd notification qid %x idx %d flags %x "
2132 "type %s len %d\n", desc->qid, desc->idx,
2136 if ((desc->qid & WPI_RX_DESC_QID_MSK) != WPI_CMD_QUEUE_NUM)
2197 "%s: cur=%d; qid %x idx %d flags %x type %d(%s) len %d\n",
2198 __func__, sc->rxq.cur, desc->qid, desc->idx, desc->flags,
2201 if (!(desc->qid & WPI_UNSOLICITED_RX_NOTIF)) {
2379 int qid;
2390 for (qid = 0; qid < WPI_DRV_NTXQUEUES; qid++) {
2391 struct wpi_tx_ring *ring = &sc->txq[qid];
2521 printf(" tx ring %2d: qid=%-2d cur=%-3d queued=%-3d\n",
2522 i, ring->qid, ring->cur, ring->queued);
2674 cmd->qid = ring->qid;
2712 if (ring->qid < WPI_CMD_QUEUE_NUM) {
2732 DPRINTF(sc, WPI_DEBUG_XMIT, "%s: qid %d idx %d len %d nsegs %d\n",
2733 __func__, ring->qid, cur, totlen, nsegs);
2757 if (ring->qid < WPI_CMD_QUEUE_NUM) {
3291 cmd->qid = ring->qid;
5363 uint8_t chnl, qid;
5403 for (qid = 0; qid < WPI_DRV_NTXQUEUES; qid++)
5404 wpi_reset_tx_ring(sc, &sc->txq[qid]);