Lines Matching defs:em28xx_v4l2
551 struct em28xx_v4l2 { struct
552 struct kref ref;
553 struct em28xx *dev;
555 struct v4l2_device v4l2_dev;
556 struct v4l2_ctrl_handler ctrl_handler;
558 struct video_device vdev;
559 struct video_device vbi_dev;
560 struct video_device radio_dev;
563 struct vb2_queue vb_vidq;
564 struct vb2_queue vb_vbiq;
565 struct mutex vb_queue_lock; /* Protects vb_vidq */
566 struct mutex vb_vbi_queue_lock; /* Protects vb_vbiq */
568 u8 vinmode;
569 u8 vinctl;
572 int sensor_xres;
573 int sensor_yres;
574 int sensor_xtal;
576 int users; /* user count for exclusive use */
577 int streaming_users; /* number of actively streaming users */
579 u32 frequency; /* selected tuner frequency */
581 struct em28xx_fmt *format;
582 v4l2_std_id norm; /* selected tv norm */
585 bool progressive;
586 int interlaced_fieldmode; /* 1=interlaced fields, 0=just top fields */
590 int width; /* current frame width */
591 int height; /* current frame height */
592 unsigned int hscale; /* horizontal scale factor (see datasheet) */
593 unsigned int vscale; /* vertical scale factor (see datasheet) */
594 unsigned int vbi_width;
595 unsigned int vbi_height; /* lines per field */
598 int capture_type;
599 bool top_field;
600 int vbi_read;
601 unsigned int field_count;
604 struct media_pad video_pad, vbi_pad;
605 struct media_entity *decoder;