Lines Matching refs:RX_RING_SIZE
557 for (i = 0; i < RX_RING_SIZE; i++) { in smsc9420_free_rx_ring()
837 pd->rx_ring_tail = (pd->rx_ring_tail + 1) % RX_RING_SIZE; in smsc9420_alloc_new_rx_buffers()
859 pd->rx_ring_head = (pd->rx_ring_head + 1) % RX_RING_SIZE; in smsc9420_rx_poll()
1238 pd->rx_buffers = kmalloc_array(RX_RING_SIZE, in smsc9420_alloc_rx_ring()
1245 for (i = 0; i < RX_RING_SIZE; i++) { in smsc9420_alloc_rx_ring()
1252 pd->rx_ring[RX_RING_SIZE - 1].length = (PKT_BUF_SZ | RDES1_RER_); in smsc9420_alloc_rx_ring()
1255 for (i = 0; i < RX_RING_SIZE; i++) { in smsc9420_alloc_rx_ring()
1590 sizeof(struct smsc9420_dma_desc) * RX_RING_SIZE + in smsc9420_probe()
1598 pd->tx_ring = (pd->rx_ring + RX_RING_SIZE); in smsc9420_probe()
1600 sizeof(struct smsc9420_dma_desc) * RX_RING_SIZE; in smsc9420_probe()
1649 (RX_RING_SIZE + TX_RING_SIZE), pd->rx_ring, pd->rx_dma_addr); in smsc9420_probe()
1682 (RX_RING_SIZE + TX_RING_SIZE), pd->rx_ring, pd->rx_dma_addr); in smsc9420_remove()