Searched refs:txcmp (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.h | 629 #define TX_CMP_VALID(txcmp, raw_cons) \ 630 (!!((txcmp)->tx_cmp_errors_v & cpu_to_le32(TX_CMP_V)) == \ 644 #define TX_CMP_TYPE(txcmp) \ 645 (le32_to_cpu((txcmp)->tx_cmp_flags_type) & CMP_TYPE)
|
H A D | bnxt.c | 2180 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) in bnxt_hwrm_handler() argument 2182 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler() 2183 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler() 2185 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler() 2213 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_hwrm_handler() 2239 struct tx_cmp *txcmp; in bnxt_has_work() local 2241 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_has_work() 2243 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work() 2283 struct tx_cmp *txcmp; in __bnxt_poll_work() local 2291 txcmp in __bnxt_poll_work() 2403 struct tx_cmp *txcmp; bnxt_poll_nitroa0() local [all...] |
H A D | bnxt_ethtool.c | 3214 struct tx_cmp *txcmp; in bnxt_poll_loopback() local 3223 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_loopback() 3225 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback() 3234 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_CMP) { in bnxt_poll_loopback()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.h | 673 #define TX_CMP_VALID(txcmp, raw_cons) \ 674 (!!((txcmp)->tx_cmp_errors_v & cpu_to_le32(TX_CMP_V)) == \ 688 #define TX_CMP_TYPE(txcmp) \ 689 (le32_to_cpu((txcmp)->tx_cmp_flags_type) & CMP_TYPE)
|
H A D | bnxt.c | 2406 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) in bnxt_hwrm_handler() argument 2408 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler() 2409 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler() 2411 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler() 2435 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_hwrm_handler() 2462 struct tx_cmp *txcmp; in bnxt_has_work() local 2464 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_has_work() 2466 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work() 2506 struct tx_cmp *txcmp; in __bnxt_poll_work() local 2514 txcmp in __bnxt_poll_work() 2628 struct tx_cmp *txcmp; bnxt_poll_nitroa0() local [all...] |
H A D | bnxt_ethtool.c | 3588 struct tx_cmp *txcmp; in bnxt_poll_loopback() local 3597 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_loopback() 3599 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback() 3608 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_CMP) { in bnxt_poll_loopback()
|
Completed in 39 milliseconds