Searched refs:txcmp (Results 1 – 2 of 2) sorted by relevance
191 #define TX_CMP_SQ_CONS_IDX(txcmp) \ argument192 (le32_to_cpu((txcmp)->sq_cons_idx) & TX_CMP_SQ_CONS_IDX_MASK)839 #define TX_CMP_VALID(txcmp, raw_cons) \ argument840 (!!((txcmp)->tx_cmp_errors_v & cpu_to_le32(TX_CMP_V)) == \854 #define TX_CMP_TYPE(txcmp) \ argument855 (le32_to_cpu((txcmp)->tx_cmp_flags_type) & CMP_TYPE)
2933 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) in bnxt_hwrm_handler() argument2935 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler()2936 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler()2938 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()2962 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_hwrm_handler()2996 struct tx_cmp *txcmp; in bnxt_has_work() local2998 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_has_work()3000 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()3012 struct tx_cmp *txcmp; in __bnxt_poll_work() local3021 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in __bnxt_poll_work()[all …]