Lines Matching refs:ring_limit
133 int ring_index, struct p54p_desc *ring, u32 ring_limit, in p54p_refill_rx_ring() argument
143 limit = ring_limit - limit; in p54p_refill_rx_ring()
145 i = idx % ring_limit; in p54p_refill_rx_ring()
177 i %= ring_limit; in p54p_refill_rx_ring()
185 int ring_index, struct p54p_desc *ring, u32 ring_limit, in p54p_check_rx_ring() argument
193 i = (*index) % ring_limit; in p54p_check_rx_ring()
195 idx %= ring_limit; in p54p_check_rx_ring()
206 i %= ring_limit; in p54p_check_rx_ring()
238 i %= ring_limit; in p54p_check_rx_ring()
241 p54p_refill_rx_ring(dev, ring_index, ring, ring_limit, rx_buf, *index); in p54p_check_rx_ring()
245 int ring_index, struct p54p_desc *ring, u32 ring_limit, in p54p_check_tx_ring() argument
254 i = (*index) % ring_limit; in p54p_check_tx_ring()
256 idx %= ring_limit; in p54p_check_tx_ring()
277 i %= ring_limit; in p54p_check_tx_ring()