Searched refs:RING_CMP (Results 1 – 2 of 2) sorted by relevance
477 #define RING_CMP(idx) ((idx) & bp->cp_ring_mask) macro478 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
125 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()