Lines Matching defs:em28xx_v4l2
508 struct em28xx_v4l2 { struct
509 struct kref ref;
510 struct em28xx *dev;
512 struct v4l2_device v4l2_dev;
513 struct v4l2_ctrl_handler ctrl_handler;
514 struct v4l2_clk *clk;
516 struct video_device vdev;
517 struct video_device vbi_dev;
518 struct video_device radio_dev;
521 struct vb2_queue vb_vidq;
522 struct vb2_queue vb_vbiq;
523 struct mutex vb_queue_lock;
524 struct mutex vb_vbi_queue_lock;
526 u8 vinmode;
527 u8 vinctl;
530 int sensor_xres;
531 int sensor_yres;
532 int sensor_xtal;
534 int users; /* user count for exclusive use */
535 int streaming_users; /* number of actively streaming users */
537 u32 frequency; /* selected tuner frequency */
539 struct em28xx_fmt *format;
540 v4l2_std_id norm; /* selected tv norm */
543 bool progressive;
544 int interlaced_fieldmode; /* 1=interlaced fields, 0=just top fields */
548 int width; /* current frame width */
549 int height; /* current frame height */
550 unsigned hscale; /* horizontal scale factor (see datasheet) */
551 unsigned vscale; /* vertical scale factor (see datasheet) */
552 unsigned int vbi_width;
553 unsigned int vbi_height; /* lines per field */
556 int capture_type;
557 bool top_field;
558 int vbi_read;
559 unsigned int field_count;