Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_txrx.h109 #define RING_CMP(bn, idx) ((idx) & (bn)->cp_ring_mask) macro
110 #define NEXT_CMP(bn, idx) RING_CMP(bn, ADV_RAW_CMP(idx, 1))
H A Dbnge_txrx.c41 cons = RING_CMP(bn, nqr->nq_raw_cons); in bnge_msix()
63 cp_cons = RING_CMP(bn, ADV_RAW_CMP(cp_cons, curr)); in bnge_get_agg()
134 last = RING_CMP(bn, *raw_cons); in bnge_agg_bufs_valid()
828 cp_cons = RING_CMP(bn, tmp_raw_cons); in bnge_rx_pkt()
840 cp_cons = RING_CMP(bn, tmp_raw_cons); in bnge_rx_pkt()
1008 cp_cons = RING_CMP(bn, tmp_raw_cons); in bnge_force_rx_discard()
1013 cp_cons = RING_CMP(bn, tmp_raw_cons); in bnge_force_rx_discard()
1184 cons = RING_CMP(bn, raw_cons); in __bnge_poll_work()
1318 cons = RING_CMP(bn, raw_cons); in bnge_napi_poll()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h872 #define RING_CMP(idx) ((idx) & bp->cp_ring_mask) macro
873 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
H A Dbnxt.c1066 cp_cons = RING_CMP(ADV_RAW_CMP(cp_cons, curr)); in bnxt_get_agg()
1384 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()
1890 idx = RING_CMP(*raw_cons); in bnxt_tpa_end()
2113 u16 cons, prod, cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt()
2138 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt()
2395 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_force_rx_discard()
2400 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_force_rx_discard()
2997 u32 cons = RING_CMP(cpr->cp_raw_cons); in bnxt_msix()
3008 u16 cons = RING_CMP(raw_cons); in bnxt_has_work()
3033 cons = RING_CMP(raw_cons); in __bnxt_poll_work()
[all …]
H A Dbnxt_ethtool.c5069 cp_cons = RING_CMP(raw_cons); in bnxt_rx_loopback()
5100 cons = RING_CMP(raw_cons); in bnxt_poll_loopback()