Lines Matching refs:dirty_idx
239 rtase_tx_clear_range(ring, ring->dirty_idx, RTASE_NUM_DESC); in rtase_tx_clear()
241 ring->dirty_idx = 0; in rtase_tx_clear()
258 return READ_ONCE(ring->dirty_idx) + RTASE_NUM_DESC - in rtase_tx_avail()
271 dirty_tx = ring->dirty_idx; in tx_handler()
302 if (ring->dirty_idx != dirty_tx) { in tx_handler()
304 WRITE_ONCE(ring->dirty_idx, dirty_tx); in tx_handler()
327 ring->dirty_idx = 0; in rtase_tx_desc_init()
577 delta = rtase_rx_ring_fill(ring, ring->dirty_idx, ring->cur_idx); in rx_handler()
578 ring->dirty_idx += delta; in rx_handler()
591 ring->dirty_idx = 0; in rtase_rx_desc_init()
1560 netdev_err(dev, "Tx dirtyIdx = 0x%x\n", ring->dirty_idx); in rtase_dump_state()
1566 netdev_err(dev, "Rx dirtyIdx = 0x%x\n", ring->dirty_idx); in rtase_dump_state()