Lines Matching refs:raw_cons
1309 u8 agg_bufs, u32 *raw_cons) in bnxt_agg_bufs_valid() argument
1314 *raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs); in bnxt_agg_bufs_valid()
1315 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()
1318 return RX_AGG_CMP_VALID(agg, *raw_cons); in bnxt_agg_bufs_valid()
1380 u32 *raw_cons, void *cmp) in bnxt_discard_rx() argument
1383 u32 tmp_raw_cons = *raw_cons; in bnxt_discard_rx()
1405 *raw_cons = tmp_raw_cons; in bnxt_discard_rx()
1764 u32 *raw_cons, in bnxt_tpa_end() argument
1782 int rc = bnxt_discard_rx(bp, cpr, raw_cons, tpa_end); in bnxt_tpa_end()
1808 idx = RING_CMP(*raw_cons); in bnxt_tpa_end()
1810 if (!bnxt_agg_bufs_valid(bp, cpr, agg_bufs, raw_cons)) in bnxt_tpa_end()
2019 u32 *raw_cons, u8 *event) in bnxt_rx_pkt() argument
2026 u32 tmp_raw_cons = *raw_cons; in bnxt_rx_pkt()
2280 *raw_cons = tmp_raw_cons; in bnxt_rx_pkt()
2295 u32 *raw_cons, u8 *event) in bnxt_force_rx_discard() argument
2297 u32 tmp_raw_cons = *raw_cons; in bnxt_force_rx_discard()
2332 rc = bnxt_rx_pkt(bp, cpr, raw_cons, event); in bnxt_force_rx_discard()
2846 u32 raw_cons = cpr->cp_raw_cons; in bnxt_has_work() local
2847 u16 cons = RING_CMP(raw_cons); in bnxt_has_work()
2852 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2859 u32 raw_cons = cpr->cp_raw_cons; in __bnxt_poll_work() local
2871 cons = RING_CMP(raw_cons); in __bnxt_poll_work()
2874 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()
2899 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2909 rc = bnxt_rx_pkt(bp, cpr, &raw_cons, &event); in __bnxt_poll_work()
2911 rc = bnxt_force_rx_discard(bp, cpr, &raw_cons, in __bnxt_poll_work()
2929 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2953 cpr->cp_raw_cons = raw_cons; in __bnxt_poll_work()
3005 u32 raw_cons = cpr->cp_raw_cons; in bnxt_poll_nitroa0() local
3013 cp_cons = RING_CMP(raw_cons); in bnxt_poll_nitroa0()
3016 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
3024 tmp_raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_nitroa0()
3036 rc = bnxt_rx_pkt(bp, cpr, &raw_cons, &event); in bnxt_poll_nitroa0()
3050 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_nitroa0()
3056 cpr->cp_raw_cons = raw_cons; in bnxt_poll_nitroa0()
3160 u32 raw_cons = cpr->cp_raw_cons; in bnxt_poll_p5() local
3177 cons = RING_CMP(raw_cons); in bnxt_poll_p5()
3180 if (!NQ_CMP_VALID(nqcmp, raw_cons)) { in bnxt_poll_p5()
3186 cpr->cp_raw_cons = raw_cons; in bnxt_poll_p5()
3219 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_p5()
3222 if (raw_cons != cpr->cp_raw_cons) { in bnxt_poll_p5()
3223 cpr->cp_raw_cons = raw_cons; in bnxt_poll_p5()
3224 BNXT_DB_NQ_P5(&cpr->cp_db, raw_cons); in bnxt_poll_p5()