Searched refs:txcmp (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h181 #define TX_CMP_SQ_CONS_IDX(txcmp) \
182 (le32_to_cpu((txcmp)->sq_cons_idx) & TX_CMP_SQ_CONS_IDX_MASK)
800 #define TX_CMP_VALID(txcmp, raw_cons) \
801 (!!((txcmp)->tx_cmp_errors_v & cpu_to_le32(TX_CMP_V)) == \
815 #define TX_CMP_TYPE(txcmp) \
816 (le32_to_cpu((txcmp)->tx_cmp_flags_type) & CMP_TYPE)
H A Dbnxt.c2729 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) argument
2731 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id;
2732 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp;
2734 (struct hwrm_fwd_req_cmpl *)txcmp;
2758 (struct hwrm_async_event_cmpl *)txcmp);
2785 struct tx_cmp *txcmp; local
2787 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)];
2789 return TX_CMP_VALID(txcmp, raw_cons);
2828 struct tx_cmp *txcmp; local
2837 txcmp
2961 struct tx_cmp *txcmp; local
[all...]
H A Dbnxt_ethtool.c4528 struct tx_cmp *txcmp; local
4537 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)];
4539 if (!TX_CMP_VALID(txcmp, raw_cons)) {
4548 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_CMP ||
4549 TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_V3_CMP) {

Completed in 155 milliseconds