Searched refs:dma_buf_sz (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/calxeda/ |
D | xgmac.c | 367 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 339 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() 1078 priv->dma_buf_sz = SXGBE_ALIGN(DMA_BUFFER_SIZE); in sxgbe_open() 1438 int bfsize = priv->dma_buf_sz; in sxgbe_rx_refill()
|
D | sxgbe_common.h | 460 unsigned int dma_buf_sz; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | ring_mode.c | 110 if (priv->dma_buf_sz == BUF_SIZE_16KiB) in refill_desc3()
|
D | stmmac.h | 160 unsigned int dma_buf_sz; member
|
D | stmmac_main.c | 1270 priv->dma_buf_sz); in stmmac_clear_rx_descriptors() 1275 priv->dma_buf_sz); in stmmac_clear_rx_descriptors() 1361 if (priv->dma_buf_sz == BUF_SIZE_16KiB) in stmmac_init_rx_buffers() 1716 num_pages = DIV_ROUND_UP(priv->dma_buf_sz, PAGE_SIZE); in alloc_dma_rx_desc_resources() 2019 stmmac_set_dma_bfsize(priv, priv->ioaddr, priv->dma_buf_sz, in stmmac_dma_operation_mode() 2883 bfsize = stmmac_set_bfsize(dev->mtu, priv->dma_buf_sz); in stmmac_open() 2885 priv->dma_buf_sz = bfsize; in stmmac_open() 3688 len = DIV_ROUND_UP(priv->dma_buf_sz, PAGE_SIZE) * PAGE_SIZE; in stmmac_rx_refill() 3773 return priv->dma_buf_sz; in stmmac_rx_buf1_len() 3778 return min_t(unsigned int, priv->dma_buf_sz, plen); in stmmac_rx_buf1_len() [all …]
|
D | stmmac_selftests.c | 1687 int size = priv->dma_buf_sz; in __stmmac_test_jumbo()
|