Lines Matching defs:em28xx_v4l2
545 struct em28xx_v4l2 { struct
546 struct kref ref;
547 struct em28xx *dev;
549 struct v4l2_device v4l2_dev;
550 struct v4l2_ctrl_handler ctrl_handler;
552 struct video_device vdev;
553 struct video_device vbi_dev;
554 struct video_device radio_dev;
557 struct vb2_queue vb_vidq;
558 struct vb2_queue vb_vbiq;
559 struct mutex vb_queue_lock; /* Protects vb_vidq */
560 struct mutex vb_vbi_queue_lock; /* Protects vb_vbiq */
562 u8 vinmode;
563 u8 vinctl;
566 int sensor_xres;
567 int sensor_yres;
568 int sensor_xtal;
570 int users; /* user count for exclusive use */
571 int streaming_users; /* number of actively streaming users */
573 u32 frequency; /* selected tuner frequency */
575 struct em28xx_fmt *format;
576 v4l2_std_id norm; /* selected tv norm */
579 bool progressive;
580 int interlaced_fieldmode; /* 1=interlaced fields, 0=just top fields */
584 int width; /* current frame width */
585 int height; /* current frame height */
586 unsigned int hscale; /* horizontal scale factor (see datasheet) */
587 unsigned int vscale; /* vertical scale factor (see datasheet) */
588 unsigned int vbi_width;
589 unsigned int vbi_height; /* lines per field */
592 int capture_type;
593 bool top_field;
594 int vbi_read;
595 unsigned int field_count;
598 struct media_pad video_pad, vbi_pad;
599 struct media_entity *decoder;