Lines Matching refs:IRDMA_RING_CURRENT_HEAD
69 wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_nop_1()
127 sw_sq_head = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_uk_qp_post_wr()
167 if (IRDMA_RING_CURRENT_HEAD(qp->initial_ring) != in irdma_qp_push_wqe()
199 (IRDMA_RING_CURRENT_HEAD(qp->sq_ring) % in irdma_qp_get_next_send_wqe()
211 nop_wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_qp_get_next_send_wqe()
221 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_qp_get_next_send_wqe()
229 (IRDMA_RING_CURRENT_HEAD(qp->sq_ring) & 1)) { in irdma_qp_get_next_send_wqe()
230 wqe_0 = qp->sq_base[IRDMA_RING_CURRENT_HEAD(qp->sq_ring)].elem; in irdma_qp_get_next_send_wqe()
1169 IRDMA_RING_CURRENT_HEAD(cq->cq_ring)); in irdma_uk_cq_poll_cmpl()
1229 if (!IRDMA_RING_CURRENT_HEAD(cq->cq_ring)) in irdma_uk_cq_poll_cmpl()
1234 if (!IRDMA_RING_CURRENT_HEAD(cq->cq_ring)) in irdma_uk_cq_poll_cmpl()
1242 IRDMA_RING_CURRENT_HEAD(cq->cq_ring)); in irdma_uk_cq_poll_cmpl()