Lines Matching refs:txcmp
1230 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) in bnxt_hwrm_handler() argument
1232 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler()
1233 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler()
1235 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()
1263 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_hwrm_handler()
1288 struct tx_cmp *txcmp; in bnxt_has_work() local
1290 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_has_work()
1292 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
1332 struct tx_cmp *txcmp; in bnxt_poll_work() local
1338 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_work()
1340 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_work()
1343 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_TX_L2_CMP) { in bnxt_poll_work()
1348 } else if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) { in bnxt_poll_work()
1355 } else if (unlikely((TX_CMP_TYPE(txcmp) == in bnxt_poll_work()
1357 (TX_CMP_TYPE(txcmp) == in bnxt_poll_work()
1359 (TX_CMP_TYPE(txcmp) == in bnxt_poll_work()
1361 bnxt_hwrm_handler(bp, txcmp); in bnxt_poll_work()