Lines Matching refs:txcmp
1767 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) in bnxt_hwrm_handler() argument
1769 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler()
1770 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler()
1772 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()
1800 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_hwrm_handler()
1826 struct tx_cmp *txcmp; in bnxt_has_work() local
1828 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_has_work()
1830 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
1869 struct tx_cmp *txcmp; in bnxt_poll_work() local
1875 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_work()
1877 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_work()
1884 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_TX_L2_CMP) { in bnxt_poll_work()
1892 } else if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) { in bnxt_poll_work()
1909 } else if (unlikely((TX_CMP_TYPE(txcmp) == in bnxt_poll_work()
1911 (TX_CMP_TYPE(txcmp) == in bnxt_poll_work()
1913 (TX_CMP_TYPE(txcmp) == in bnxt_poll_work()
1915 bnxt_hwrm_handler(bp, txcmp); in bnxt_poll_work()
1961 struct tx_cmp *txcmp; in bnxt_poll_nitroa0() local
1972 txcmp = &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_poll_nitroa0()
1974 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
1977 if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) { in bnxt_poll_nitroa0()
1995 } else if (unlikely(TX_CMP_TYPE(txcmp) == in bnxt_poll_nitroa0()
1997 bnxt_hwrm_handler(bp, txcmp); in bnxt_poll_nitroa0()