Home
last modified time | relevance | path

Searched refs:plane_no (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/include/media/
Dvideobuf2-core.h584 void *vb2_plane_vaddr(struct vb2_buffer *vb, unsigned int plane_no);
598 void *vb2_plane_cookie(struct vb2_buffer *vb, unsigned int plane_no);
1068 unsigned int plane_no, unsigned long size) in vb2_set_plane_payload() argument
1070 if (plane_no < vb->num_planes) in vb2_set_plane_payload()
1071 vb->planes[plane_no].bytesused = size; in vb2_set_plane_payload()
1081 unsigned int plane_no) in vb2_get_plane_payload() argument
1083 if (plane_no < vb->num_planes) in vb2_get_plane_payload()
1084 return vb->planes[plane_no].bytesused; in vb2_get_plane_payload()
1095 vb2_plane_size(struct vb2_buffer *vb, unsigned int plane_no) in vb2_plane_size() argument
1097 if (plane_no < vb->num_planes) in vb2_plane_size()
[all …]
Dvideobuf2-dma-sg.h19 struct vb2_buffer *vb, unsigned int plane_no) in vb2_dma_sg_plane_desc() argument
21 return (struct sg_table *)vb2_plane_cookie(vb, plane_no); in vb2_dma_sg_plane_desc()
Dvideobuf2-dma-contig.h20 vb2_dma_contig_plane_dma_addr(struct vb2_buffer *vb, unsigned int plane_no) in vb2_dma_contig_plane_dma_addr() argument
22 dma_addr_t *addr = vb2_plane_cookie(vb, plane_no); in vb2_dma_contig_plane_dma_addr()
/Linux-v4.19/drivers/media/common/videobuf2/
Dvideobuf2-core.c875 void *vb2_plane_vaddr(struct vb2_buffer *vb, unsigned int plane_no) in vb2_plane_vaddr() argument
877 if (plane_no >= vb->num_planes || !vb->planes[plane_no].mem_priv) in vb2_plane_vaddr()
880 return call_ptr_memop(vb, vaddr, vb->planes[plane_no].mem_priv); in vb2_plane_vaddr()
885 void *vb2_plane_cookie(struct vb2_buffer *vb, unsigned int plane_no) in vb2_plane_cookie() argument
887 if (plane_no >= vb->num_planes || !vb->planes[plane_no].mem_priv) in vb2_plane_cookie()
890 return call_ptr_memop(vb, cookie, vb->planes[plane_no].mem_priv); in vb2_plane_cookie()