Lines Matching refs:dma_buf_size
90 static int dma_buf_size = VGA_WIDTH * VGA_HEIGHT * 2; /* Worst case */
91 module_param(dma_buf_size, uint, 0444);
92 MODULE_PARM_DESC(dma_buf_size,
166 unsigned int dma_buf_size; /* allocated size */
842 cam->dma_buf_size = dma_buf_size;
844 cam->dma_buf_size = cam->pix_format.sizeimage;
851 cam->dma_buf_size, cam->dma_handles + i,
858 memset(cam->dma_bufs[i], 0xcc, cam->dma_buf_size);
864 dma_free_coherent(&cam->pdev->dev, cam->dma_buf_size,
884 dma_free_coherent(&cam->pdev->dev, cam->dma_buf_size,
1537 if (cam->nbufs > 0 && cam->dma_buf_size < cam->pix_format.sizeimage)