Lines Matching defs:vb2_queue
250 struct vb2_queue *vb2_queue; member
585 struct vb2_queue { struct
586 unsigned int type;
587 unsigned int io_modes;
588 struct device *dev;
589 unsigned long dma_attrs;
590 unsigned int bidirectional:1;
591 unsigned int fileio_read_once:1;
592 unsigned int fileio_write_immediately:1;
593 unsigned int allow_zero_bytesused:1;
594 unsigned int quirk_poll_must_check_waiting_for_buffers:1;
595 unsigned int supports_requests:1;
596 unsigned int requires_requests:1;
597 unsigned int uses_qbuf:1;
598 unsigned int uses_requests:1;
599 unsigned int allow_cache_hints:1;
600 unsigned int non_coherent_mem:1;
602 struct mutex *lock;
603 void *owner;
605 const struct vb2_ops *ops;
606 const struct vb2_mem_ops *mem_ops;
607 const struct vb2_buf_ops *buf_ops;
609 void *drv_priv;
610 u32 subsystem_flags;
611 unsigned int buf_struct_size;
612 u32 timestamp_flags;
613 gfp_t gfp_flags;
614 u32 min_buffers_needed;
616 struct device *alloc_devs[VB2_MAX_PLANES];
619 struct mutex mmap_lock;
620 unsigned int memory;
621 enum dma_data_direction dma_dir;
622 struct vb2_buffer *bufs[VB2_MAX_FRAME];
623 unsigned int num_buffers;
625 struct list_head queued_list;
626 unsigned int queued_count;
628 atomic_t owned_by_drv_count;
629 struct list_head done_list;
630 spinlock_t done_lock;
631 wait_queue_head_t done_wq;
633 unsigned int streaming:1;
634 unsigned int start_streaming_called:1;
635 unsigned int error:1;
636 unsigned int waiting_for_buffers:1;
637 unsigned int waiting_in_dqbuf:1;
638 unsigned int is_multiplanar:1;
639 unsigned int is_output:1;
640 unsigned int copy_timestamp:1;
664 * vb2_queue_allows_cache_hints() - Return true if the queue allows cache argument
667 * @q: pointer to &struct vb2_queue with videobuf2 queue argument