Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h451 #define TX_CMP_VALID(txcmp, raw_cons) \ argument
453 !((raw_cons) & bp->cp_bit))
455 #define RX_CMP_VALID(rxcmp1, raw_cons) \ argument
457 !((raw_cons) & bp->cp_bit))
459 #define RX_AGG_CMP_VALID(agg, raw_cons) \ argument
461 !((raw_cons) & bp->cp_bit))
Dbnxt.c124 #define BNXT_CP_DB_REARM(db, raw_cons) \ argument
125 writel(DB_CP_REARM_FLAGS | RING_CMP(raw_cons), db)
127 #define BNXT_CP_DB(db, raw_cons) \ argument
128 writel(DB_CP_FLAGS | RING_CMP(raw_cons), db)
742 u8 agg_bufs, u32 *raw_cons) in bnxt_agg_bufs_valid() argument
747 *raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs); in bnxt_agg_bufs_valid()
748 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()
751 return RX_AGG_CMP_VALID(agg, *raw_cons); in bnxt_agg_bufs_valid()
926 u32 *raw_cons, in bnxt_tpa_end() argument
935 u16 cp_cons = RING_CMP(*raw_cons); in bnxt_tpa_end()
[all …]