Lines Matching defs:q
47 #define dprintk(q, level, fmt, arg...) \ argument
103 #define log_qop(q, op) \ argument
107 #define call_qop(q, op, args...) \ argument
118 #define call_void_qop(q, op, args...) \ argument
167 #define call_qop(q, op, args...) \ argument
170 #define call_void_qop(q, op, args...) \ argument
187 #define call_bufop(q, op, args...) \ argument
195 #define call_void_bufop(q, op, args...) \ argument
225 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() local
380 struct vb2_queue *q = vb->vb2_queue; in __setup_offsets() local
408 static void init_buffer_cache_hints(struct vb2_queue *q, struct vb2_buffer *vb) in init_buffer_cache_hints()
435 static void vb2_queue_add_buffer(struct vb2_queue *q, struct vb2_buffer *vb, unsigned int index) in vb2_queue_add_buffer()
465 static int __vb2_queue_alloc(struct vb2_queue *q, enum vb2_memory memory, in __vb2_queue_alloc()
559 static void __vb2_free_mem(struct vb2_queue *q, unsigned int start, unsigned int count) in __vb2_free_mem()
584 static void __vb2_queue_free(struct vb2_queue *q, unsigned int start, unsigned int count) in __vb2_queue_free()
700 bool vb2_buffer_in_use(struct vb2_queue *q, struct vb2_buffer *vb) in vb2_buffer_in_use()
722 static bool __buffers_in_use(struct vb2_queue *q) in __buffers_in_use()
737 void vb2_core_querybuf(struct vb2_queue *q, struct vb2_buffer *vb, void *pb) in vb2_core_querybuf()
747 static int __verify_userptr_ops(struct vb2_queue *q) in __verify_userptr_ops()
760 static int __verify_mmap_ops(struct vb2_queue *q) in __verify_mmap_ops()
773 static int __verify_dmabuf_ops(struct vb2_queue *q) in __verify_dmabuf_ops()
783 int vb2_verify_memory_type(struct vb2_queue *q, in vb2_verify_memory_type()
829 static void set_queue_coherency(struct vb2_queue *q, bool non_coherent_mem) in set_queue_coherency()
838 static bool verify_coherency_flags(struct vb2_queue *q, bool non_coherent_mem) in verify_coherency_flags()
847 static int vb2_core_allocated_buffers_storage(struct vb2_queue *q) in vb2_core_allocated_buffers_storage()
865 static void vb2_core_free_buffers_storage(struct vb2_queue *q) in vb2_core_free_buffers_storage()
873 int vb2_core_reqbufs(struct vb2_queue *q, enum vb2_memory memory, in vb2_core_reqbufs()
1038 int vb2_core_create_bufs(struct vb2_queue *q, enum vb2_memory memory, in vb2_core_create_bufs()
1184 struct vb2_queue *q = vb->vb2_queue; in vb2_buffer_done() local
1238 void vb2_discard_done(struct vb2_queue *q) in vb2_discard_done()
1268 struct vb2_queue *q = vb->vb2_queue; in __prepare_userptr() local
1384 struct vb2_queue *q = vb->vb2_queue; in __prepare_dmabuf() local
1539 struct vb2_queue *q = vb->vb2_queue; in __enqueue_in_driver() local
1551 struct vb2_queue *q = vb->vb2_queue; in __buf_prepare() local
1699 int vb2_core_prepare_buf(struct vb2_queue *q, struct vb2_buffer *vb, void *pb) in vb2_core_prepare_buf()
1726 int vb2_core_remove_bufs(struct vb2_queue *q, unsigned int start, unsigned int count) in vb2_core_remove_bufs()
1775 static int vb2_start_streaming(struct vb2_queue *q) in vb2_start_streaming()
1831 int vb2_core_qbuf(struct vb2_queue *q, struct vb2_buffer *vb, void *pb, in vb2_core_qbuf()
1988 static int __vb2_wait_for_done_vb(struct vb2_queue *q, int nonblocking) in __vb2_wait_for_done_vb()
2076 static int __vb2_get_done_vb(struct vb2_queue *q, struct vb2_buffer **vb, in __vb2_get_done_vb()
2109 int vb2_wait_for_all_buffers(struct vb2_queue *q) in vb2_wait_for_all_buffers()
2127 struct vb2_queue *q = vb->vb2_queue; in __vb2_dqbuf() local
2138 int vb2_core_dqbuf(struct vb2_queue *q, unsigned int *pindex, void *pb, in vb2_core_dqbuf()
2202 static void __vb2_queue_cancel(struct vb2_queue *q) in __vb2_queue_cancel()
2313 int vb2_core_streamon(struct vb2_queue *q, unsigned int type) in vb2_core_streamon()
2364 void vb2_queue_error(struct vb2_queue *q) in vb2_queue_error()
2372 int vb2_core_streamoff(struct vb2_queue *q, unsigned int type) in vb2_core_streamoff()
2400 static int __find_plane_by_offset(struct vb2_queue *q, unsigned long offset, in __find_plane_by_offset()
2434 int vb2_core_expbuf(struct vb2_queue *q, int *fd, unsigned int type, in vb2_core_expbuf()
2499 int vb2_mmap(struct vb2_queue *q, struct vm_area_struct *vma) in vb2_mmap()
2569 unsigned long vb2_get_unmapped_area(struct vb2_queue *q, in vb2_get_unmapped_area()
2602 int vb2_core_queue_init(struct vb2_queue *q) in vb2_core_queue_init()
2690 void vb2_core_queue_release(struct vb2_queue *q) in vb2_core_queue_release()
2702 __poll_t vb2_core_poll(struct vb2_queue *q, struct file *file, in vb2_core_poll()
2851 static int __vb2_init_fileio(struct vb2_queue *q, int read) in __vb2_init_fileio()
2985 static int __vb2_cleanup_fileio(struct vb2_queue *q) in __vb2_cleanup_fileio()
3009 static size_t __vb2_perform_fileio(struct vb2_queue *q, char __user *data, size_t count, in __vb2_perform_fileio()
3173 size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count, in vb2_read()
3180 size_t vb2_write(struct vb2_queue *q, const char __user *data, size_t count, in vb2_write()
3197 struct vb2_queue *q = data; in vb2_thread() local
3275 int vb2_thread_start(struct vb2_queue *q, vb2_thread_fnc fnc, void *priv, in vb2_thread_start()
3315 int vb2_thread_stop(struct vb2_queue *q) in vb2_thread_stop()