Home
last modified time | relevance | path

Searched refs:mem_priv (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/media/common/videobuf2/
Dvideobuf2-core.c217 void *mem_priv; in __vb2_buf_mem_alloc() local
233 mem_priv = call_ptr_memop(vb, alloc, in __vb2_buf_mem_alloc()
236 if (IS_ERR_OR_NULL(mem_priv)) { in __vb2_buf_mem_alloc()
237 if (mem_priv) in __vb2_buf_mem_alloc()
238 ret = PTR_ERR(mem_priv); in __vb2_buf_mem_alloc()
243 vb->planes[plane].mem_priv = mem_priv; in __vb2_buf_mem_alloc()
250 call_void_memop(vb, put, vb->planes[plane - 1].mem_priv); in __vb2_buf_mem_alloc()
251 vb->planes[plane - 1].mem_priv = NULL; in __vb2_buf_mem_alloc()
265 call_void_memop(vb, put, vb->planes[plane].mem_priv); in __vb2_buf_mem_free()
266 vb->planes[plane].mem_priv = NULL; in __vb2_buf_mem_free()
[all …]
Dvideobuf2-vmalloc.c372 static int vb2_vmalloc_map_dmabuf(void *mem_priv) in vb2_vmalloc_map_dmabuf() argument
374 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_map_dmabuf()
386 static void vb2_vmalloc_unmap_dmabuf(void *mem_priv) in vb2_vmalloc_unmap_dmabuf() argument
388 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_unmap_dmabuf()
395 static void vb2_vmalloc_detach_dmabuf(void *mem_priv) in vb2_vmalloc_detach_dmabuf() argument
397 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_detach_dmabuf()
Dvideobuf2-dma-sg.c542 static int vb2_dma_sg_map_dmabuf(void *mem_priv) in vb2_dma_sg_map_dmabuf() argument
544 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_map_dmabuf()
570 static void vb2_dma_sg_unmap_dmabuf(void *mem_priv) in vb2_dma_sg_unmap_dmabuf() argument
572 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_unmap_dmabuf()
595 static void vb2_dma_sg_detach_dmabuf(void *mem_priv) in vb2_dma_sg_detach_dmabuf() argument
597 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_detach_dmabuf()
Dvideobuf2-dma-contig.c585 static int vb2_dc_map_dmabuf(void *mem_priv) in vb2_dc_map_dmabuf() argument
587 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_map_dmabuf()
624 static void vb2_dc_unmap_dmabuf(void *mem_priv) in vb2_dc_unmap_dmabuf() argument
626 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_unmap_dmabuf()
650 static void vb2_dc_detach_dmabuf(void *mem_priv) in vb2_dc_detach_dmabuf() argument
652 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_detach_dmabuf()
/Linux-v5.15/include/media/
Dvideobuf2-core.h178 void *mem_priv; member