Lines Matching defs:vb2_queue

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