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