Lines Matching defs:q
37 #define dprintk(q, level, fmt, arg...) \ argument
93 #define log_qop(q, op) \ argument
97 #define call_qop(q, op, args...) \ argument
108 #define call_void_qop(q, op, args...) \ argument
157 #define call_qop(q, op, args...) \ argument
160 #define call_void_qop(q, op, args...) \ argument
177 #define call_bufop(q, op, args...) \ argument
185 #define call_void_bufop(q, op, args...) \ argument
216 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() local
357 struct vb2_queue *q = vb->vb2_queue; in __setup_offsets() local
379 static void init_buffer_cache_hints(struct vb2_queue *q, struct vb2_buffer *vb) in init_buffer_cache_hints()
407 static int __vb2_queue_alloc(struct vb2_queue *q, enum vb2_memory memory, in __vb2_queue_alloc()
479 static void __vb2_free_mem(struct vb2_queue *q, unsigned int buffers) in __vb2_free_mem()
505 static void __vb2_queue_free(struct vb2_queue *q, unsigned int buffers) in __vb2_queue_free()
605 bool vb2_buffer_in_use(struct vb2_queue *q, struct vb2_buffer *vb) in vb2_buffer_in_use()
627 static bool __buffers_in_use(struct vb2_queue *q) in __buffers_in_use()
637 void vb2_core_querybuf(struct vb2_queue *q, unsigned int index, void *pb) in vb2_core_querybuf()
647 static int __verify_userptr_ops(struct vb2_queue *q) in __verify_userptr_ops()
660 static int __verify_mmap_ops(struct vb2_queue *q) in __verify_mmap_ops()
673 static int __verify_dmabuf_ops(struct vb2_queue *q) in __verify_dmabuf_ops()
683 int vb2_verify_memory_type(struct vb2_queue *q, in vb2_verify_memory_type()
729 static void set_queue_coherency(struct vb2_queue *q, bool non_coherent_mem) in set_queue_coherency()
738 static bool verify_coherency_flags(struct vb2_queue *q, bool non_coherent_mem) in verify_coherency_flags()
747 int vb2_core_reqbufs(struct vb2_queue *q, enum vb2_memory memory, in vb2_core_reqbufs()
905 int vb2_core_create_bufs(struct vb2_queue *q, enum vb2_memory memory, in vb2_core_create_bufs()
1046 struct vb2_queue *q = vb->vb2_queue; in vb2_buffer_done() local
1100 void vb2_discard_done(struct vb2_queue *q) in vb2_discard_done()
1130 struct vb2_queue *q = vb->vb2_queue; in __prepare_userptr() local
1246 struct vb2_queue *q = vb->vb2_queue; in __prepare_dmabuf() local
1382 struct vb2_queue *q = vb->vb2_queue; in __enqueue_in_driver() local
1394 struct vb2_queue *q = vb->vb2_queue; in __buf_prepare() local
1545 int vb2_core_prepare_buf(struct vb2_queue *q, unsigned int index, void *pb) in vb2_core_prepare_buf()
1585 static int vb2_start_streaming(struct vb2_queue *q) in vb2_start_streaming()
1637 int vb2_core_qbuf(struct vb2_queue *q, unsigned int index, void *pb, in vb2_core_qbuf()
1797 static int __vb2_wait_for_done_vb(struct vb2_queue *q, int nonblocking) in __vb2_wait_for_done_vb()
1878 static int __vb2_get_done_vb(struct vb2_queue *q, struct vb2_buffer **vb, in __vb2_get_done_vb()
1911 int vb2_wait_for_all_buffers(struct vb2_queue *q) in vb2_wait_for_all_buffers()
1929 struct vb2_queue *q = vb->vb2_queue; in __vb2_dqbuf() local
1940 int vb2_core_dqbuf(struct vb2_queue *q, unsigned int *pindex, void *pb, in vb2_core_dqbuf()
2004 static void __vb2_queue_cancel(struct vb2_queue *q) in __vb2_queue_cancel()
2104 int vb2_core_streamon(struct vb2_queue *q, unsigned int type) in vb2_core_streamon()
2154 void vb2_queue_error(struct vb2_queue *q) in vb2_queue_error()
2162 int vb2_core_streamoff(struct vb2_queue *q, unsigned int type) in vb2_core_streamoff()
2190 static int __find_plane_by_offset(struct vb2_queue *q, unsigned long off, in __find_plane_by_offset()
2232 int vb2_core_expbuf(struct vb2_queue *q, int *fd, unsigned int type, in vb2_core_expbuf()
2305 int vb2_mmap(struct vb2_queue *q, struct vm_area_struct *vma) in vb2_mmap()
2377 unsigned long vb2_get_unmapped_area(struct vb2_queue *q, in vb2_get_unmapped_area()
2412 int vb2_core_queue_init(struct vb2_queue *q) in vb2_core_queue_init()
2466 void vb2_core_queue_release(struct vb2_queue *q) in vb2_core_queue_release()
2476 __poll_t vb2_core_poll(struct vb2_queue *q, struct file *file, in vb2_core_poll()
2625 static int __vb2_init_fileio(struct vb2_queue *q, int read) in __vb2_init_fileio()
2748 static int __vb2_cleanup_fileio(struct vb2_queue *q) in __vb2_cleanup_fileio()
2772 static size_t __vb2_perform_fileio(struct vb2_queue *q, char __user *data, size_t count, in __vb2_perform_fileio()
2933 size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count, in vb2_read()
2940 size_t vb2_write(struct vb2_queue *q, const char __user *data, size_t count, in vb2_write()
2957 struct vb2_queue *q = data; in vb2_thread() local
3019 int vb2_thread_start(struct vb2_queue *q, vb2_thread_fnc fnc, void *priv, in vb2_thread_start()
3059 int vb2_thread_stop(struct vb2_queue *q) in vb2_thread_stop()