Lines Matching defs:vb2_queue
250 struct vb2_queue *vb2_queue; member
591 struct vb2_queue { struct
592 unsigned int type;
593 unsigned int io_modes;
594 struct device *dev;
595 unsigned long dma_attrs;
596 unsigned int bidirectional:1;
597 unsigned int fileio_read_once:1;
598 unsigned int fileio_write_immediately:1;
599 unsigned int allow_zero_bytesused:1;
600 unsigned int quirk_poll_must_check_waiting_for_buffers:1;
601 unsigned int supports_requests:1;
602 unsigned int requires_requests:1;
603 unsigned int uses_qbuf:1;
604 unsigned int uses_requests:1;
605 unsigned int allow_cache_hints:1;
606 unsigned int non_coherent_mem:1;
608 struct mutex *lock;
609 void *owner;
611 const struct vb2_ops *ops;
612 const struct vb2_mem_ops *mem_ops;
613 const struct vb2_buf_ops *buf_ops;
615 void *drv_priv;
616 u32 subsystem_flags;
617 unsigned int buf_struct_size;
618 u32 timestamp_flags;
619 gfp_t gfp_flags;
620 u32 min_queued_buffers;
622 struct device *alloc_devs[VB2_MAX_PLANES];
625 struct mutex mmap_lock;
626 unsigned int memory;
627 enum dma_data_direction dma_dir;
628 struct vb2_buffer **bufs;
629 unsigned int num_buffers;
630 unsigned int max_num_buffers;
632 struct list_head queued_list;
633 unsigned int queued_count;
635 atomic_t owned_by_drv_count;
636 struct list_head done_list;
637 spinlock_t done_lock;
638 wait_queue_head_t done_wq;
640 unsigned int streaming:1;
641 unsigned int start_streaming_called:1;
642 unsigned int error:1;
643 unsigned int waiting_for_buffers:1;
644 unsigned int waiting_in_dqbuf:1;
645 unsigned int is_multiplanar:1;
646 unsigned int is_output:1;
647 unsigned int copy_timestamp:1;
671 * vb2_queue_allows_cache_hints() - Return true if the queue allows cache argument
674 * @q: pointer to &struct vb2_queue with videobuf2 queue argument