Searched refs:dma_buff_size (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/nxp/ |
D | lpc_eth.c | 406 size_t dma_buff_size; member 1301 pldat->dma_buff_size = (ENET_TX_DESC + ENET_RX_DESC) * (ENET_MAXF_SIZE + in lpc_eth_drv_probe() 1305 if (pldat->dma_buff_size > in lpc_eth_drv_probe() 1308 pldat->dma_buff_size = 0; in lpc_eth_drv_probe() 1319 pldat->dma_buff_size = PAGE_ALIGN(pldat->dma_buff_size); in lpc_eth_drv_probe() 1326 pldat->dma_buff_size, &dma_handle, in lpc_eth_drv_probe() 1341 netdev_dbg(ndev, "DMA buffer size :%zd\n", pldat->dma_buff_size); in lpc_eth_drv_probe() 1401 pldat->dma_buff_size > lpc32xx_return_iram(NULL, NULL)) in lpc_eth_drv_probe() 1402 dma_free_coherent(dev, pldat->dma_buff_size, in lpc_eth_drv_probe() 1428 pldat->dma_buff_size > lpc32xx_return_iram(NULL, NULL)) in lpc_eth_drv_remove() [all …]
|
/Linux-v6.6/drivers/video/fbdev/ |
D | pxafb.h | 117 size_t dma_buff_size; member
|
D | pxafb.c | 2308 fbi->dma_buff_size = PAGE_ALIGN(sizeof(struct pxafb_dma_buff)); in pxafb_probe() 2309 fbi->dma_buff = dma_alloc_coherent(fbi->dev, fbi->dma_buff_size, in pxafb_probe() 2389 dma_free_coherent(&dev->dev, fbi->dma_buff_size, in pxafb_probe() 2415 dma_free_coherent(&dev->dev, fbi->dma_buff_size, fbi->dma_buff, in pxafb_remove()
|