• Home
  • Raw
  • Download

Lines Matching defs:vb2_queue

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