Searched refs:dma_buf_sz (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/net/ethernet/calxeda/ |
H A 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()
|
/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_main.c | 338 unsigned int dma_buf_sz, in sxgbe_init_rx_buffers() argument 344 skb = __netdev_alloc_skb_ip_align(dev, dma_buf_sz, GFP_KERNEL); in sxgbe_init_rx_buffers() 350 dma_buf_sz, DMA_FROM_DEVICE); in sxgbe_init_rx_buffers() 375 unsigned int dma_buf_sz, in sxgbe_free_rx_buffers() argument 382 dma_buf_sz, DMA_FROM_DEVICE); in sxgbe_free_rx_buffers() 518 priv->dma_buf_sz = bfsize; in init_rx_ring() 1080 priv->dma_buf_sz = SXGBE_ALIGN(DMA_BUFFER_SIZE); in sxgbe_open() 1440 int bfsize = priv->dma_buf_sz; in sxgbe_rx_refill()
|
H A D | sxgbe_common.h | 460 unsigned int dma_buf_sz; member
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | ring_mode.c | 109 if (priv->dma_conf.dma_buf_sz == BUF_SIZE_16KiB) in refill_desc3()
|
H A D | stmmac.h | 239 unsigned int dma_buf_sz; member
|
H A D | stmmac_main.c | 1374 dma_conf->dma_buf_sz); in stmmac_clear_rx_descriptors() 1379 dma_conf->dma_buf_sz); in stmmac_clear_rx_descriptors() 1481 if (dma_conf->dma_buf_sz == BUF_SIZE_16KiB) in stmmac_init_rx_buffers() 2040 num_pages = DIV_ROUND_UP(dma_conf->dma_buf_sz, PAGE_SIZE); in __alloc_dma_rx_desc_resources() 2425 priv->dma_conf.dma_buf_sz, in stmmac_dma_operation_mode() 3874 dma_conf->dma_buf_sz = bfsize; in stmmac_setup_dma_desc() 3953 buf_sz = dma_conf->dma_buf_sz; in __stmmac_open() 4868 return priv->dma_conf.dma_buf_sz; in stmmac_rx_buf1_len() 4873 return min_t(unsigned int, priv->dma_conf.dma_buf_sz, plen); in stmmac_rx_buf1_len() 4889 return priv->dma_conf.dma_buf_sz; in stmmac_rx_buf2_len() [all …]
|
H A D | stmmac_selftests.c | 1687 int size = priv->dma_conf.dma_buf_sz; in __stmmac_test_jumbo()
|