Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c370 static int vb2_vmalloc_map_dmabuf(void *mem_priv) in vb2_vmalloc_map_dmabuf() argument
372 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_map_dmabuf()
379 static void vb2_vmalloc_unmap_dmabuf(void *mem_priv) in vb2_vmalloc_unmap_dmabuf() argument
381 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_unmap_dmabuf()
387 static void vb2_vmalloc_detach_dmabuf(void *mem_priv) in vb2_vmalloc_detach_dmabuf() argument
389 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_detach_dmabuf()
Dvideobuf2-dma-sg.c536 static int vb2_dma_sg_map_dmabuf(void *mem_priv) in vb2_dma_sg_map_dmabuf() argument
538 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_map_dmabuf()
564 static void vb2_dma_sg_unmap_dmabuf(void *mem_priv) in vb2_dma_sg_unmap_dmabuf() argument
566 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_unmap_dmabuf()
588 static void vb2_dma_sg_detach_dmabuf(void *mem_priv) in vb2_dma_sg_detach_dmabuf() argument
590 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_detach_dmabuf()
Dvideobuf2-dma-contig.c579 static int vb2_dc_map_dmabuf(void *mem_priv) in vb2_dc_map_dmabuf() argument
581 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_map_dmabuf()
618 static void vb2_dc_unmap_dmabuf(void *mem_priv) in vb2_dc_unmap_dmabuf() argument
620 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_unmap_dmabuf()
643 static void vb2_dc_detach_dmabuf(void *mem_priv) in vb2_dc_detach_dmabuf() argument
645 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_detach_dmabuf()
/kernel/linux/linux-5.10/include/media/
Dvideobuf2-core.h175 void *mem_priv; member
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch31269 + buffer->gd_buffer[index].mem_priv = NULL;
31286 + buffer->gd_buffer[i].mem_priv = NULL;
31331 + buffer->gd_buffer[index].mem_priv = buf;
31353 + buf = buffer->gd_buffer[index].mem_priv;
31380 + buf = buffer->gd_buffer[index].mem_priv;
31495 + dma_buf = buffer->gd_buffer[i].mem_priv;
31686 + void *mem_priv;