Searched refs:prod_index (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/dev/qcom_ess_edma/ |
H A D | qcom_ess_edma_rx.c | 261 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 D | cq.c | 717 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 D | mthca_cq.c | 282 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 D | mlx4_ib_cq.c | 915 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 D | cq.c | 1365 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 D | mlx5_ib_cq.c | 1038 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 D | ecore_int_api.h | 91 prod = OSAL_LE32_TO_CPU(sb_info->sb_virt->prod_index) & in ecore_sb_update_sb_idx()
|
H A D | common_hsi.h | 1325 __le32 prod_index; member 1345 __le32 prod_index; member
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_hw.h | 1119 uint32_t prod_index; member
|
H A D | ql_hw.c | 3418 hw_tx_cntxt->tx_prod_reg = tcntxt_rsp->tx_ring[0].prod_index; in qla_init_xmt_cntxt_i()
|