Lines Matching refs:vb2_queue

229 struct vb2_queue;
243 struct vb2_queue *vb2_queue; member
385 int (*queue_setup)(struct vb2_queue *q,
389 void (*wait_prepare)(struct vb2_queue *q);
390 void (*wait_finish)(struct vb2_queue *q);
397 int (*start_streaming)(struct vb2_queue *q, unsigned int count);
398 void (*stop_streaming)(struct vb2_queue *q);
509 struct vb2_queue { struct
641 void vb2_discard_done(struct vb2_queue *q);
653 int vb2_wait_for_all_buffers(struct vb2_queue *q);
670 void vb2_core_querybuf(struct vb2_queue *q, unsigned int index, void *pb);
699 int vb2_core_reqbufs(struct vb2_queue *q, enum vb2_memory memory,
722 int vb2_core_create_bufs(struct vb2_queue *q, enum vb2_memory memory,
746 int vb2_core_prepare_buf(struct vb2_queue *q, unsigned int index, void *pb);
769 int vb2_core_qbuf(struct vb2_queue *q, unsigned int index, void *pb);
794 int vb2_core_dqbuf(struct vb2_queue *q, unsigned int *pindex, void *pb,
809 int vb2_core_streamon(struct vb2_queue *q, unsigned int type);
824 int vb2_core_streamoff(struct vb2_queue *q, unsigned int type);
845 int vb2_core_expbuf(struct vb2_queue *q, int *fd, unsigned int type,
862 int vb2_core_queue_init(struct vb2_queue *q);
872 void vb2_core_queue_release(struct vb2_queue *q);
887 void vb2_queue_error(struct vb2_queue *q);
911 int vb2_mmap(struct vb2_queue *q, struct vm_area_struct *vma);
929 unsigned long vb2_get_unmapped_area(struct vb2_queue *q,
954 __poll_t vb2_core_poll(struct vb2_queue *q, struct file *file,
965 size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count,
975 size_t vb2_write(struct vb2_queue *q, const char __user *data, size_t count,
1004 int vb2_thread_start(struct vb2_queue *q, vb2_thread_fnc fnc, void *priv,
1011 int vb2_thread_stop(struct vb2_queue *q);
1017 static inline bool vb2_is_streaming(struct vb2_queue *q) in vb2_is_streaming()
1035 static inline bool vb2_fileio_is_active(struct vb2_queue *q) in vb2_fileio_is_active()
1046 static inline bool vb2_is_busy(struct vb2_queue *q) in vb2_is_busy()
1055 static inline void *vb2_get_drv_priv(struct vb2_queue *q) in vb2_get_drv_priv()
1106 static inline bool vb2_start_streaming_called(struct vb2_queue *q) in vb2_start_streaming_called()
1115 static inline void vb2_clear_last_buffer_dequeued(struct vb2_queue *q) in vb2_clear_last_buffer_dequeued()
1132 bool vb2_buffer_in_use(struct vb2_queue *q, struct vb2_buffer *vb);
1144 int vb2_verify_memory_type(struct vb2_queue *q,