Searched refs:ocelot_fdma_idx_next (Results 1 – 1 of 1) sorted by relevance
46 static u16 ocelot_fdma_idx_next(u16 idx, u16 ring_sz) in ocelot_fdma_idx_next() function175 idx = ocelot_fdma_idx_next(idx, OCELOT_FDMA_RX_RING_SIZE); in ocelot_fdma_alloc_rx_buffs()263 idx = ocelot_fdma_idx_next(idx, OCELOT_FDMA_RX_RING_SIZE); in ocelot_fdma_rx_restart()302 rx_ring->next_to_alloc = ocelot_fdma_idx_next(rx_ring->next_to_alloc, in ocelot_fdma_reuse_rx_page()429 idx = ocelot_fdma_idx_next(idx, OCELOT_FDMA_RX_RING_SIZE); in ocelot_fdma_rx_get()514 tx_ring->next_to_clean = ocelot_fdma_idx_next(ntc, in ocelot_fdma_tx_cleanup()623 next_idx = ocelot_fdma_idx_next(tx_ring->next_to_use, in ocelot_fdma_send_skb()714 idx = ocelot_fdma_idx_next(idx, OCELOT_FDMA_RX_RING_SIZE); in ocelot_fdma_free_rx_ring()738 idx = ocelot_fdma_idx_next(idx, OCELOT_FDMA_TX_RING_SIZE); in ocelot_fdma_free_tx_ring()