Lines Matching refs:ntc
257 u32 ntc = xdp_ring->next_to_clean; in ice_clean_xdp_irq() local
266 idx = xdp_ring->tx_buf[ntc].rs_idx; in ice_clean_xdp_irq()
270 if (idx >= ntc) in ice_clean_xdp_irq()
271 ready_frames = idx - ntc + 1; in ice_clean_xdp_irq()
273 ready_frames = idx + cnt - ntc + 1; in ice_clean_xdp_irq()
284 struct ice_tx_buf *tx_buf = &xdp_ring->tx_buf[ntc]; in ice_clean_xdp_irq()
295 ntc++; in ice_clean_xdp_irq()
296 if (ntc == cnt) in ice_clean_xdp_irq()
297 ntc = 0; in ice_clean_xdp_irq()
300 tx_buf = &xdp_ring->tx_buf[ntc]; in ice_clean_xdp_irq()
303 ntc++; in ice_clean_xdp_irq()
304 if (ntc == cnt) in ice_clean_xdp_irq()
305 ntc = 0; in ice_clean_xdp_irq()
315 xdp_ring->next_to_clean = ntc; in ice_clean_xdp_irq()