Lines Matching refs:raw_cons
124 #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()
951 if (!bnxt_agg_bufs_valid(bp, cpr, agg_bufs, raw_cons)) in bnxt_tpa_end()
1044 static int bnxt_rx_pkt(struct bnxt *bp, struct bnxt_napi *bnapi, u32 *raw_cons, in bnxt_rx_pkt() argument
1052 u32 tmp_raw_cons = *raw_cons; in bnxt_rx_pkt()
1206 *raw_cons = tmp_raw_cons; in bnxt_rx_pkt()
1286 u32 raw_cons = cpr->cp_raw_cons; in bnxt_has_work() local
1287 u16 cons = RING_CMP(raw_cons); in bnxt_has_work()
1292 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
1326 u32 raw_cons = cpr->cp_raw_cons; in bnxt_poll_work() local
1337 cons = RING_CMP(raw_cons); in bnxt_poll_work()
1340 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_work()
1349 rc = bnxt_rx_pkt(bp, bnapi, &raw_cons, &agg_event); in bnxt_poll_work()
1363 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_work()
1369 cpr->cp_raw_cons = raw_cons; in bnxt_poll_work()