Lines Matching defs:q
33 #define call_memop(q, op, args...) \ argument
37 #define call_qop(q, op, args...) \ argument
49 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() local
81 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_free() local
98 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_userptr_put() local
112 static void __setup_offsets(struct vb2_queue *q, unsigned int n) in __setup_offsets()
152 static int __vb2_queue_alloc(struct vb2_queue *q, enum v4l2_memory memory, in __vb2_queue_alloc()
216 static void __vb2_free_mem(struct vb2_queue *q, unsigned int buffers) in __vb2_free_mem()
240 static void __vb2_queue_free(struct vb2_queue *q, unsigned int buffers) in __vb2_queue_free()
296 static bool __buffer_in_use(struct vb2_queue *q, struct vb2_buffer *vb) in __buffer_in_use()
317 static bool __buffers_in_use(struct vb2_queue *q) in __buffers_in_use()
333 struct vb2_queue *q = vb->vb2_queue; in __fill_v4l2_buffer() local
408 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_querybuf()
431 static int __verify_userptr_ops(struct vb2_queue *q) in __verify_userptr_ops()
444 static int __verify_mmap_ops(struct vb2_queue *q) in __verify_mmap_ops()
476 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req) in vb2_reqbufs()
612 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create) in vb2_create_bufs()
731 struct vb2_queue *q = vb->vb2_queue; in vb2_plane_vaddr() local
754 struct vb2_queue *q = vb->vb2_queue; in vb2_plane_cookie() local
777 struct vb2_queue *q = vb->vb2_queue; in vb2_buffer_done() local
872 struct vb2_queue *q = vb->vb2_queue; in __qbuf_userptr() local
964 struct vb2_queue *q = vb->vb2_queue; in __enqueue_in_driver() local
973 struct vb2_queue *q = vb->vb2_queue; in __buf_prepare() local
1013 int vb2_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_prepare_buf()
1077 int vb2_qbuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_qbuf()
1182 static int __vb2_wait_for_done_vb(struct vb2_queue *q, int nonblocking) in __vb2_wait_for_done_vb()
1244 static int __vb2_get_done_vb(struct vb2_queue *q, struct vb2_buffer **vb, in __vb2_get_done_vb()
1278 int vb2_wait_for_all_buffers(struct vb2_queue *q) in vb2_wait_for_all_buffers()
1311 int vb2_dqbuf(struct vb2_queue *q, struct v4l2_buffer *b, bool nonblocking) in vb2_dqbuf()
1369 static void __vb2_queue_cancel(struct vb2_queue *q) in __vb2_queue_cancel()
1413 int vb2_streamon(struct vb2_queue *q, enum v4l2_buf_type type) in vb2_streamon()
1473 int vb2_streamoff(struct vb2_queue *q, enum v4l2_buf_type type) in vb2_streamoff()
1504 static int __find_plane_by_offset(struct vb2_queue *q, unsigned long off, in __find_plane_by_offset()
1549 int vb2_mmap(struct vb2_queue *q, struct vm_area_struct *vma) in vb2_mmap()
1599 unsigned long vb2_get_unmapped_area(struct vb2_queue *q, in vb2_get_unmapped_area()
1648 unsigned int vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait) in vb2_poll()
1711 int vb2_queue_init(struct vb2_queue *q) in vb2_queue_init()
1742 void vb2_queue_release(struct vb2_queue *q) in vb2_queue_release()
1787 static int __vb2_init_fileio(struct vb2_queue *q, int read) in __vb2_init_fileio()
1900 static int __vb2_cleanup_fileio(struct vb2_queue *q) in __vb2_cleanup_fileio()
1929 static size_t __vb2_perform_fileio(struct vb2_queue *q, char __user *data, size_t count, in __vb2_perform_fileio()
2086 size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count, in vb2_read()
2093 size_t vb2_write(struct vb2_queue *q, char __user *data, size_t count, in vb2_write()