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()
1770 u32 *raw_cons, u8 *event) in bnxt_rx_pkt() argument
1777 u32 tmp_raw_cons = *raw_cons; in bnxt_rx_pkt()
2039 *raw_cons = tmp_raw_cons; in bnxt_rx_pkt()
2049 u32 *raw_cons, u8 *event) in bnxt_force_rx_discard() argument
2051 u32 tmp_raw_cons = *raw_cons; in bnxt_force_rx_discard()
2085 rc = bnxt_rx_pkt(bp, cpr, raw_cons, event); in bnxt_force_rx_discard()
2445 u32 raw_cons = cpr->cp_raw_cons; in bnxt_has_work() local
2446 u16 cons = RING_CMP(raw_cons); in bnxt_has_work()
2451 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2486 u32 raw_cons = cpr->cp_raw_cons; in __bnxt_poll_work() local
2498 cons = RING_CMP(raw_cons); in __bnxt_poll_work()
2501 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()
2513 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2520 rc = bnxt_rx_pkt(bp, cpr, &raw_cons, &event); in __bnxt_poll_work()
2522 rc = bnxt_force_rx_discard(bp, cpr, &raw_cons, in __bnxt_poll_work()
2543 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2564 cpr->cp_raw_cons = raw_cons; in __bnxt_poll_work()
2616 u32 raw_cons = cpr->cp_raw_cons; in bnxt_poll_nitroa0() local
2624 cp_cons = RING_CMP(raw_cons); in bnxt_poll_nitroa0()
2627 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
2635 tmp_raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_nitroa0()
2647 rc = bnxt_rx_pkt(bp, cpr, &raw_cons, &event); in bnxt_poll_nitroa0()
2661 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_nitroa0()
2667 cpr->cp_raw_cons = raw_cons; in bnxt_poll_nitroa0()
2763 u32 raw_cons = cpr->cp_raw_cons; in bnxt_poll_p5() local
2778 cons = RING_CMP(raw_cons); in bnxt_poll_p5()
2781 if (!NQ_CMP_VALID(nqcmp, raw_cons)) { in bnxt_poll_p5()
2787 cpr->cp_raw_cons = raw_cons; in bnxt_poll_p5()
2814 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_p5()
2817 if (raw_cons != cpr->cp_raw_cons) { in bnxt_poll_p5()
2818 cpr->cp_raw_cons = raw_cons; in bnxt_poll_p5()
2819 BNXT_DB_NQ_P5(&cpr->cp_db, raw_cons); in bnxt_poll_p5()