Lines Matching refs:txcmp

2298 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp)  in bnxt_hwrm_handler()  argument
2300 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler()
2301 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler()
2303 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()
2328 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_hwrm_handler()
2355 struct tx_cmp *txcmp; in bnxt_has_work() local
2357 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_has_work()
2359 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2399 struct tx_cmp *txcmp; in __bnxt_poll_work() local
2407 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in __bnxt_poll_work()
2409 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()
2416 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_TX_L2_CMP) { in __bnxt_poll_work()
2426 } else if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) { in __bnxt_poll_work()
2443 } else if (unlikely((TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2445 (TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2447 (TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2449 bnxt_hwrm_handler(bp, txcmp); in __bnxt_poll_work()
2519 struct tx_cmp *txcmp; in bnxt_poll_nitroa0() local
2530 txcmp = &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_poll_nitroa0()
2532 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
2539 if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) { in bnxt_poll_nitroa0()
2557 } else if (unlikely(TX_CMP_TYPE(txcmp) == in bnxt_poll_nitroa0()
2559 bnxt_hwrm_handler(bp, txcmp); in bnxt_poll_nitroa0()