Lines Matching defs:q
36 #define call_memop(q, op, args...) \ argument
40 #define call_qop(q, op, args...) \ argument
53 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() local
90 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_free() local
107 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_userptr_put() local
121 static void __vb2_plane_dmabuf_put(struct vb2_queue *q, struct vb2_plane *p) in __vb2_plane_dmabuf_put()
140 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_dmabuf_put() local
151 static void __setup_offsets(struct vb2_queue *q, unsigned int n) in __setup_offsets()
191 static int __vb2_queue_alloc(struct vb2_queue *q, enum v4l2_memory memory, in __vb2_queue_alloc()
255 static void __vb2_free_mem(struct vb2_queue *q, unsigned int buffers) in __vb2_free_mem()
281 static void __vb2_queue_free(struct vb2_queue *q, unsigned int buffers) in __vb2_queue_free()
340 static bool __buffer_in_use(struct vb2_queue *q, struct vb2_buffer *vb) in __buffer_in_use()
361 static bool __buffers_in_use(struct vb2_queue *q) in __buffers_in_use()
377 struct vb2_queue *q = vb->vb2_queue; in __fill_v4l2_buffer() local
449 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_querybuf()
475 static int __verify_userptr_ops(struct vb2_queue *q) in __verify_userptr_ops()
488 static int __verify_mmap_ops(struct vb2_queue *q) in __verify_mmap_ops()
501 static int __verify_dmabuf_ops(struct vb2_queue *q) in __verify_dmabuf_ops()
515 static int __verify_memory_type(struct vb2_queue *q, in __verify_memory_type()
583 static int __reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req) in __reqbufs()
679 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req) in vb2_reqbufs()
702 static int __create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create) in __create_bufs()
785 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create) in vb2_create_bufs()
806 struct vb2_queue *q = vb->vb2_queue; in vb2_plane_vaddr() local
829 struct vb2_queue *q = vb->vb2_queue; in vb2_plane_cookie() local
852 struct vb2_queue *q = vb->vb2_queue; in vb2_buffer_done() local
960 struct vb2_queue *q = vb->vb2_queue; in __qbuf_userptr() local
1052 struct vb2_queue *q = vb->vb2_queue; in __qbuf_dmabuf() local
1152 struct vb2_queue *q = vb->vb2_queue; in __enqueue_in_driver() local
1167 struct vb2_queue *q = vb->vb2_queue; in __buf_prepare() local
1210 int vb2_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_prepare_buf()
1276 int vb2_qbuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_qbuf()
1384 static int __vb2_wait_for_done_vb(struct vb2_queue *q, int nonblocking) in __vb2_wait_for_done_vb()
1448 static int __vb2_get_done_vb(struct vb2_queue *q, struct vb2_buffer **vb, in __vb2_get_done_vb()
1488 int vb2_wait_for_all_buffers(struct vb2_queue *q) in vb2_wait_for_all_buffers()
1505 struct vb2_queue *q = vb->vb2_queue; in __vb2_dqbuf() local
1545 int vb2_dqbuf(struct vb2_queue *q, struct v4l2_buffer *b, bool nonblocking) in vb2_dqbuf()
1601 static void __vb2_queue_cancel(struct vb2_queue *q) in __vb2_queue_cancel()
1645 int vb2_streamon(struct vb2_queue *q, enum v4l2_buf_type type) in vb2_streamon()
1705 int vb2_streamoff(struct vb2_queue *q, enum v4l2_buf_type type) in vb2_streamoff()
1736 static int __find_plane_by_offset(struct vb2_queue *q, unsigned long off, in __find_plane_by_offset()
1771 int vb2_expbuf(struct vb2_queue *q, struct v4l2_exportbuffer *eb) in vb2_expbuf()
1854 int vb2_mmap(struct vb2_queue *q, struct vm_area_struct *vma) in vb2_mmap()
1917 unsigned long vb2_get_unmapped_area(struct vb2_queue *q, in vb2_get_unmapped_area()
1969 unsigned int vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait) in vb2_poll()
2050 int vb2_queue_init(struct vb2_queue *q) in vb2_queue_init()
2088 void vb2_queue_release(struct vb2_queue *q) in vb2_queue_release()
2133 static int __vb2_init_fileio(struct vb2_queue *q, int read) in __vb2_init_fileio()
2246 static int __vb2_cleanup_fileio(struct vb2_queue *q) in __vb2_cleanup_fileio()
2275 static size_t __vb2_perform_fileio(struct vb2_queue *q, char __user *data, size_t count, in __vb2_perform_fileio()
2432 size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count, in vb2_read()
2439 size_t vb2_write(struct vb2_queue *q, char __user *data, size_t count, in vb2_write()
2643 struct vb2_queue *q = vdev->queue; in vb2_fop_poll() local