diff options
Diffstat (limited to 'drivers/media/video/em28xx/em28xx.h')
-rw-r--r-- | drivers/media/video/em28xx/em28xx.h | 49 |
1 files changed, 47 insertions, 2 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h index 89842c5d64a1..9a3310748685 100644 --- a/drivers/media/video/em28xx/em28xx.h +++ b/drivers/media/video/em28xx/em28xx.h | |||
@@ -54,15 +54,58 @@ | |||
54 | #define EM2880_BOARD_TERRATEC_PRODIGY_XS 13 | 54 | #define EM2880_BOARD_TERRATEC_PRODIGY_XS 13 |
55 | #define EM2820_BOARD_PROLINK_PLAYTV_USB2 14 | 55 | #define EM2820_BOARD_PROLINK_PLAYTV_USB2 14 |
56 | #define EM2800_BOARD_VGEAR_POCKETTV 15 | 56 | #define EM2800_BOARD_VGEAR_POCKETTV 15 |
57 | #define EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950 16 | 57 | #define EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950 16 |
58 | #define EM2880_BOARD_PINNACLE_PCTV_HD_PRO 17 | 58 | #define EM2880_BOARD_PINNACLE_PCTV_HD_PRO 17 |
59 | #define EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2 18 | 59 | #define EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2 18 |
60 | #define EM2860_BOARD_POINTNIX_INTRAORAL_CAMERA 19 | 60 | #define EM2860_BOARD_POINTNIX_INTRAORAL_CAMERA 19 |
61 | #define EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600 20 | ||
62 | #define EM2800_BOARD_GRABBEEX_USB2800 21 | ||
63 | #define EM2750_BOARD_UNKNOWN 22 | ||
64 | #define EM2750_BOARD_DLCW_130 23 | ||
65 | #define EM2820_BOARD_DLINK_USB_TV 24 | ||
66 | #define EM2820_BOARD_GADMEI_UTV310 25 | ||
67 | #define EM2820_BOARD_HERCULES_SMART_TV_USB2 26 | ||
68 | #define EM2820_BOARD_PINNACLE_USB_2_FM1216ME 27 | ||
69 | #define EM2820_BOARD_LEADTEK_WINFAST_USBII_DELUXE 28 | ||
70 | #define EM2820_BOARD_PINNACLE_DVC_100 29 | ||
71 | #define EM2820_BOARD_VIDEOLOGY_20K14XUSB 30 | ||
72 | #define EM2821_BOARD_USBGEAR_VD204 31 | ||
73 | #define EM2821_BOARD_SUPERCOMP_USB_2 32 | ||
74 | #define EM2821_BOARD_PROLINK_PLAYTV_USB2 33 | ||
75 | #define EM2860_BOARD_TERRATEC_HYBRID_XS 34 | ||
76 | #define EM2860_BOARD_TYPHOON_DVD_MAKER 35 | ||
77 | #define EM2860_BOARD_NETGMBH_CAM 36 | ||
78 | #define EM2860_BOARD_GADMEI_UTV330 37 | ||
79 | #define EM2861_BOARD_YAKUMO_MOVIE_MIXER 38 | ||
80 | #define EM2861_BOARD_KWORLD_PVRTV_300U 39 | ||
81 | #define EM2861_BOARD_PLEXTOR_PX_TV100U 40 | ||
82 | #define EM2870_BOARD_KWORLD_350U 41 | ||
83 | #define EM2870_BOARD_KWORLD_355U 42 | ||
84 | #define EM2870_BOARD_TERRATEC_XS 43 | ||
85 | #define EM2870_BOARD_TERRATEC_XS_MT2060 44 | ||
86 | #define EM2870_BOARD_PINNACLE_PCTV_DVB 45 | ||
87 | #define EM2870_BOARD_COMPRO_VIDEOMATE 46 | ||
88 | #define EM2880_BOARD_KWORLD_DVB_305U 47 | ||
89 | #define EM2880_BOARD_KWORLD_DVB_310U 48 | ||
90 | #define EM2880_BOARD_MSI_DIGIVOX_AD 49 | ||
91 | #define EM2880_BOARD_MSI_DIGIVOX_AD_II 50 | ||
92 | #define EM2880_BOARD_TERRATEC_HYBRID_XS_FR 51 | ||
93 | #define EM2881_BOARD_DNT_DA2_HYBRID 52 | ||
94 | #define EM2881_BOARD_PINNACLE_HYBRID_PRO 53 | ||
95 | #define EM2882_BOARD_KWORLD_VS_DVBT 54 | ||
96 | #define EM2882_BOARD_TERRATEC_HYBRID_XS 55 | ||
97 | #define EM2882_BOARD_PINNACLE_HYBRID_PRO 56 | ||
98 | #define EM2883_BOARD_KWORLD_HYBRID_A316 57 | ||
99 | #define EM2820_BOARD_COMPRO_VIDEOMATE_FORYOU 58 | ||
61 | 100 | ||
62 | /* Limits minimum and default number of buffers */ | 101 | /* Limits minimum and default number of buffers */ |
63 | #define EM28XX_MIN_BUF 4 | 102 | #define EM28XX_MIN_BUF 4 |
64 | #define EM28XX_DEF_BUF 8 | 103 | #define EM28XX_DEF_BUF 8 |
65 | 104 | ||
105 | /* Params for validated field */ | ||
106 | #define EM28XX_BOARD_NOT_VALIDATED 1 | ||
107 | #define EM28XX_BOARD_VALIDATED 0 | ||
108 | |||
66 | /* maximum number of em28xx boards */ | 109 | /* maximum number of em28xx boards */ |
67 | #define EM28XX_MAXBOARDS 4 /*FIXME: should be bigger */ | 110 | #define EM28XX_MAXBOARDS 4 /*FIXME: should be bigger */ |
68 | 111 | ||
@@ -251,6 +294,7 @@ struct em28xx_board { | |||
251 | unsigned int max_range_640_480:1; | 294 | unsigned int max_range_640_480:1; |
252 | unsigned int has_dvb:1; | 295 | unsigned int has_dvb:1; |
253 | unsigned int has_snapshot_button:1; | 296 | unsigned int has_snapshot_button:1; |
297 | unsigned int valid:1; | ||
254 | 298 | ||
255 | enum em28xx_decoder decoder; | 299 | enum em28xx_decoder decoder; |
256 | 300 | ||
@@ -331,6 +375,7 @@ struct em28xx { | |||
331 | unsigned int max_range_640_480:1; | 375 | unsigned int max_range_640_480:1; |
332 | unsigned int has_dvb:1; | 376 | unsigned int has_dvb:1; |
333 | unsigned int has_snapshot_button:1; | 377 | unsigned int has_snapshot_button:1; |
378 | unsigned int valid:1; /* report for validated boards */ | ||
334 | 379 | ||
335 | /* Some older em28xx chips needs a waiting time after writing */ | 380 | /* Some older em28xx chips needs a waiting time after writing */ |
336 | unsigned int wait_after_write; | 381 | unsigned int wait_after_write; |
@@ -360,7 +405,7 @@ struct em28xx { | |||
360 | v4l2_std_id norm; /* selected tv norm */ | 405 | v4l2_std_id norm; /* selected tv norm */ |
361 | int ctl_freq; /* selected frequency */ | 406 | int ctl_freq; /* selected frequency */ |
362 | unsigned int ctl_input; /* selected input */ | 407 | unsigned int ctl_input; /* selected input */ |
363 | unsigned int ctl_ainput; /* slected audio input */ | 408 | unsigned int ctl_ainput;/* selected audio input */ |
364 | int mute; | 409 | int mute; |
365 | int volume; | 410 | int volume; |
366 | /* frame properties */ | 411 | /* frame properties */ |