Searched refs:rx_rsize (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_main.c372 * @rx_rsize: ring size
444 * @rx_rsize: ring size
448 int rx_rsize) free_rx_ring()
450 dma_free_coherent(dev, rx_rsize * sizeof(struct sxgbe_rx_norm_desc), free_rx_ring()
460 * @rx_rsize: ring size
464 struct sxgbe_rx_queue *rx_ring, int rx_rsize) init_rx_ring()
487 rx_rsize * sizeof(struct sxgbe_rx_norm_desc), init_rx_ring()
494 rx_ring->rx_skbuff_dma = kmalloc_array(rx_rsize, init_rx_ring()
501 rx_ring->rx_skbuff = kmalloc_array(rx_rsize, init_rx_ring()
509 for (desc_index = 0; desc_index < rx_rsize; desc_index++) { init_rx_ring()
520 rx_ring->dirty_rx = (unsigned int)(desc_index - rx_rsize); init_rx_ring()
537 rx_rsize * sizeof(struct sxgbe_rx_norm_desc), init_rx_ring()
568 int rx_rsize = priv->dma_rx_size; init_dma_desc_rings() local
588 priv->rxq[queue_num], rx_rsize); SXGBE_FOR_EACH_QUEUE()
611 free_rx_ring(priv->device, priv->rxq[queue_num], rx_rsize);
651 int rx_rsize = priv->dma_rx_size; free_dma_desc_resources() local
663 free_rx_ring(priv->device, priv->rxq[queue_num], rx_rsize); SXGBE_FOR_EACH_QUEUE()
447 free_rx_ring(struct device *dev, struct sxgbe_rx_queue *rx_ring, int rx_rsize) free_rx_ring() argument
463 init_rx_ring(struct net_device *dev, u8 queue_no, struct sxgbe_rx_queue *rx_ring, int rx_rsize) init_rx_ring() argument

Completed in 92 milliseconds