Lines Matching defs:em28xx_v4l2
542 struct em28xx_v4l2 { struct
543 struct kref ref;
544 struct em28xx *dev;
546 struct v4l2_device v4l2_dev;
547 struct v4l2_ctrl_handler ctrl_handler;
549 struct video_device vdev;
550 struct video_device vbi_dev;
551 struct video_device radio_dev;
554 struct vb2_queue vb_vidq;
555 struct vb2_queue vb_vbiq;
556 struct mutex vb_queue_lock; /* Protects vb_vidq */
557 struct mutex vb_vbi_queue_lock; /* Protects vb_vbiq */
559 u8 vinmode;
560 u8 vinctl;
563 int sensor_xres;
564 int sensor_yres;
565 int sensor_xtal;
567 int users; /* user count for exclusive use */
568 int streaming_users; /* number of actively streaming users */
570 u32 frequency; /* selected tuner frequency */
572 struct em28xx_fmt *format;
573 v4l2_std_id norm; /* selected tv norm */
576 bool progressive;
577 int interlaced_fieldmode; /* 1=interlaced fields, 0=just top fields */
581 int width; /* current frame width */
582 int height; /* current frame height */
583 unsigned int hscale; /* horizontal scale factor (see datasheet) */
584 unsigned int vscale; /* vertical scale factor (see datasheet) */
585 unsigned int vbi_width;
586 unsigned int vbi_height; /* lines per field */
589 int capture_type;
590 bool top_field;
591 int vbi_read;
592 unsigned int field_count;
595 struct media_pad video_pad, vbi_pad;
596 struct media_entity *decoder;