Searched refs:dma_buff_size (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/nxp/ |
D | lpc_eth.c | 404 size_t dma_buff_size; member 1303 pldat->dma_buff_size = (ENET_TX_DESC + ENET_RX_DESC) * (ENET_MAXF_SIZE + in lpc_eth_drv_probe() 1307 if (pldat->dma_buff_size > in lpc_eth_drv_probe() 1310 pldat->dma_buff_size = 0; in lpc_eth_drv_probe() 1321 pldat->dma_buff_size = PAGE_ALIGN(pldat->dma_buff_size); in lpc_eth_drv_probe() 1327 pldat->dma_buff_size, &dma_handle, in lpc_eth_drv_probe() 1342 netdev_dbg(ndev, "DMA buffer size :%zd\n", pldat->dma_buff_size); in lpc_eth_drv_probe() 1400 pldat->dma_buff_size > lpc32xx_return_iram(NULL, NULL)) in lpc_eth_drv_probe() 1401 dma_free_coherent(dev, pldat->dma_buff_size, in lpc_eth_drv_probe() 1427 pldat->dma_buff_size > lpc32xx_return_iram(NULL, NULL)) in lpc_eth_drv_remove() [all …]
|
/Linux-v5.4/drivers/video/fbdev/ |
D | pxafb.h | 117 size_t dma_buff_size; member
|
D | pxafb.c | 2320 fbi->dma_buff_size = PAGE_ALIGN(sizeof(struct pxafb_dma_buff)); in pxafb_probe() 2321 fbi->dma_buff = dma_alloc_coherent(fbi->dev, fbi->dma_buff_size, in pxafb_probe() 2402 dma_free_coherent(&dev->dev, fbi->dma_buff_size, in pxafb_probe() 2428 dma_free_wc(&dev->dev, fbi->dma_buff_size, fbi->dma_buff, in pxafb_remove()
|