Searched refs:RING_NEXT (Results 1 – 1 of 1) sorted by relevance
80 #define RING_NEXT(x,s) (((x)+1) & ((s)-1)) macro752 sky2->tx_prod = RING_NEXT(sky2->tx_prod, TX_RING_SIZE); in get_tx_le()768 sky2->rx_put = RING_NEXT(sky2->rx_put, RX_LE_SIZE); in sky2_next_rx()1267 + RING_NEXT((re - sky2->tx_ring) + i, TX_RING_SIZE); in sky2_xmit_frame()1327 fre = sky2->tx_ring + RING_NEXT(put + i, TX_RING_SIZE); in sky2_tx_complete()1890 hw->st_idx = RING_NEXT(hw->st_idx, STATUS_RING_SIZE); in sky2_status_intr()