Lines Matching refs:next_rx_tail
108 unsigned int next_rx_tail; member
390 unsigned int next_rx_tail = macb->next_rx_tail; in _macb_recv() local
399 if (!(macb->rx_ring[next_rx_tail].addr & RXADDR_USED)) in _macb_recv()
402 status = macb->rx_ring[next_rx_tail].ctrl; in _macb_recv()
404 if (next_rx_tail != macb->rx_tail) in _macb_recv()
405 reclaim_rx_buffers(macb, next_rx_tail); in _macb_recv()
429 if (++next_rx_tail >= MACB_RX_RING_SIZE) in _macb_recv()
430 next_rx_tail = 0; in _macb_recv()
431 macb->next_rx_tail = next_rx_tail; in _macb_recv()
434 if (++next_rx_tail >= MACB_RX_RING_SIZE) { in _macb_recv()
436 next_rx_tail = 0; in _macb_recv()
692 macb->next_rx_tail = 0; in _macb_init()
912 macb->next_rx_tail = macb->rx_tail; in macb_recv()
916 reclaim_rx_buffers(macb, macb->next_rx_tail); in macb_recv()
1012 macb->next_rx_tail = macb->rx_tail; in macb_recv()
1022 reclaim_rx_buffers(macb, macb->next_rx_tail); in macb_free_pkt()