Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/renesas/
H A Dsh_eth.c1325 int rx_ringsize = sizeof(*rxdesc) * mdp->num_rx_ring; in sh_eth_ring_format() local
1336 memset(mdp->rx_ring, 0, rx_ringsize); in sh_eth_ring_format()
1400 int rx_ringsize, tx_ringsize; in sh_eth_ring_init() local
1424 rx_ringsize = sizeof(struct sh_eth_rxdesc) * mdp->num_rx_ring; in sh_eth_ring_init()
1425 mdp->rx_ring = dma_alloc_coherent(&mdp->pdev->dev, rx_ringsize, in sh_eth_ring_init()