Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/common/videobuf2/
Dvideobuf2-core.c217 void *mem_priv; in __vb2_buf_mem_alloc() local
233 mem_priv = call_ptr_memop(alloc, in __vb2_buf_mem_alloc()
237 if (IS_ERR_OR_NULL(mem_priv)) { in __vb2_buf_mem_alloc()
238 if (mem_priv) in __vb2_buf_mem_alloc()
239 ret = PTR_ERR(mem_priv); in __vb2_buf_mem_alloc()
244 vb->planes[plane].mem_priv = mem_priv; in __vb2_buf_mem_alloc()
251 call_void_memop(vb, put, vb->planes[plane - 1].mem_priv); in __vb2_buf_mem_alloc()
252 vb->planes[plane - 1].mem_priv = NULL; in __vb2_buf_mem_alloc()
266 call_void_memop(vb, put, vb->planes[plane].mem_priv); in __vb2_buf_mem_free()
267 vb->planes[plane].mem_priv = NULL; in __vb2_buf_mem_free()
[all …]
Dvideobuf2-vmalloc.c373 static int vb2_vmalloc_map_dmabuf(void *mem_priv) in vb2_vmalloc_map_dmabuf() argument
375 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_map_dmabuf()
387 static void vb2_vmalloc_unmap_dmabuf(void *mem_priv) in vb2_vmalloc_unmap_dmabuf() argument
389 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_unmap_dmabuf()
396 static void vb2_vmalloc_detach_dmabuf(void *mem_priv) in vb2_vmalloc_detach_dmabuf() argument
398 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_detach_dmabuf()
Dvideobuf2-dma-sg.c552 static int vb2_dma_sg_map_dmabuf(void *mem_priv) in vb2_dma_sg_map_dmabuf() argument
554 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_map_dmabuf()
580 static void vb2_dma_sg_unmap_dmabuf(void *mem_priv) in vb2_dma_sg_unmap_dmabuf() argument
582 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_unmap_dmabuf()
605 static void vb2_dma_sg_detach_dmabuf(void *mem_priv) in vb2_dma_sg_detach_dmabuf() argument
607 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_detach_dmabuf()
Dvideobuf2-dma-contig.c697 static int vb2_dc_map_dmabuf(void *mem_priv) in vb2_dc_map_dmabuf() argument
699 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_map_dmabuf()
736 static void vb2_dc_unmap_dmabuf(void *mem_priv) in vb2_dc_unmap_dmabuf() argument
738 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_unmap_dmabuf()
762 static void vb2_dc_detach_dmabuf(void *mem_priv) in vb2_dc_detach_dmabuf() argument
764 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_detach_dmabuf()
/linux-6.1.9/include/media/
Dvideobuf2-core.h179 void *mem_priv; member