aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision/usbvision.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/usbvision/usbvision.h')
-rw-r--r--drivers/media/video/usbvision/usbvision.h39
1 files changed, 19 insertions, 20 deletions
diff --git a/drivers/media/video/usbvision/usbvision.h b/drivers/media/video/usbvision/usbvision.h
index ad6afd3e42a4..bd6f6422ed54 100644
--- a/drivers/media/video/usbvision/usbvision.h
+++ b/drivers/media/video/usbvision/usbvision.h
@@ -342,23 +342,24 @@ struct usbvision_frame {
342#define BRIDGE_NT1005 1005 342#define BRIDGE_NT1005 1005
343 343
344struct usbvision_device_data_st { 344struct usbvision_device_data_st {
345 int idVendor;
346 int idProduct;
347 int Interface; /* to handle special interface number like BELKIN and Hauppauge WinTV-USB II */
348 int Codec;
349 int VideoChannels;
350 __u64 VideoNorm; 345 __u64 VideoNorm;
351 int AudioChannels; 346 const char *ModelString;
352 int Radio; 347 int Interface; /* to handle special interface number like BELKIN and Hauppauge WinTV-USB II */
353 int vbi; 348 __u16 Codec;
354 int Tuner; 349 unsigned VideoChannels:3;
355 int TunerType; 350 unsigned AudioChannels:2;
356 int Vin_Reg1; 351 unsigned Radio:1;
357 int Vin_Reg2; 352 unsigned vbi:1;
358 int X_Offset; 353 unsigned Tuner:1;
359 int Y_Offset; 354 unsigned Vin_Reg1_override:1; /* Override default value with */
360 int Dvi_yuv; 355 unsigned Vin_Reg2_override:1; /* Vin_Reg1, Vin_Reg2, etc. */
361 char *ModelString; 356 unsigned Dvi_yuv_override:1;
357 __u8 Vin_Reg1;
358 __u8 Vin_Reg2;
359 __u8 Dvi_yuv;
360 __u8 TunerType;
361 __s16 X_Offset;
362 __s16 Y_Offset;
362}; 363};
363 364
364/* Declared on usbvision-cards.c */ 365/* Declared on usbvision-cards.c */
@@ -481,13 +482,11 @@ struct usb_usbvision {
481/* i2c-algo-usb declaration */ 482/* i2c-algo-usb declaration */
482/* --------------------------------------------------------------- */ 483/* --------------------------------------------------------------- */
483 484
484int usbvision_i2c_usb_del_bus(struct i2c_adapter *);
485
486
487/* ----------------------------------------------------------------------- */ 485/* ----------------------------------------------------------------------- */
488/* usbvision specific I2C functions */ 486/* usbvision specific I2C functions */
489/* ----------------------------------------------------------------------- */ 487/* ----------------------------------------------------------------------- */
490int usbvision_init_i2c(struct usb_usbvision *usbvision); 488int usbvision_i2c_register(struct usb_usbvision *usbvision);
489int usbvision_i2c_unregister(struct usb_usbvision *usbvision);
491void call_i2c_clients(struct usb_usbvision *usbvision, unsigned int cmd,void *arg); 490void call_i2c_clients(struct usb_usbvision *usbvision, unsigned int cmd,void *arg);
492 491
493/* defined in usbvision-core.c */ 492/* defined in usbvision-core.c */