Searched refs:rx_ringsize (Results 1 – 1 of 1) sorted by relevance
1325 int rx_ringsize = sizeof(*rxdesc) * mdp->num_rx_ring; in sh_eth_ring_format() local1336 memset(mdp->rx_ring, 0, rx_ringsize); in sh_eth_ring_format()1400 int rx_ringsize, tx_ringsize; in sh_eth_ring_init() local1424 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()