Lines Matching refs:vb2_queue
236 struct vb2_queue;
253 struct vb2_queue *vb2_queue; member
435 int (*queue_setup)(struct vb2_queue *q,
439 void (*wait_prepare)(struct vb2_queue *q);
440 void (*wait_finish)(struct vb2_queue *q);
448 int (*prepare_streaming)(struct vb2_queue *q);
449 int (*start_streaming)(struct vb2_queue *q, unsigned int count);
450 void (*stop_streaming)(struct vb2_queue *q);
451 void (*unprepare_streaming)(struct vb2_queue *q);
611 struct vb2_queue { struct
698 static inline bool vb2_queue_allows_cache_hints(struct vb2_queue *q) in vb2_queue_allows_cache_hints()
762 void vb2_discard_done(struct vb2_queue *q);
774 int vb2_wait_for_all_buffers(struct vb2_queue *q);
791 void vb2_core_querybuf(struct vb2_queue *q, struct vb2_buffer *vb, void *pb);
822 int vb2_core_reqbufs(struct vb2_queue *q, enum vb2_memory memory,
848 int vb2_core_create_bufs(struct vb2_queue *q, enum vb2_memory memory,
874 int vb2_core_prepare_buf(struct vb2_queue *q, struct vb2_buffer *vb, void *pb);
884 int vb2_core_remove_bufs(struct vb2_queue *q, unsigned int start, unsigned int count);
912 int vb2_core_qbuf(struct vb2_queue *q, struct vb2_buffer *vb, void *pb,
938 int vb2_core_dqbuf(struct vb2_queue *q, unsigned int *pindex, void *pb,
953 int vb2_core_streamon(struct vb2_queue *q, unsigned int type);
968 int vb2_core_streamoff(struct vb2_queue *q, unsigned int type);
989 int vb2_core_expbuf(struct vb2_queue *q, int *fd, unsigned int type,
1006 int vb2_core_queue_init(struct vb2_queue *q);
1016 void vb2_core_queue_release(struct vb2_queue *q);
1031 void vb2_queue_error(struct vb2_queue *q);
1055 int vb2_mmap(struct vb2_queue *q, struct vm_area_struct *vma);
1073 unsigned long vb2_get_unmapped_area(struct vb2_queue *q,
1098 __poll_t vb2_core_poll(struct vb2_queue *q, struct file *file,
1109 size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count,
1119 size_t vb2_write(struct vb2_queue *q, const char __user *data, size_t count,
1148 int vb2_thread_start(struct vb2_queue *q, vb2_thread_fnc fnc, void *priv,
1155 int vb2_thread_stop(struct vb2_queue *q);
1161 static inline bool vb2_is_streaming(struct vb2_queue *q) in vb2_is_streaming()
1179 static inline bool vb2_fileio_is_active(struct vb2_queue *q) in vb2_fileio_is_active()
1188 static inline unsigned int vb2_get_num_buffers(struct vb2_queue *q) in vb2_get_num_buffers()
1202 static inline bool vb2_is_busy(struct vb2_queue *q) in vb2_is_busy()
1211 static inline void *vb2_get_drv_priv(struct vb2_queue *q) in vb2_get_drv_priv()
1269 static inline bool vb2_start_streaming_called(struct vb2_queue *q) in vb2_start_streaming_called()
1278 static inline void vb2_clear_last_buffer_dequeued(struct vb2_queue *q) in vb2_clear_last_buffer_dequeued()
1293 static inline struct vb2_buffer *vb2_get_buffer(struct vb2_queue *q, in vb2_get_buffer()
1319 bool vb2_buffer_in_use(struct vb2_queue *q, struct vb2_buffer *vb);
1331 int vb2_verify_memory_type(struct vb2_queue *q,