Home
last modified time | relevance | path

Searched refs:sw_prod (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/bnxt/bnxt_re/
H A Dqplib_fp.c1683 u32 sw_prod; in bnxt_qplib_get_qp1_sq_buf() local
1689 sw_prod = sq->swq_start; in bnxt_qplib_get_qp1_sq_buf()
1690 sge->addr = (dma_addr_t)(buf->dma_map + sw_prod * buf->step); in bnxt_qplib_get_qp1_sq_buf()
1693 return buf->va + sw_prod * sge->size; in bnxt_qplib_get_qp1_sq_buf()
1710 u32 sw_prod; in bnxt_qplib_get_qp1_rq_buf() local
1716 sw_prod = rq->swq_start; in bnxt_qplib_get_qp1_rq_buf()
1717 sge->addr = (dma_addr_t)(buf->dma_map + sw_prod * buf->step); in bnxt_qplib_get_qp1_rq_buf()
1720 return buf->va + sw_prod * sge->size; in bnxt_qplib_get_qp1_rq_buf()
1803 u32 *sw_prod) in bnxt_qplib_put_inline() argument
1824 il_dst = bnxt_qplib_get_qe(sq_hwq, ((*sw_prod) % in bnxt_qplib_put_inline()
[all …]
H A Dqplib_rcfw.c245 u32 sw_prod, cmdq_prod, bsize; in __send_message_no_waiter() local
267 sw_prod = HWQ_CMP(cmdq_hwq->prod, cmdq_hwq); in __send_message_no_waiter()
268 cmdqe = bnxt_qplib_get_qe(cmdq_hwq, sw_prod, NULL); in __send_message_no_waiter()
294 u32 sw_prod, cmdq_prod; in __send_message() local
360 sw_prod = HWQ_CMP(cmdq_hwq->prod, cmdq_hwq); in __send_message()
361 cmdqe = bnxt_qplib_get_qe(cmdq_hwq, sw_prod, NULL); in __send_message()
/freebsd/sys/dev/bxe/
H A Dbxe.c8448 uint16_t hw_cons, sw_cons, sw_prod; in bxe_eq_int() local
8475 sw_prod = sc->eq_prod; in bxe_eq_int()
8482 sw_prod = NEXT_EQ_IDX(sw_prod), sw_cons = NEXT_EQ_IDX(sw_cons)) { in bxe_eq_int()
8609 sc->eq_prod = sw_prod; in bxe_eq_int()