Lines Matching refs:cur
1240 ring->cur = 0;
1310 sc->sc_rxq.cur = 0;
1346 ring->cur = 0;
1457 ring->cur = 0;
2134 "cfg_phy_count=%x tail=%x", ring->cur, sizeof (*stat),
2366 while (sc->sc_rxq.cur != index) {
2367 data = &sc->sc_rxq.data[sc->sc_rxq.cur];
2371 " cur = %d qid=%x idx=%d flags=%x type=%x len=%d\n",
2372 index, sc->sc_rxq.cur, desc->hdr.qid, desc->hdr.idx,
2452 sc->sc_rxq.cur = (sc->sc_rxq.cur + 1) % RX_QUEUE_SIZE;
2652 data = &ring->data[ring->cur];
2759 cmd->hdr.idx = ring->cur;
2885 ring->qid, ring->cur, len));
2910 tfd_offset[ring->cur].val = 8 + len;
2911 if (ring->cur < IWK_MAX_WIN_SIZE) {
2913 tfd_offset[IWK_QUEUE_SIZE + ring->cur].val = 8 + len;
2919 ring->cur = (ring->cur + 1) % ring->count;
2920 IWK_WRITE(sc, HBUS_TARG_WRPTR, ring->qid << 8 | ring->cur);
3460 desc = ring->data[ring->cur].desc;
3461 cmd = ring->data[ring->cur].cmd;
3466 cmd->hdr.idx = ring->cur;
3472 (uint32_t)(ring->data[ring->cur].paddr_cmd & 0xffffffff);
3477 tfd_offset[ring->cur].val = 8;
3478 if (ring->cur < IWK_MAX_WIN_SIZE) {
3480 tfd_offset[IWK_QUEUE_SIZE + ring->cur].val = 8;
3482 ring->cur = (ring->cur + 1) % ring->count;
3483 IWK_WRITE(sc, HBUS_TARG_WRPTR, ring->qid << 8 | ring->cur);
3654 data = &ring->data[ring->cur];
3661 cmd->hdr.idx = ring->cur | 0x40;
3789 tfd_offset[ring->cur].val = 8;
3790 if (ring->cur < IWK_MAX_WIN_SIZE) {
3792 tfd_offset[IWK_QUEUE_SIZE + ring->cur].val = 8;
3796 ring->cur = (ring->cur + 1) % ring->count;
3797 IWK_WRITE(sc, HBUS_TARG_WRPTR, ring->qid << 8 | ring->cur);