Lines Matching refs:sw_cons

239 	u32 sw_cons, raw_cons;  in clean_nq()  local
247 sw_cons = HWQ_CMP(raw_cons, hwq); in clean_nq()
249 nqe = &nq_ptr[NQE_PG(sw_cons)][NQE_IDX(sw_cons)]; in clean_nq()
306 u32 sw_cons, raw_cons; in bnxt_qplib_service_nq() local
315 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_nq()
316 nqe = bnxt_qplib_get_qe(hwq, sw_cons, NULL); in bnxt_qplib_service_nq()
393 u32 sw_cons; in bnxt_qplib_nq_irq() local
396 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_nq_irq()
397 prefetch(bnxt_qplib_get_qe(hwq, sw_cons, NULL)); in bnxt_qplib_nq_irq()
680 u32 sw_prod, sw_cons, count = 0; in bnxt_qplib_modify_srq() local
683 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_modify_srq()
685 count = sw_prod > sw_cons ? sw_prod - sw_cons : in bnxt_qplib_modify_srq()
686 srq_hwq->max_elements - sw_cons + sw_prod; in bnxt_qplib_modify_srq()
731 u32 sw_prod, sw_cons, count = 0; in bnxt_qplib_post_srq_recv() local
771 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_post_srq_recv()
772 count = sw_prod > sw_cons ? sw_prod - sw_cons : in bnxt_qplib_post_srq_recv()
773 srq_hwq->max_elements - sw_cons + sw_prod; in bnxt_qplib_post_srq_recv()
2600 u32 sw_cons, raw_cons; in bnxt_qplib_is_cq_empty() local
2604 sw_cons = HWQ_CMP(raw_cons, &cq->hwq); in bnxt_qplib_is_cq_empty()
2605 hw_cqe = bnxt_qplib_get_qe(&cq->hwq, sw_cons, NULL); in bnxt_qplib_is_cq_empty()
2851 u32 sw_cons, raw_cons; in bnxt_qplib_poll_cq() local
2858 sw_cons = HWQ_CMP(raw_cons, &cq->hwq); in bnxt_qplib_poll_cq()
2859 hw_cqe = bnxt_qplib_get_qe(&cq->hwq, sw_cons, NULL); in bnxt_qplib_poll_cq()
2876 sw_cons, lib_qp); in bnxt_qplib_poll_cq()