Lines Matching defs:vb2_queue

249 	struct vb2_queue	*vb2_queue;  member
570 struct vb2_queue { struct
571 unsigned int type;
572 unsigned int io_modes;
573 struct device *dev;
574 unsigned long dma_attrs;
575 unsigned int bidirectional:1;
576 unsigned int fileio_read_once:1;
577 unsigned int fileio_write_immediately:1;
578 unsigned int allow_zero_bytesused:1;
579 unsigned int quirk_poll_must_check_waiting_for_buffers:1;
580 unsigned int supports_requests:1;
581 unsigned int requires_requests:1;
582 unsigned int uses_qbuf:1;
583 unsigned int uses_requests:1;
584 unsigned int allow_cache_hints:1;
586 struct mutex *lock;
587 void *owner;
589 const struct vb2_ops *ops;
590 const struct vb2_mem_ops *mem_ops;
591 const struct vb2_buf_ops *buf_ops;
593 void *drv_priv;
594 u32 subsystem_flags;
595 unsigned int buf_struct_size;
596 u32 timestamp_flags;
597 gfp_t gfp_flags;
598 u32 min_buffers_needed;
600 struct device *alloc_devs[VB2_MAX_PLANES];
603 struct mutex mmap_lock;
604 unsigned int memory;
605 enum dma_data_direction dma_dir;
606 struct vb2_buffer *bufs[VB2_MAX_FRAME];
607 unsigned int num_buffers;
609 struct list_head queued_list;
610 unsigned int queued_count;
612 atomic_t owned_by_drv_count;
613 struct list_head done_list;
614 spinlock_t done_lock;
615 wait_queue_head_t done_wq;
617 unsigned int streaming:1;
618 unsigned int start_streaming_called:1;
619 unsigned int error:1;
620 unsigned int waiting_for_buffers:1;
621 unsigned int waiting_in_dqbuf:1;
622 unsigned int is_multiplanar:1;
646 * vb2_queue_allows_cache_hints() - Return true if the queue allows cache argument
649 * @q: pointer to &struct vb2_queue with videobuf2 queue argument