Home
last modified time | relevance | path

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

/drivers/net/wireless/intersil/p54/
Dp54pci.c133 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()
[all …]
/drivers/net/ethernet/pasemi/
Dpasemi_mac.c820 unsigned int ring_limit; in pasemi_mac_clean_tx() local
834 ring_limit = txring->next_to_fill; in pasemi_mac_clean_tx()
839 if (start > ring_limit) in pasemi_mac_clean_tx()
840 ring_limit += TX_RING_SIZE; in pasemi_mac_clean_tx()
846 descr_count < batch_limit && i < ring_limit; in pasemi_mac_clean_tx()