Home
last modified time | relevance | path

Searched refs:RING_CMP (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h876 #define RING_CMP(idx) ((idx) & bp->cp_ring_mask) macro
877 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
H A Dbnxt.c1099 cp_cons = RING_CMP(ADV_RAW_CMP(cp_cons, curr)); in bnxt_get_agg()
1420 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()
1926 idx = RING_CMP(*raw_cons); in bnxt_tpa_end()
2132 u16 cons, prod, cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt()
2157 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt()
2423 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_force_rx_discard()
2428 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_force_rx_discard()
3025 u32 cons = RING_CMP(cpr->cp_raw_cons); in bnxt_msix()
3036 u16 cons = RING_CMP(raw_cons); in bnxt_has_work()
3061 cons = RING_CMP(raw_cons); in __bnxt_poll_work()
[all …]
H A Dbnxt_ethtool.c5106 cp_cons = RING_CMP(raw_cons); in bnxt_rx_loopback()
5137 cons = RING_CMP(raw_cons); in bnxt_poll_loopback()