Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h477 #define RING_CMP(idx) ((idx) & bp->cp_ring_mask) macro
478 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
Dbnxt.c125 writel(DB_CP_REARM_FLAGS | RING_CMP(raw_cons), db)
128 writel(DB_CP_FLAGS | RING_CMP(raw_cons), db)
748 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()
935 u16 cp_cons = RING_CMP(*raw_cons); in bnxt_tpa_end()
1053 u16 cons, prod, cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt()
1065 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt()
1277 u32 cons = RING_CMP(cpr->cp_raw_cons); in bnxt_msix()
1287 u16 cons = RING_CMP(raw_cons); in bnxt_has_work()
1300 u32 cons = RING_CMP(cpr->cp_raw_cons); in bnxt_inta()
1337 cons = RING_CMP(raw_cons); in bnxt_poll_work()