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
226 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() local
367 struct vb2_queue *q = vb->vb2_queue; in __setup_offsets() local
395 static void init_buffer_cache_hints(struct vb2_queue *q, struct vb2_buffer *vb) in init_buffer_cache_hints()
422 static void vb2_queue_add_buffer(struct vb2_queue *q, struct vb2_buffer *vb, unsigned int index) in vb2_queue_add_buffer()
448 static int __vb2_queue_alloc(struct vb2_queue *q, enum vb2_memory memory, in __vb2_queue_alloc()
522 static void __vb2_free_mem(struct vb2_queue *q, unsigned int buffers) in __vb2_free_mem()
549 static void __vb2_queue_free(struct vb2_queue *q, unsigned int buffers) in __vb2_queue_free()
669 bool vb2_buffer_in_use(struct vb2_queue *q, struct vb2_buffer *vb) in vb2_buffer_in_use()
691 static bool __buffers_in_use(struct vb2_queue *q) in __buffers_in_use()
706 void vb2_core_querybuf(struct vb2_queue *q, struct vb2_buffer *vb, void *pb) in vb2_core_querybuf()
716 static int __verify_userptr_ops(struct vb2_queue *q) in __verify_userptr_ops()
729 static int __verify_mmap_ops(struct vb2_queue *q) in __verify_mmap_ops()
742 static int __verify_dmabuf_ops(struct vb2_queue *q) in __verify_dmabuf_ops()
752 int vb2_verify_memory_type(struct vb2_queue *q, in vb2_verify_memory_type()
798 static void set_queue_coherency(struct vb2_queue *q, bool non_coherent_mem) in set_queue_coherency()
807 static bool verify_coherency_flags(struct vb2_queue *q, bool non_coherent_mem) in verify_coherency_flags()
816 int vb2_core_reqbufs(struct vb2_queue *q, enum vb2_memory memory, in vb2_core_reqbufs()
980 int vb2_core_create_bufs(struct vb2_queue *q, enum vb2_memory memory, in vb2_core_create_bufs()
1128 struct vb2_queue *q = vb->vb2_queue; in vb2_buffer_done() local
1182 void vb2_discard_done(struct vb2_queue *q) in vb2_discard_done()
1212 struct vb2_queue *q = vb->vb2_queue; in __prepare_userptr() local
1328 struct vb2_queue *q = vb->vb2_queue; in __prepare_dmabuf() local
1464 struct vb2_queue *q = vb->vb2_queue; in __enqueue_in_driver() local
1476 struct vb2_queue *q = vb->vb2_queue; in __buf_prepare() local
1624 int vb2_core_prepare_buf(struct vb2_queue *q, struct vb2_buffer *vb, void *pb) in vb2_core_prepare_buf()
1662 static int vb2_start_streaming(struct vb2_queue *q) in vb2_start_streaming()
1718 int vb2_core_qbuf(struct vb2_queue *q, struct vb2_buffer *vb, void *pb, in vb2_core_qbuf()
1875 static int __vb2_wait_for_done_vb(struct vb2_queue *q, int nonblocking) in __vb2_wait_for_done_vb()
1956 static int __vb2_get_done_vb(struct vb2_queue *q, struct vb2_buffer **vb, in __vb2_get_done_vb()
1989 int vb2_wait_for_all_buffers(struct vb2_queue *q) in vb2_wait_for_all_buffers()
2007 struct vb2_queue *q = vb->vb2_queue; in __vb2_dqbuf() local
2018 int vb2_core_dqbuf(struct vb2_queue *q, unsigned int *pindex, void *pb, in vb2_core_dqbuf()
2082 static void __vb2_queue_cancel(struct vb2_queue *q) in __vb2_queue_cancel()
2193 int vb2_core_streamon(struct vb2_queue *q, unsigned int type) in vb2_core_streamon()
2244 void vb2_queue_error(struct vb2_queue *q) in vb2_queue_error()
2252 int vb2_core_streamoff(struct vb2_queue *q, unsigned int type) in vb2_core_streamoff()
2280 static int __find_plane_by_offset(struct vb2_queue *q, unsigned long offset, in __find_plane_by_offset()
2314 int vb2_core_expbuf(struct vb2_queue *q, int *fd, unsigned int type, in vb2_core_expbuf()
2379 int vb2_mmap(struct vb2_queue *q, struct vm_area_struct *vma) in vb2_mmap()
2449 unsigned long vb2_get_unmapped_area(struct vb2_queue *q, in vb2_get_unmapped_area()
2482 int vb2_core_queue_init(struct vb2_queue *q) in vb2_core_queue_init()
2550 void vb2_core_queue_release(struct vb2_queue *q) in vb2_core_queue_release()
2562 __poll_t vb2_core_poll(struct vb2_queue *q, struct file *file, in vb2_core_poll()
2711 static int __vb2_init_fileio(struct vb2_queue *q, int read) in __vb2_init_fileio()
2850 static int __vb2_cleanup_fileio(struct vb2_queue *q) in __vb2_cleanup_fileio()
2874 static size_t __vb2_perform_fileio(struct vb2_queue *q, char __user *data, size_t count, in __vb2_perform_fileio()
3038 size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count, in vb2_read()
3045 size_t vb2_write(struct vb2_queue *q, const char __user *data, size_t count, in vb2_write()
3062 struct vb2_queue *q = data; in vb2_thread() local
3126 int vb2_thread_start(struct vb2_queue *q, vb2_thread_fnc fnc, void *priv, in vb2_thread_start()
3166 int vb2_thread_stop(struct vb2_queue *q) in vb2_thread_stop()