Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/calxeda/
Dxgmac.c367 unsigned int dma_buf_sz; member
695 priv->dma_buf_sz - NET_IP_ALIGN, in xgmac_rx_refill()
702 desc_set_buf_addr(p, paddr, priv->dma_buf_sz); in xgmac_rx_refill()
765 priv->dma_buf_sz = bfsize; 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()
804 priv->dma_buf_sz - NET_IP_ALIGN, DMA_FROM_DEVICE); in xgmac_free_rx_skbufs()
1206 priv->dma_buf_sz - NET_IP_ALIGN, DMA_FROM_DEVICE); in xgmac_rx()
/Linux-v6.6/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c339 unsigned int dma_buf_sz, in sxgbe_init_rx_buffers() argument
345 skb = __netdev_alloc_skb_ip_align(dev, dma_buf_sz, GFP_KERNEL); in sxgbe_init_rx_buffers()
351 dma_buf_sz, DMA_FROM_DEVICE); in sxgbe_init_rx_buffers()
376 unsigned int dma_buf_sz, in sxgbe_free_rx_buffers() argument
383 dma_buf_sz, DMA_FROM_DEVICE); in sxgbe_free_rx_buffers()
519 priv->dma_buf_sz = bfsize; in init_rx_ring()
1081 priv->dma_buf_sz = SXGBE_ALIGN(DMA_BUFFER_SIZE); in sxgbe_open()
1441 int bfsize = priv->dma_buf_sz; in sxgbe_rx_refill()
Dsxgbe_common.h460 unsigned int dma_buf_sz; member
/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/
Dring_mode.c109 if (priv->dma_conf.dma_buf_sz == BUF_SIZE_16KiB) in refill_desc3()
Dstmmac.h200 unsigned int dma_buf_sz; member
Dstmmac_main.c1371 dma_conf->dma_buf_sz); in stmmac_clear_rx_descriptors()
1376 dma_conf->dma_buf_sz); in stmmac_clear_rx_descriptors()
1478 if (dma_conf->dma_buf_sz == BUF_SIZE_16KiB) in stmmac_init_rx_buffers()
2037 num_pages = DIV_ROUND_UP(dma_conf->dma_buf_sz, PAGE_SIZE); in __alloc_dma_rx_desc_resources()
2420 priv->dma_conf.dma_buf_sz, in stmmac_dma_operation_mode()
3771 dma_conf->dma_buf_sz = bfsize; in stmmac_setup_dma_desc()
3853 buf_sz = dma_conf->dma_buf_sz; in __stmmac_open()
4715 return priv->dma_conf.dma_buf_sz; in stmmac_rx_buf1_len()
4720 return min_t(unsigned int, priv->dma_conf.dma_buf_sz, plen); in stmmac_rx_buf1_len()
4736 return priv->dma_conf.dma_buf_sz; in stmmac_rx_buf2_len()
[all …]
Dstmmac_selftests.c1687 int size = priv->dma_conf.dma_buf_sz; in __stmmac_test_jumbo()