Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/calxeda/
H A Dxgmac.c390 #define DMA_RX_RING_SZ 256 macro
683 while (dma_ring_space(priv->rx_head, priv->rx_tail, DMA_RX_RING_SZ) > 1) { in xgmac_rx_refill()
708 priv->rx_head = dma_ring_incr(priv->rx_head, DMA_RX_RING_SZ); in xgmac_rx_refill()
732 priv->rx_skbuff = kcalloc(DMA_RX_RING_SZ, sizeof(struct sk_buff *), in xgmac_dma_desc_rings_init()
738 DMA_RX_RING_SZ * in xgmac_dma_desc_rings_init()
766 desc_init_rx_desc(priv->dma_rx, DMA_RX_RING_SZ, priv->dma_buf_sz); in xgmac_dma_desc_rings_init()
782 DMA_RX_RING_SZ * sizeof(struct xgmac_dma_desc), in xgmac_dma_desc_rings_init()
797 for (i = 0; i < DMA_RX_RING_SZ; i++) { in xgmac_free_rx_skbufs()
851 DMA_RX_RING_SZ * sizeof(struct xgmac_dma_desc), in xgmac_free_dma_desc_rings()
1177 if (!dma_ring_cnt(priv->rx_head, priv->rx_tail, DMA_RX_RING_SZ)) in xgmac_rx()
[all …]