Lines Matching refs:txcmp
2792 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) in bnxt_hwrm_handler() argument
2794 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler()
2795 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler()
2797 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()
2821 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_hwrm_handler()
2848 struct tx_cmp *txcmp; in bnxt_has_work() local
2850 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_has_work()
2852 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2863 struct tx_cmp *txcmp; in __bnxt_poll_work() local
2872 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in __bnxt_poll_work()
2874 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()
2881 cmp_type = TX_CMP_TYPE(txcmp); in __bnxt_poll_work()
2884 u32 opaque = txcmp->tx_cmp_opaque; in __bnxt_poll_work()
2891 txr->tx_hw_cons = TX_CMP_SQ_CONS_IDX(txcmp); in __bnxt_poll_work()
2905 bnxt_tx_ts_cmp(bp, bnapi, (struct tx_ts_cmp *)txcmp); in __bnxt_poll_work()
2927 bnxt_hwrm_handler(bp, txcmp); in __bnxt_poll_work()
3002 struct tx_cmp *txcmp; in bnxt_poll_nitroa0() local
3014 txcmp = &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_poll_nitroa0()
3016 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
3023 if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) { in bnxt_poll_nitroa0()
3043 } else if (unlikely(TX_CMP_TYPE(txcmp) == in bnxt_poll_nitroa0()
3045 bnxt_hwrm_handler(bp, txcmp); in bnxt_poll_nitroa0()