Home
last modified time | relevance | path

Searched refs:prod_index (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/dev/qcom_ess_edma/
H A Dqcom_ess_edma_rx.c261 int prod_index; in qcom_ess_edma_rx_ring_fill() local
298 prod_index = ring->ring_count - 1; in qcom_ess_edma_rx_ring_fill()
300 prod_index = idx - 1; in qcom_ess_edma_rx_ring_fill()
301 (void) qcom_ess_edma_hw_rfd_prod_index_update(sc, queue, prod_index); in qcom_ess_edma_rx_ring_fill()
305 __func__, queue, n, prod_index); in qcom_ess_edma_rx_ring_fill()
/freebsd/contrib/ofed/libmlx4/
H A Dcq.c717 uint32_t prod_index; in __mlx4_cq_clean() local
729 for (prod_index = cq->cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx4_cq_clean()
730 if (prod_index == cq->cons_index + cq->ibv_cq.cqe) in __mlx4_cq_clean()
737 while ((int) --prod_index - (int) cq->cons_index >= 0) { in __mlx4_cq_clean()
738 cqe = get_cqe(cq, prod_index & cq->ibv_cq.cqe); in __mlx4_cq_clean()
750 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibv_cq.cqe); in __mlx4_cq_clean()
/freebsd/sys/dev/mthca/
H A Dmthca_cq.c282 u32 prod_index; in mthca_cq_clean() local
294 for (prod_index = cq->cons_index; in mthca_cq_clean()
295 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe)); in mthca_cq_clean()
296 ++prod_index) in mthca_cq_clean()
297 if (prod_index == cq->cons_index + cq->ibcq.cqe) in mthca_cq_clean()
302 qpn, cq->cqn, cq->cons_index, prod_index); in mthca_cq_clean()
308 while ((int) --prod_index - (int) cq->cons_index >= 0) { in mthca_cq_clean()
309 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in mthca_cq_clean()
315 memcpy(get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe), in mthca_cq_clean()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cq.c915 u32 prod_index; in __mlx4_ib_cq_clean() local
928 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx4_ib_cq_clean()
929 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx4_ib_cq_clean()
936 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx4_ib_cq_clean()
937 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
945 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
/freebsd/contrib/ofed/libmlx5/
H A Dcq.c1365 uint32_t prod_index; in __mlx5_cq_clean() local
1382 for (prod_index = cq->cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx5_cq_clean()
1383 if (prod_index == cq->cons_index + cq->ibv_cq.cqe) in __mlx5_cq_clean()
1391 while ((int) --prod_index - (int) cq->cons_index >= 0) { in __mlx5_cq_clean()
1392 cqe = get_cqe(cq, prod_index & cq->ibv_cq.cqe); in __mlx5_cq_clean()
1397 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibv_cq.cqe); in __mlx5_cq_clean()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c1038 u32 prod_index; in __mlx5_ib_cq_clean() local
1051 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); prod_index++) in __mlx5_ib_cq_clean()
1052 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx5_ib_cq_clean()
1058 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx5_ib_cq_clean()
1059 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
1066 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_int_api.h91 prod = OSAL_LE32_TO_CPU(sb_info->sb_virt->prod_index) & in ecore_sb_update_sb_idx()
H A Dcommon_hsi.h1325 __le32 prod_index; member
1345 __le32 prod_index; member
/freebsd/sys/dev/qlxgbe/
H A Dql_hw.h1119 uint32_t prod_index; member
H A Dql_hw.c3418 hw_tx_cntxt->tx_prod_reg = tcntxt_rsp->tx_ring[0].prod_index; in qla_init_xmt_cntxt_i()