Home
last modified time | relevance | path

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

/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-core.c226 void *mem_priv; in __vb2_buf_mem_alloc() local
242 mem_priv = call_ptr_memop(alloc, in __vb2_buf_mem_alloc()
246 if (IS_ERR_OR_NULL(mem_priv)) { in __vb2_buf_mem_alloc()
247 if (mem_priv) in __vb2_buf_mem_alloc()
248 ret = PTR_ERR(mem_priv); in __vb2_buf_mem_alloc()
253 vb->planes[plane].mem_priv = mem_priv; in __vb2_buf_mem_alloc()
260 call_void_memop(vb, put, vb->planes[plane - 1].mem_priv); in __vb2_buf_mem_alloc()
261 vb->planes[plane - 1].mem_priv = NULL; in __vb2_buf_mem_alloc()
275 call_void_memop(vb, put, vb->planes[plane].mem_priv); in __vb2_buf_mem_free()
276 vb->planes[plane].mem_priv = NULL; in __vb2_buf_mem_free()
[all …]
H A Dvideobuf2-vmalloc.c368 static int vb2_vmalloc_map_dmabuf(void *mem_priv) in vb2_vmalloc_map_dmabuf() argument
370 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_map_dmabuf()
382 static void vb2_vmalloc_unmap_dmabuf(void *mem_priv) in vb2_vmalloc_unmap_dmabuf() argument
384 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_unmap_dmabuf()
391 static void vb2_vmalloc_detach_dmabuf(void *mem_priv) in vb2_vmalloc_detach_dmabuf() argument
393 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_detach_dmabuf()
H A Dvideobuf2-dma-sg.c551 static int vb2_dma_sg_map_dmabuf(void *mem_priv) in vb2_dma_sg_map_dmabuf() argument
553 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_map_dmabuf()
579 static void vb2_dma_sg_unmap_dmabuf(void *mem_priv) in vb2_dma_sg_unmap_dmabuf() argument
581 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_unmap_dmabuf()
604 static void vb2_dma_sg_detach_dmabuf(void *mem_priv) in vb2_dma_sg_detach_dmabuf() argument
606 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_detach_dmabuf()
H A Dvideobuf2-dma-contig.c690 static int vb2_dc_map_dmabuf(void *mem_priv) in vb2_dc_map_dmabuf() argument
692 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_map_dmabuf()
730 static void vb2_dc_unmap_dmabuf(void *mem_priv) in vb2_dc_unmap_dmabuf() argument
732 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_unmap_dmabuf()
756 static void vb2_dc_detach_dmabuf(void *mem_priv) in vb2_dc_detach_dmabuf() argument
758 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_detach_dmabuf()
/linux/include/media/
H A Dvideobuf2-core.h181 void *mem_priv; member