Home
last modified time | relevance | path

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

/drivers/net/ethernet/calxeda/
Dxgmac.c377 unsigned int dma_buf_sz; member
705 priv->dma_buf_sz - NET_IP_ALIGN, in xgmac_rx_refill()
712 desc_set_buf_addr(p, paddr, priv->dma_buf_sz); in xgmac_rx_refill()
775 priv->dma_buf_sz = bfsize; in xgmac_dma_desc_rings_init()
776 desc_init_rx_desc(priv->dma_rx, DMA_RX_RING_SZ, priv->dma_buf_sz); in xgmac_dma_desc_rings_init()
814 priv->dma_buf_sz - NET_IP_ALIGN, DMA_FROM_DEVICE); in xgmac_free_rx_skbufs()
1216 priv->dma_buf_sz - NET_IP_ALIGN, DMA_FROM_DEVICE); in xgmac_rx()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c343 unsigned int dma_buf_sz, in sxgbe_init_rx_buffers() argument
349 skb = __netdev_alloc_skb_ip_align(dev, dma_buf_sz, GFP_KERNEL); in sxgbe_init_rx_buffers()
355 dma_buf_sz, DMA_FROM_DEVICE); in sxgbe_init_rx_buffers()
377 unsigned int dma_buf_sz, in sxgbe_free_rx_buffers() argument
384 dma_buf_sz, DMA_FROM_DEVICE); in sxgbe_free_rx_buffers()
518 priv->dma_buf_sz = bfsize; in init_rx_ring()
1077 priv->dma_buf_sz = SXGBE_ALIGN(DMA_BUFFER_SIZE); in sxgbe_open()
1437 int bfsize = priv->dma_buf_sz; in sxgbe_rx_refill()
Dsxgbe_common.h463 unsigned int dma_buf_sz; member
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h90 unsigned int dma_buf_sz; member
Dstmmac_main.c1078 priv->dma_buf_sz); in stmmac_clear_rx_descriptors()
1083 priv->dma_buf_sz); in stmmac_clear_rx_descriptors()
1147 skb = __netdev_alloc_skb_ip_align(priv->dev, priv->dma_buf_sz, flags); in stmmac_init_rx_buffers()
1155 priv->dma_buf_sz, in stmmac_init_rx_buffers()
1169 (priv->dma_buf_sz == BUF_SIZE_16KiB)) in stmmac_init_rx_buffers()
1187 priv->dma_buf_sz, DMA_FROM_DEVICE); in stmmac_free_rx_buffer()
1245 bfsize = stmmac_set_bfsize(dev->mtu, priv->dma_buf_sz); in init_dma_rx_desc_rings()
1247 priv->dma_buf_sz = bfsize; in init_dma_rx_desc_rings()
2599 priv->dma_buf_sz = STMMAC_ALIGN(buf_sz); in stmmac_open()
3253 int bfsize = priv->dma_buf_sz; in stmmac_rx_refill()
[all …]
Dring_mode.c121 if (priv->dma_buf_sz == BUF_SIZE_16KiB) in stmmac_refill_desc3()