Searched refs:txcmp (Results 1 – 3 of 3) sorted by relevance
193 #define TX_CMP_SQ_CONS_IDX(txcmp) \ argument194 (le32_to_cpu((txcmp)->sq_cons_idx) & TX_CMP_SQ_CONS_IDX_MASK)843 #define TX_CMP_VALID(txcmp, raw_cons) \ argument844 (!!((txcmp)->tx_cmp_errors_v & cpu_to_le32(TX_CMP_V)) == \858 #define TX_CMP_TYPE(txcmp) \ argument859 (le32_to_cpu((txcmp)->tx_cmp_flags_type) & CMP_TYPE)
3018 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) in bnxt_hwrm_handler() 3020 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler() 3021 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler() 3023 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler() 3047 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_msix() 3081 struct tx_cmp *txcmp; in __bnxt_poll_work() 3083 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in __bnxt_poll_work() 3085 return TX_CMP_VALID(txcmp, raw_cons); in __bnxt_poll_work() 3097 struct tx_cmp *txcmp; in __bnxt_poll_work() 3106 txcmp in __bnxt_poll_work() 2998 bnxt_hwrm_handler(struct bnxt * bp,struct tx_cmp * txcmp) bnxt_hwrm_handler() argument 3061 struct tx_cmp *txcmp; bnxt_has_work() local 3077 struct tx_cmp *txcmp; __bnxt_poll_work() local 3218 struct tx_cmp *txcmp; bnxt_poll_nitroa0() local [all...]
5130 struct tx_cmp *txcmp; in bnxt_poll_loopback() 5139 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_loopback() 5141 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback() 5150 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_CMP || in bnxt_poll_loopback() 5151 TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_V3_CMP) { in bnxt_poll_loopback() 5129 struct tx_cmp *txcmp; bnxt_poll_loopback() local