Lines Matching refs:IRDMA_RING_CURRENT_HEAD
68 wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_nop_1()
126 sw_sq_head = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_uk_qp_post_wr()
166 if (IRDMA_RING_CURRENT_HEAD(qp->initial_ring) != in irdma_qp_push_wqe()
198 (IRDMA_RING_CURRENT_HEAD(qp->sq_ring) % in irdma_qp_get_next_send_wqe()
210 nop_wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_qp_get_next_send_wqe()
220 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_qp_get_next_send_wqe()
228 (IRDMA_RING_CURRENT_HEAD(qp->sq_ring) & 1)) { in irdma_qp_get_next_send_wqe()
229 wqe_0 = qp->sq_base[IRDMA_RING_CURRENT_HEAD(qp->sq_ring)].elem; in irdma_qp_get_next_send_wqe()
1165 IRDMA_RING_CURRENT_HEAD(cq->cq_ring)); in irdma_uk_cq_poll_cmpl()
1226 if (!IRDMA_RING_CURRENT_HEAD(cq->cq_ring)) in irdma_uk_cq_poll_cmpl()
1231 if (!IRDMA_RING_CURRENT_HEAD(cq->cq_ring)) in irdma_uk_cq_poll_cmpl()
1239 IRDMA_RING_CURRENT_HEAD(cq->cq_ring)); in irdma_uk_cq_poll_cmpl()