Searched refs:txcmp (Results 1 – 3 of 3) sorted by relevance
190 #define TX_CMP_SQ_CONS_IDX(txcmp) \ argument191 (le32_to_cpu((txcmp)->sq_cons_idx) & TX_CMP_SQ_CONS_IDX_MASK)838 #define TX_CMP_VALID(txcmp, raw_cons) \ argument839 (!!((txcmp)->tx_cmp_errors_v & cpu_to_le32(TX_CMP_V)) == \853 #define TX_CMP_TYPE(txcmp) \ argument854 (le32_to_cpu((txcmp)->tx_cmp_flags_type) & CMP_TYPE)
2891 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()2949 struct tx_cmp *txcmp; in bnxt_has_work() local2953 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()2964 struct tx_cmp *txcmp; in __bnxt_poll_work() local2975 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()2982 cmp_type = TX_CMP_TYPE(txcmp); in __bnxt_poll_work()2985 u32 opaque = txcmp->tx_cmp_opaque; in __bnxt_poll_work()3028 bnxt_hwrm_handler(bp, txcmp); in __bnxt_poll_work()3103 struct tx_cmp *txcmp; in bnxt_poll_nitroa0() local3117 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()[all …]
4902 struct tx_cmp *txcmp; in bnxt_poll_loopback() local4911 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_loopback()4913 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback()4922 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_CMP || in bnxt_poll_loopback()4923 TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_V3_CMP) { in bnxt_poll_loopback()