Home
last modified time | relevance | path

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

/linux-3.4.99/include/media/
Dvideobuf2-core.h302 void *vb2_plane_vaddr(struct vb2_buffer *vb, unsigned int plane_no);
303 void *vb2_plane_cookie(struct vb2_buffer *vb, unsigned int plane_no);
374 unsigned int plane_no, unsigned long size) in vb2_set_plane_payload() argument
376 if (plane_no < vb->num_planes) in vb2_set_plane_payload()
377 vb->v4l2_planes[plane_no].bytesused = size; in vb2_set_plane_payload()
387 unsigned int plane_no) in vb2_get_plane_payload() argument
389 if (plane_no < vb->num_planes) in vb2_get_plane_payload()
390 return vb->v4l2_planes[plane_no].bytesused; in vb2_get_plane_payload()
400 vb2_plane_size(struct vb2_buffer *vb, unsigned int plane_no) in vb2_plane_size() argument
402 if (plane_no < vb->num_planes) in vb2_plane_size()
[all …]
Dvideobuf2-dma-sg.h25 struct vb2_buffer *vb, unsigned int plane_no) in vb2_dma_sg_plane_desc() argument
27 return (struct vb2_dma_sg_desc *)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-3.4.99/drivers/media/video/
Dvideobuf2-core.c729 void *vb2_plane_vaddr(struct vb2_buffer *vb, unsigned int plane_no) in vb2_plane_vaddr() argument
733 if (plane_no > vb->num_planes || !vb->planes[plane_no].mem_priv) in vb2_plane_vaddr()
736 return call_memop(q, vaddr, vb->planes[plane_no].mem_priv); in vb2_plane_vaddr()
752 void *vb2_plane_cookie(struct vb2_buffer *vb, unsigned int plane_no) in vb2_plane_cookie() argument
756 if (plane_no > vb->num_planes || !vb->planes[plane_no].mem_priv) in vb2_plane_cookie()
759 return call_memop(q, cookie, vb->planes[plane_no].mem_priv); in vb2_plane_cookie()