Lines Matching defs:vb2_queue

253 	struct vb2_queue	*vb2_queue;  member
611 struct vb2_queue { struct
612 unsigned int type;
613 unsigned int io_modes;
614 struct device *dev;
615 unsigned long dma_attrs;
616 unsigned int bidirectional:1;
617 unsigned int fileio_read_once:1;
618 unsigned int fileio_write_immediately:1;
619 unsigned int allow_zero_bytesused:1;
620 unsigned int quirk_poll_must_check_waiting_for_buffers:1;
621 unsigned int supports_requests:1;
622 unsigned int requires_requests:1;
623 unsigned int uses_qbuf:1;
624 unsigned int uses_requests:1;
625 unsigned int allow_cache_hints:1;
626 unsigned int non_coherent_mem:1;
628 struct mutex *lock;
629 void *owner;
631 const struct vb2_ops *ops;
632 const struct vb2_mem_ops *mem_ops;
633 const struct vb2_buf_ops *buf_ops;
635 void *drv_priv;
636 u32 subsystem_flags;
637 unsigned int buf_struct_size;
638 u32 timestamp_flags;
639 gfp_t gfp_flags;
640 u32 min_queued_buffers;
641 u32 min_reqbufs_allocation;
643 struct device *alloc_devs[VB2_MAX_PLANES];
646 struct mutex mmap_lock;
647 unsigned int memory;
648 enum dma_data_direction dma_dir;
649 struct vb2_buffer **bufs;
650 unsigned long *bufs_bitmap;
651 unsigned int max_num_buffers;
653 struct list_head queued_list;
654 unsigned int queued_count;
656 atomic_t owned_by_drv_count;
657 struct list_head done_list;
658 spinlock_t done_lock;
659 wait_queue_head_t done_wq;
661 unsigned int streaming:1;
662 unsigned int start_streaming_called:1;
663 unsigned int error:1;
664 unsigned int waiting_for_buffers:1;
665 unsigned int waiting_in_dqbuf:1;
666 unsigned int is_multiplanar:1;
667 unsigned int is_output:1;
668 unsigned int is_busy:1;
669 unsigned int copy_timestamp:1;
693 * vb2_queue_allows_cache_hints() - Return true if the queue allows cache argument
696 * @q: pointer to &struct vb2_queue with videobuf2 queue argument