Home
last modified time | relevance | path

Searched refs:IRDMA_RING_CURRENT_HEAD (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/irdma/
Duk.c68 wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_nop_1()
128 sw_sq_head = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_uk_qp_post_wr()
164 (IRDMA_RING_CURRENT_HEAD(qp->sq_ring) % in irdma_qp_get_next_send_wqe()
182 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_qp_get_next_send_wqe()
190 (IRDMA_RING_CURRENT_HEAD(qp->sq_ring) & 1)) { in irdma_qp_get_next_send_wqe()
191 wqe_0 = qp->sq_base[IRDMA_RING_CURRENT_HEAD(qp->sq_ring)].elem; in irdma_qp_get_next_send_wqe()
1132 IRDMA_RING_CURRENT_HEAD(cq->cq_ring)); in irdma_uk_cq_poll_cmpl()
1189 if (!IRDMA_RING_CURRENT_HEAD(cq->cq_ring)) in irdma_uk_cq_poll_cmpl()
1194 if (!IRDMA_RING_CURRENT_HEAD(cq->cq_ring)) in irdma_uk_cq_poll_cmpl()
1202 IRDMA_RING_CURRENT_HEAD(cq->cq_ring)); in irdma_uk_cq_poll_cmpl()
Ddefs.h944 (_cq)->cq_base[IRDMA_RING_CURRENT_HEAD((_cq)->cq_ring)].buf \
949 ((_cq)->cq_base))[IRDMA_RING_CURRENT_HEAD((_cq)->cq_ring)].buf \
959 #define IRDMA_RING_CURRENT_HEAD(_ring) ((_ring).head) macro
1071 index = IRDMA_RING_CURRENT_HEAD(_ring); \
Dpuda.c196 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_puda_get_next_send_wqe()
253 if (!IRDMA_RING_CURRENT_HEAD(cq_uk->cq_ring)) in irdma_puda_poll_info()
410 if (!IRDMA_RING_CURRENT_HEAD(cq_uk->cq_ring)) in irdma_puda_poll_cmpl()
415 IRDMA_RING_CURRENT_HEAD(cq_uk->cq_ring)); in irdma_puda_poll_cmpl()
Dctrl.c3246 writel(IRDMA_RING_CURRENT_HEAD(cqp->sq_ring), cqp->dev->cqp_db); in irdma_sc_cqp_post_sq()
3392 if (!IRDMA_RING_CURRENT_HEAD(ccq->cq_uk.cq_ring)) in irdma_sc_ccq_get_cqe_info()
3398 IRDMA_RING_CURRENT_HEAD(ccq->cq_uk.cq_ring)); in irdma_sc_ccq_get_cqe_info()