Lines Matching refs:raw_cons
1076 u8 agg_bufs, u32 *raw_cons) in bnxt_agg_bufs_valid() argument
1081 *raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs); in bnxt_agg_bufs_valid()
1082 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()
1085 return RX_AGG_CMP_VALID(agg, *raw_cons); in bnxt_agg_bufs_valid()
1114 u32 *raw_cons, void *cmp) in bnxt_discard_rx() argument
1117 u32 tmp_raw_cons = *raw_cons; in bnxt_discard_rx()
1139 *raw_cons = tmp_raw_cons; in bnxt_discard_rx()
1502 u32 *raw_cons, in bnxt_tpa_end() argument
1519 int rc = bnxt_discard_rx(bp, cpr, raw_cons, tpa_end); in bnxt_tpa_end()
1545 idx = RING_CMP(*raw_cons); in bnxt_tpa_end()
1547 if (!bnxt_agg_bufs_valid(bp, cpr, agg_bufs, raw_cons)) in bnxt_tpa_end()
1671 u32 *raw_cons, u8 *event) in bnxt_rx_pkt() argument
1678 u32 tmp_raw_cons = *raw_cons; in bnxt_rx_pkt()
1735 int rc1 = bnxt_discard_rx(bp, cpr, raw_cons, rxcmp); in bnxt_rx_pkt()
1865 *raw_cons = tmp_raw_cons; in bnxt_rx_pkt()
1875 u32 *raw_cons, u8 *event) in bnxt_force_rx_discard() argument
1877 u32 tmp_raw_cons = *raw_cons; in bnxt_force_rx_discard()
1906 return bnxt_rx_pkt(bp, cpr, raw_cons, event); in bnxt_force_rx_discard()
2106 u32 raw_cons = cpr->cp_raw_cons; in bnxt_has_work() local
2107 u16 cons = RING_CMP(raw_cons); in bnxt_has_work()
2112 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2147 u32 raw_cons = cpr->cp_raw_cons; in __bnxt_poll_work() local
2158 cons = RING_CMP(raw_cons); in __bnxt_poll_work()
2161 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()
2174 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2181 rc = bnxt_rx_pkt(bp, cpr, &raw_cons, &event); in __bnxt_poll_work()
2183 rc = bnxt_force_rx_discard(bp, cpr, &raw_cons, in __bnxt_poll_work()
2204 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2225 cpr->cp_raw_cons = raw_cons; in __bnxt_poll_work()
2275 u32 raw_cons = cpr->cp_raw_cons; in bnxt_poll_nitroa0() local
2282 cp_cons = RING_CMP(raw_cons); in bnxt_poll_nitroa0()
2285 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
2289 tmp_raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_nitroa0()
2301 rc = bnxt_rx_pkt(bp, cpr, &raw_cons, &event); in bnxt_poll_nitroa0()
2313 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_nitroa0()
2319 cpr->cp_raw_cons = raw_cons; in bnxt_poll_nitroa0()
2408 u32 raw_cons = cpr->cp_raw_cons; in bnxt_poll_p5() local
2427 cons = RING_CMP(raw_cons); in bnxt_poll_p5()
2430 if (!NQ_CMP_VALID(nqcmp, raw_cons)) { in bnxt_poll_p5()
2433 cpr->cp_raw_cons = raw_cons; in bnxt_poll_p5()
2456 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_p5()
2461 cpr->cp_raw_cons = raw_cons; in bnxt_poll_p5()