Lines Matching refs:raw_cons

1200 			       u8 agg_bufs, u32 *raw_cons)  in bnxt_agg_bufs_valid()  argument
1205 *raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs); in bnxt_agg_bufs_valid()
1206 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()
1209 return RX_AGG_CMP_VALID(agg, *raw_cons); in bnxt_agg_bufs_valid()
1238 u32 *raw_cons, void *cmp) in bnxt_discard_rx() argument
1241 u32 tmp_raw_cons = *raw_cons; in bnxt_discard_rx()
1263 *raw_cons = tmp_raw_cons; in bnxt_discard_rx()
1591 u32 *raw_cons, in bnxt_tpa_end() argument
1608 int rc = bnxt_discard_rx(bp, cpr, raw_cons, tpa_end); in bnxt_tpa_end()
1634 idx = RING_CMP(*raw_cons); in bnxt_tpa_end()
1636 if (!bnxt_agg_bufs_valid(bp, cpr, agg_bufs, raw_cons)) in bnxt_tpa_end()
1786 u32 *raw_cons, u8 *event) in bnxt_rx_pkt() argument
1793 u32 tmp_raw_cons = *raw_cons; in bnxt_rx_pkt()
2054 *raw_cons = tmp_raw_cons; in bnxt_rx_pkt()
2064 u32 *raw_cons, u8 *event) in bnxt_force_rx_discard() argument
2066 u32 tmp_raw_cons = *raw_cons; in bnxt_force_rx_discard()
2100 rc = bnxt_rx_pkt(bp, cpr, raw_cons, event); in bnxt_force_rx_discard()
2460 u32 raw_cons = cpr->cp_raw_cons; in bnxt_has_work() local
2461 u16 cons = RING_CMP(raw_cons); in bnxt_has_work()
2466 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2501 u32 raw_cons = cpr->cp_raw_cons; in __bnxt_poll_work() local
2513 cons = RING_CMP(raw_cons); in __bnxt_poll_work()
2516 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()
2528 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2535 rc = bnxt_rx_pkt(bp, cpr, &raw_cons, &event); in __bnxt_poll_work()
2537 rc = bnxt_force_rx_discard(bp, cpr, &raw_cons, in __bnxt_poll_work()
2558 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2579 cpr->cp_raw_cons = raw_cons; in __bnxt_poll_work()
2631 u32 raw_cons = cpr->cp_raw_cons; in bnxt_poll_nitroa0() local
2639 cp_cons = RING_CMP(raw_cons); in bnxt_poll_nitroa0()
2642 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
2650 tmp_raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_nitroa0()
2662 rc = bnxt_rx_pkt(bp, cpr, &raw_cons, &event); in bnxt_poll_nitroa0()
2676 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_nitroa0()
2682 cpr->cp_raw_cons = raw_cons; in bnxt_poll_nitroa0()
2778 u32 raw_cons = cpr->cp_raw_cons; in bnxt_poll_p5() local
2793 cons = RING_CMP(raw_cons); in bnxt_poll_p5()
2796 if (!NQ_CMP_VALID(nqcmp, raw_cons)) { in bnxt_poll_p5()
2802 cpr->cp_raw_cons = raw_cons; in bnxt_poll_p5()
2829 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_p5()
2832 if (raw_cons != cpr->cp_raw_cons) { in bnxt_poll_p5()
2833 cpr->cp_raw_cons = raw_cons; in bnxt_poll_p5()
2834 BNXT_DB_NQ_P5(&cpr->cp_db, raw_cons); in bnxt_poll_p5()