Lines Matching defs:q

45 	struct vb2_queue *q = vb->vb2_queue;  in __vb2_buf_mem_alloc()  local
143 static void __setup_lengths(struct vb2_queue *q, unsigned int n) in __setup_lengths()
162 static void __setup_offsets(struct vb2_queue *q, unsigned int n) in __setup_offsets()
201 static int __vb2_queue_alloc(struct vb2_queue *q, enum vb2_memory memory, in __vb2_queue_alloc()
263 static void __vb2_free_mem(struct vb2_queue *q, unsigned int buffers) in __vb2_free_mem()
289 static int __vb2_queue_free(struct vb2_queue *q, unsigned int buffers) in __vb2_queue_free()
404 bool vb2_buffer_in_use(struct vb2_queue *q, struct vb2_buffer *vb) in vb2_buffer_in_use()
426 static bool __buffers_in_use(struct vb2_queue *q) in __buffers_in_use()
449 int vb2_core_querybuf(struct vb2_queue *q, unsigned int index, void *pb) in vb2_core_querybuf()
459 static int __verify_userptr_ops(struct vb2_queue *q) in __verify_userptr_ops()
472 static int __verify_mmap_ops(struct vb2_queue *q) in __verify_mmap_ops()
485 static int __verify_dmabuf_ops(struct vb2_queue *q) in __verify_dmabuf_ops()
499 int vb2_verify_memory_type(struct vb2_queue *q, in vb2_verify_memory_type()
569 int vb2_core_reqbufs(struct vb2_queue *q, enum vb2_memory memory, in vb2_core_reqbufs()
703 int vb2_core_create_bufs(struct vb2_queue *q, enum vb2_memory memory, in vb2_core_create_bufs()
846 struct vb2_queue *q = vb->vb2_queue; in vb2_buffer_done() local
914 void vb2_discard_done(struct vb2_queue *q) in vb2_discard_done()
942 struct vb2_queue *q = vb->vb2_queue; in __qbuf_userptr() local
1056 struct vb2_queue *q = vb->vb2_queue; in __qbuf_dmabuf() local
1184 struct vb2_queue *q = vb->vb2_queue; in __enqueue_in_driver() local
1201 struct vb2_queue *q = vb->vb2_queue; in __buf_prepare() local
1249 int vb2_core_prepare_buf(struct vb2_queue *q, unsigned int index, void *pb) in vb2_core_prepare_buf()
1287 static int vb2_start_streaming(struct vb2_queue *q) in vb2_start_streaming()
1357 int vb2_core_qbuf(struct vb2_queue *q, unsigned int index, void *pb) in vb2_core_qbuf()
1429 static int __vb2_wait_for_done_vb(struct vb2_queue *q, int nonblocking) in __vb2_wait_for_done_vb()
1504 static int __vb2_get_done_vb(struct vb2_queue *q, struct vb2_buffer **vb, in __vb2_get_done_vb()
1544 int vb2_wait_for_all_buffers(struct vb2_queue *q) in vb2_wait_for_all_buffers()
1562 struct vb2_queue *q = vb->vb2_queue; in __vb2_dqbuf() local
1602 int vb2_core_dqbuf(struct vb2_queue *q, void *pb, bool nonblocking) in vb2_core_dqbuf()
1653 static void __vb2_queue_cancel(struct vb2_queue *q) in __vb2_queue_cancel()
1715 int vb2_core_streamon(struct vb2_queue *q, unsigned int type) in vb2_core_streamon()
1772 void vb2_queue_error(struct vb2_queue *q) in vb2_queue_error()
1780 int vb2_core_streamoff(struct vb2_queue *q, unsigned int type) in vb2_core_streamoff()
1808 static int __find_plane_by_offset(struct vb2_queue *q, unsigned long off, in __find_plane_by_offset()
1847 int vb2_core_expbuf(struct vb2_queue *q, int *fd, unsigned int type, in vb2_core_expbuf()
1937 int vb2_mmap(struct vb2_queue *q, struct vm_area_struct *vma) in vb2_mmap()
2006 unsigned long vb2_get_unmapped_area(struct vb2_queue *q, in vb2_get_unmapped_area()
2049 int vb2_core_queue_init(struct vb2_queue *q) in vb2_core_queue_init()
2084 void vb2_core_queue_release(struct vb2_queue *q) in vb2_core_queue_release()