Lines Matching refs:vb2_queue
203 struct vb2_queue;
216 struct vb2_queue *vb2_queue; member
347 int (*queue_setup)(struct vb2_queue *q, const void *parg,
351 void (*wait_prepare)(struct vb2_queue *q);
352 void (*wait_finish)(struct vb2_queue *q);
359 int (*start_streaming)(struct vb2_queue *q, unsigned int count);
360 void (*stop_streaming)(struct vb2_queue *q);
439 struct vb2_queue { struct
504 void vb2_discard_done(struct vb2_queue *q); argument
505 int vb2_wait_for_all_buffers(struct vb2_queue *q);
507 int vb2_core_querybuf(struct vb2_queue *q, unsigned int index, void *pb);
508 int vb2_core_reqbufs(struct vb2_queue *q, enum vb2_memory memory,
510 int vb2_core_create_bufs(struct vb2_queue *q, enum vb2_memory memory,
512 int vb2_core_prepare_buf(struct vb2_queue *q, unsigned int index, void *pb);
513 int vb2_core_qbuf(struct vb2_queue *q, unsigned int index, void *pb);
514 int vb2_core_dqbuf(struct vb2_queue *q, void *pb, bool nonblocking);
516 int vb2_core_streamon(struct vb2_queue *q, unsigned int type);
517 int vb2_core_streamoff(struct vb2_queue *q, unsigned int type);
519 int vb2_core_expbuf(struct vb2_queue *q, int *fd, unsigned int type,
522 int vb2_core_queue_init(struct vb2_queue *q);
523 void vb2_core_queue_release(struct vb2_queue *q);
525 void vb2_queue_error(struct vb2_queue *q);
527 int vb2_mmap(struct vb2_queue *q, struct vm_area_struct *vma);
529 unsigned long vb2_get_unmapped_area(struct vb2_queue *q,
540 static inline bool vb2_is_streaming(struct vb2_queue *q) in vb2_is_streaming()
557 static inline bool vb2_fileio_is_active(struct vb2_queue *q) in vb2_fileio_is_active()
568 static inline bool vb2_is_busy(struct vb2_queue *q) in vb2_is_busy()
577 static inline void *vb2_get_drv_priv(struct vb2_queue *q) in vb2_get_drv_priv()
625 static inline bool vb2_start_streaming_called(struct vb2_queue *q) in vb2_start_streaming_called()
634 static inline void vb2_clear_last_buffer_dequeued(struct vb2_queue *q) in vb2_clear_last_buffer_dequeued()