Lines Matching refs:HWQ_CMP
253 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_nq()
331 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_nq_irq()
501 srq->threshold : HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_arm_srq()
617 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_modify_srq()
618 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_modify_srq()
681 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv()
702 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv()
707 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_post_srq_recv()
1465 sw_prod = HWQ_CMP(sq->hwq.prod, &sq->hwq); in bnxt_qplib_get_qp1_sq_buf()
1479 return HWQ_CMP(rq->hwq.prod, &rq->hwq); in bnxt_qplib_get_rq_prod_index()
1496 sw_prod = HWQ_CMP(rq->hwq.prod, &rq->hwq); in bnxt_qplib_get_qp1_rq_buf()
1515 sw_prod = HWQ_CMP(sq->hwq.prod, &sq->hwq); in bnxt_qplib_post_send_db()
1553 sw_prod = HWQ_CMP(sq->hwq.prod, &sq->hwq); in bnxt_qplib_post_send()
1778 sw_prod = HWQ_CMP(sq->hwq.prod, &sq->hwq); in bnxt_qplib_post_send()
1816 sw_prod = HWQ_CMP(rq->hwq.prod, &rq->hwq); in bnxt_qplib_post_recv_db()
1845 sw_prod = HWQ_CMP(rq->hwq.prod, &rq->hwq); in bnxt_qplib_post_recv()
1876 sw_prod = HWQ_CMP(rq->hwq.prod, &rq->hwq); in bnxt_qplib_post_recv()
1921 sw_cons = HWQ_CMP(cq_hwq->cons, cq_hwq); in bnxt_qplib_arm_cq()
2023 sw_prod = HWQ_CMP(sq->hwq.prod, &sq->hwq); in __flush_sq()
2026 sw_cons = HWQ_CMP(sq->hwq.cons, &sq->hwq); in __flush_sq()
2048 if (!(*budget) && HWQ_CMP(sq->hwq.cons, &sq->hwq) != sw_prod) in __flush_sq()
2077 sw_prod = HWQ_CMP(rq->hwq.prod, &rq->hwq); in __flush_rq()
2080 sw_cons = HWQ_CMP(rq->hwq.cons, &rq->hwq); in __flush_rq()
2094 if (!*budget && HWQ_CMP(rq->hwq.cons, &rq->hwq) != sw_prod) in __flush_rq()
2155 peek_sw_cq_cons = HWQ_CMP((peek_sw_cq_cons), &cq->hwq); in do_wa9060()
2178 peek_sq_cons_idx = HWQ_CMP(le16_to_cpu( in do_wa9060()
2236 cqe_sq_cons = HWQ_CMP(le16_to_cpu(hwcqe->sq_cons_idx), &sq->hwq); in bnxt_qplib_cq_process_req()
2255 sw_sq_cons = HWQ_CMP(sq->hwq.cons, &sq->hwq); in bnxt_qplib_cq_process_req()
2274 if (HWQ_CMP((sw_sq_cons + 1), &sq->hwq) == cqe_sq_cons && in bnxt_qplib_cq_process_req()
2305 if (HWQ_CMP(sq->hwq.cons, &sq->hwq) != cqe_sq_cons) { in bnxt_qplib_cq_process_req()
2492 sw_cons = HWQ_CMP(raw_cons, &cq->hwq); in bnxt_qplib_is_cq_empty()
2643 sw_cons = HWQ_CMP(sq->hwq.cons, &sq->hwq); in bnxt_qplib_cq_process_terminal()
2747 sw_cons = HWQ_CMP(raw_cons, &cq->hwq); in bnxt_qplib_poll_cq()