Lines Matching refs:txcmp

2397 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp)  in bnxt_hwrm_handler()  argument
2399 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler()
2400 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler()
2402 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()
2426 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_hwrm_handler()
2453 struct tx_cmp *txcmp; in bnxt_has_work() local
2455 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_has_work()
2457 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2497 struct tx_cmp *txcmp; in __bnxt_poll_work() local
2505 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in __bnxt_poll_work()
2507 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()
2514 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_TX_L2_CMP) { in __bnxt_poll_work()
2524 } else if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) { in __bnxt_poll_work()
2541 } else if (unlikely((TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2543 (TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2545 (TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2547 bnxt_hwrm_handler(bp, txcmp); in __bnxt_poll_work()
2619 struct tx_cmp *txcmp; in bnxt_poll_nitroa0() local
2631 txcmp = &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_poll_nitroa0()
2633 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
2640 if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) { in bnxt_poll_nitroa0()
2660 } else if (unlikely(TX_CMP_TYPE(txcmp) == in bnxt_poll_nitroa0()
2662 bnxt_hwrm_handler(bp, txcmp); in bnxt_poll_nitroa0()