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

/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c2770 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) argument
2772 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id;
2773 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp;
2775 (struct hwrm_fwd_req_cmpl *)txcmp;
2799 (struct hwrm_async_event_cmpl *)txcmp);
2826 struct tx_cmp *txcmp; local
2828 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)];
2830 return TX_CMP_VALID(txcmp, raw_cons);
2869 struct tx_cmp *txcmp; local
2878 txcmp
3002 struct tx_cmp *txcmp; local
[all...]
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_ethtool.c4707 struct tx_cmp *txcmp; local
4716 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)];
4718 if (!TX_CMP_VALID(txcmp, raw_cons)) {
4727 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_CMP ||
4728 TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_V3_CMP) {

Completed in 245 milliseconds