Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h522 #define RING_CMP(idx) ((idx) & bp->cp_ring_mask) macro
523 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
Dbnxt.c245 writel(DB_CP_REARM_FLAGS | RING_CMP(raw_cons), db)
248 writel(DB_CP_FLAGS | RING_CMP(raw_cons), db)
984 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()
1352 u16 cp_cons = RING_CMP(*raw_cons); in bnxt_tpa_end()
1491 u16 cfa_code, cons, prod, cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt()
1505 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt()
1677 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_force_rx_discard()
1682 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_force_rx_discard()
1814 u32 cons = RING_CMP(cpr->cp_raw_cons); in bnxt_msix()
1825 u16 cons = RING_CMP(raw_cons); in bnxt_has_work()
[all …]
Dbnxt_ethtool.c2434 cp_cons = RING_CMP(raw_cons); in bnxt_rx_loopback()
2467 cons = RING_CMP(raw_cons); in bnxt_poll_loopback()