Lines Matching defs:q

91 #define log_qop(q, op)							\  argument
95 #define call_qop(q, op, args...) \ argument
106 #define call_void_qop(q, op, args...) \ argument
155 #define call_qop(q, op, args...) \ argument
158 #define call_void_qop(q, op, args...) \ argument
191 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() local
288 static void __setup_lengths(struct vb2_queue *q, unsigned int n) in __setup_lengths()
307 static void __setup_offsets(struct vb2_queue *q, unsigned int n) in __setup_offsets()
346 static int __vb2_queue_alloc(struct vb2_queue *q, enum v4l2_memory memory, in __vb2_queue_alloc()
412 static void __vb2_free_mem(struct vb2_queue *q, unsigned int buffers) in __vb2_free_mem()
438 static int __vb2_queue_free(struct vb2_queue *q, unsigned int buffers) in __vb2_queue_free()
619 static bool __buffer_in_use(struct vb2_queue *q, struct vb2_buffer *vb) in __buffer_in_use()
640 static bool __buffers_in_use(struct vb2_queue *q) in __buffers_in_use()
656 struct vb2_queue *q = vb->vb2_queue; in __fill_v4l2_buffer() local
738 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_querybuf()
764 static int __verify_userptr_ops(struct vb2_queue *q) in __verify_userptr_ops()
777 static int __verify_mmap_ops(struct vb2_queue *q) in __verify_mmap_ops()
790 static int __verify_dmabuf_ops(struct vb2_queue *q) in __verify_dmabuf_ops()
804 static int __verify_memory_type(struct vb2_queue *q, in __verify_memory_type()
872 static int __reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req) in __reqbufs()
993 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req) in vb2_reqbufs()
1016 static int __create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create) in __create_bufs()
1104 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create) in vb2_create_bufs()
1174 struct vb2_queue *q = vb->vb2_queue; in vb2_buffer_done() local
1228 void vb2_discard_done(struct vb2_queue *q) in vb2_discard_done()
1399 struct vb2_queue *q = vb->vb2_queue; in __qbuf_userptr() local
1503 struct vb2_queue *q = vb->vb2_queue; in __qbuf_dmabuf() local
1621 struct vb2_queue *q = vb->vb2_queue; in __enqueue_in_driver() local
1636 struct vb2_queue *q = vb->vb2_queue; in __buf_prepare() local
1692 static int vb2_queue_or_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b, in vb2_queue_or_prepare_buf()
1734 int vb2_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_prepare_buf()
1777 static int vb2_start_streaming(struct vb2_queue *q) in vb2_start_streaming()
1829 static int vb2_internal_qbuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_internal_qbuf()
1920 int vb2_qbuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_qbuf()
1937 static int __vb2_wait_for_done_vb(struct vb2_queue *q, int nonblocking) in __vb2_wait_for_done_vb()
2007 static int __vb2_get_done_vb(struct vb2_queue *q, struct vb2_buffer **vb, in __vb2_get_done_vb()
2047 int vb2_wait_for_all_buffers(struct vb2_queue *q) in vb2_wait_for_all_buffers()
2065 struct vb2_queue *q = vb->vb2_queue; in __vb2_dqbuf() local
2084 static int vb2_internal_dqbuf(struct vb2_queue *q, struct v4l2_buffer *b, bool nonblocking) in vb2_internal_dqbuf()
2146 int vb2_dqbuf(struct vb2_queue *q, struct v4l2_buffer *b, bool nonblocking) in vb2_dqbuf()
2162 static void __vb2_queue_cancel(struct vb2_queue *q) in __vb2_queue_cancel()
2224 static int vb2_internal_streamon(struct vb2_queue *q, enum v4l2_buf_type type) in vb2_internal_streamon()
2280 void vb2_queue_error(struct vb2_queue *q) in vb2_queue_error()
2301 int vb2_streamon(struct vb2_queue *q, enum v4l2_buf_type type) in vb2_streamon()
2311 static int vb2_internal_streamoff(struct vb2_queue *q, enum v4l2_buf_type type) in vb2_internal_streamoff()
2349 int vb2_streamoff(struct vb2_queue *q, enum v4l2_buf_type type) in vb2_streamoff()
2362 static int __find_plane_by_offset(struct vb2_queue *q, unsigned long off, in __find_plane_by_offset()
2397 int vb2_expbuf(struct vb2_queue *q, struct v4l2_exportbuffer *eb) in vb2_expbuf()
2485 int vb2_mmap(struct vb2_queue *q, struct vm_area_struct *vma) in vb2_mmap()
2554 unsigned long vb2_get_unmapped_area(struct vb2_queue *q, in vb2_get_unmapped_area()
2608 unsigned int vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait) in vb2_poll()
2704 int vb2_queue_init(struct vb2_queue *q) in vb2_queue_init()
2746 void vb2_queue_release(struct vb2_queue *q) in vb2_queue_release()
2812 static int __vb2_init_fileio(struct vb2_queue *q, int read) in __vb2_init_fileio()
2943 static int __vb2_cleanup_fileio(struct vb2_queue *q) in __vb2_cleanup_fileio()
2967 static size_t __vb2_perform_fileio(struct vb2_queue *q, char __user *data, size_t count, in __vb2_perform_fileio()
3135 size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count, in vb2_read()
3142 size_t vb2_write(struct vb2_queue *q, const char __user *data, size_t count, in vb2_write()
3159 struct vb2_queue *q = data; in vb2_thread() local
3226 int vb2_thread_start(struct vb2_queue *q, vb2_thread_fnc fnc, void *priv, in vb2_thread_start()
3266 int vb2_thread_stop(struct vb2_queue *q) in vb2_thread_stop()
3498 struct vb2_queue *q = vdev->queue; in vb2_fop_poll() local