Home
last modified time | relevance | path

Searched refs:RING_NEXT (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/marvell/
Dsky2.c69 #define RING_NEXT(x, s) (((x)+1) & ((s)-1)) macro
1103 *slot = RING_NEXT(*slot, sky2->tx_ring_size); in get_tx_le()
1135 sky2->rx_put = RING_NEXT(sky2->rx_put, RX_LE_SIZE); in sky2_next_rx()
1976 for (i = sky2->tx_prod; i != slot; i = RING_NEXT(i, sky2->tx_ring_size)) { in sky2_xmit_frame()
2008 idx = RING_NEXT(idx, sky2->tx_ring_size)) { in sky2_tx_complete()
2024 sky2->tx_next = RING_NEXT(idx, sky2->tx_ring_size); in sky2_tx_complete()
2725 hw->st_idx = RING_NEXT(hw->st_idx, hw->st_size); in sky2_status_intr()
4413 idx = RING_NEXT(idx, hw->st_size)) { in sky2_debug_show()
4429 idx = RING_NEXT(idx, sky2->tx_ring_size)) { in sky2_debug_show()