Lines Matching refs:cq_head
529 qp->cq_head = idx;
532 DPRINTF(sc->dev, "%s: wrote sw head:%u\n", __func__, qp->cq_head);
562 qp->cq_head);
564 while (qp->cq_head != idx) {
565 DPRINTF(sc->dev, "%s: completing:%u\n", __func__, qp->cq_head);
567 cctx = &qp->completions_ring[qp->cq_head];
575 memset(&qp->desc_ring[qp->cq_head], 0,
576 sizeof(qp->desc_ring[qp->cq_head]));
578 qp->cq_head = (qp->cq_head + 1) % (1 << sc->ring_size_order);
586 DPRINTF(sc->dev, "%s: wrote sw head:%u\n", __func__, qp->cq_head);