Lines Matching refs:txcmp

2420 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp)  in bnxt_hwrm_handler()  argument
2422 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler()
2423 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler()
2425 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()
2450 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_hwrm_handler()
2477 struct tx_cmp *txcmp; in bnxt_has_work() local
2479 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_has_work()
2481 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2521 struct tx_cmp *txcmp; in __bnxt_poll_work() local
2529 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in __bnxt_poll_work()
2531 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()
2538 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_TX_L2_CMP) { in __bnxt_poll_work()
2548 } else if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) { in __bnxt_poll_work()
2565 } else if (unlikely((TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2567 (TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2569 (TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2571 bnxt_hwrm_handler(bp, txcmp); in __bnxt_poll_work()
2644 struct tx_cmp *txcmp; in bnxt_poll_nitroa0() local
2655 txcmp = &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_poll_nitroa0()
2657 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
2664 if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) { in bnxt_poll_nitroa0()
2682 } else if (unlikely(TX_CMP_TYPE(txcmp) == in bnxt_poll_nitroa0()
2684 bnxt_hwrm_handler(bp, txcmp); in bnxt_poll_nitroa0()