Lines Matching full:ntc
271 u32 ntc = xdp_ring->next_to_clean; in ice_clean_xdp_irq() local
280 idx = xdp_ring->tx_buf[ntc].rs_idx; in ice_clean_xdp_irq()
284 if (idx >= ntc) in ice_clean_xdp_irq()
285 ready_frames = idx - ntc + 1; in ice_clean_xdp_irq()
287 ready_frames = idx + cnt - ntc + 1; in ice_clean_xdp_irq()
298 struct ice_tx_buf *tx_buf = &xdp_ring->tx_buf[ntc]; in ice_clean_xdp_irq()
309 ntc++; in ice_clean_xdp_irq()
310 if (ntc == cnt) in ice_clean_xdp_irq()
311 ntc = 0; in ice_clean_xdp_irq()
314 tx_buf = &xdp_ring->tx_buf[ntc]; in ice_clean_xdp_irq()
317 ntc++; in ice_clean_xdp_irq()
318 if (ntc == cnt) in ice_clean_xdp_irq()
319 ntc = 0; in ice_clean_xdp_irq()
329 xdp_ring->next_to_clean = ntc; in ice_clean_xdp_irq()