31 #define V4L2_STD_PAL_SECAM (V4L2_STD_PAL|V4L2_STD_SECAM)
61 static const struct cx18_card cx18_card_hvr1600_esmt = {
63 .name =
"Hauppauge HVR-1600",
64 .comment =
"Simultaneous Digital and Analog TV capture supported\n",
92 .timing1 = 0x44220e82,
97 .gpio_init.initial_value = 0x3001,
98 .gpio_init.direction = 0x3001,
99 .gpio_i2c_slave_reset = {
100 .active_lo_mask = 0x3001,
101 .msecs_asserted = 10,
102 .msecs_recovery = 40,
103 .ir_reset_mask = 0x0001,
105 .i2c = &cx18_i2c_std,
108 static const struct cx18_card cx18_card_hvr1600_s5h1411 = {
110 .name =
"Hauppauge HVR-1600",
111 .comment =
"Simultaneous Digital and Analog TV capture supported\n",
137 .chip_config = 0x003,
139 .timing1 = 0x44220e82,
144 .gpio_init.initial_value = 0x3801,
145 .gpio_init.direction = 0x3801,
146 .gpio_i2c_slave_reset = {
147 .active_lo_mask = 0x3801,
148 .msecs_asserted = 10,
149 .msecs_recovery = 40,
150 .ir_reset_mask = 0x0001,
152 .i2c = &cx18_i2c_nxp,
155 static const struct cx18_card cx18_card_hvr1600_samsung = {
157 .name =
"Hauppauge HVR-1600 (Preproduction)",
158 .comment =
"Simultaneous Digital and Analog TV capture supported\n",
184 .chip_config = 0x003,
186 .timing1 = 0x23230b73,
191 .gpio_init.initial_value = 0x3001,
192 .gpio_init.direction = 0x3001,
193 .gpio_i2c_slave_reset = {
194 .active_lo_mask = 0x3001,
195 .msecs_asserted = 10,
196 .msecs_recovery = 40,
197 .ir_reset_mask = 0x0001,
199 .i2c = &cx18_i2c_std,
211 static const struct cx18_card cx18_card_h900 = {
213 .name =
"Compro VideoMate H900",
214 .comment =
"Analog TV capture supported\n",
237 .chip_config = 0x50003,
239 .timing1 = 0x24330e84,
245 .pci_list = cx18_pci_h900,
246 .i2c = &cx18_i2c_std,
258 static const struct cx18_card cx18_card_mpc718 = {
260 .name =
"Yuan MPC718 MiniPCI DVB-T/Analog",
261 .comment =
"Experimenters needed for device to work well.\n"
262 "\tTo help, mail the ivtv-devel list (www.ivtvdriver.org).\n",
290 .chip_config = 0x303,
292 .timing1 = 0x36320966,
297 .gpio_init.initial_value = 0x1,
298 .gpio_init.direction = 0x3,
300 .gpio_audio_input = { .mask = 0x3,
305 .pci_list = cx18_pci_mpc718,
306 .i2c = &cx18_i2c_std,
318 static const struct cx18_card cx18_card_gotview_dvd3 = {
320 .name =
"GoTView PCI DVD3 Hybrid",
321 .comment =
"Experimenters needed for device to work well.\n"
322 "\tTo help, mail the ivtv-devel list (www.ivtvdriver.org).\n",
350 .chip_config = 0x303,
352 .timing1 = 0x36320966,
357 .gpio_init.initial_value = 0x1,
358 .gpio_init.direction = 0x3,
360 .gpio_audio_input = { .mask = 0x3,
365 .pci_list = cx18_pci_gotview_dvd3,
366 .i2c = &cx18_i2c_std,
378 static const struct cx18_card cx18_card_cnxt_raptor_pal = {
380 .name =
"Conexant Raptor PAL/SECAM",
381 .comment =
"Analog TV capture supported\n",
406 .chip_config = 0x50306,
408 .timing1 = 0x33220953,
413 .gpio_init.initial_value = 0x1002,
414 .gpio_init.direction = 0xf002,
415 .gpio_audio_input = { .mask = 0xf002,
419 .pci_list = cx18_pci_cnxt_raptor_pal,
420 .i2c = &cx18_i2c_std,
432 static const struct cx18_card cx18_card_toshiba_qosmio_dvbt = {
434 .name =
"Toshiba Qosmio DVB-T/Analog",
435 .comment =
"Experimenters and photos needed for device to work well.\n"
436 "\tTo help, mail the ivtv-devel list (www.ivtvdriver.org).\n",
454 .chip_config = 0x202,
456 .timing1 = 0x33320a63,
459 .initial_emrs = 0x42,
462 .pci_list = cx18_pci_toshiba_qosmio_dvbt,
463 .i2c = &cx18_i2c_std,
475 static const struct cx18_card cx18_card_leadtek_pvr2100 = {
477 .name =
"Leadtek WinFast PVR2100",
478 .comment =
"Experimenters and photos needed for device to work well.\n"
479 "\tTo help, mail the ivtv-devel list (www.ivtvdriver.org).\n",
503 .chip_config = 0x303,
505 .timing1 = 0x24220e83,
510 .gpio_init.initial_value = 0x6,
511 .gpio_init.direction = 0x7,
512 .gpio_audio_input = { .mask = 0x7,
513 .tuner = 0x6, .linein = 0x2, .radio = 0x2 },
515 .pci_list = cx18_pci_leadtek_pvr2100,
516 .i2c = &cx18_i2c_std,
528 static const struct cx18_card cx18_card_leadtek_dvr3100h = {
530 .name =
"Leadtek WinFast DVR3100 H",
531 .comment =
"Simultaneous DVB-T and Analog capture supported,\n"
532 "\texcept when capturing Analog from the antenna input.\n",
556 .chip_config = 0x303,
558 .timing1 = 0x24220e83,
563 .gpio_init.initial_value = 0x6,
564 .gpio_init.direction = 0x7,
565 .gpio_audio_input = { .mask = 0x7,
566 .tuner = 0x6, .linein = 0x2, .radio = 0x2 },
568 .pci_list = cx18_pci_leadtek_dvr3100h,
569 .i2c = &cx18_i2c_std,
574 static const struct cx18_card *cx18_card_list[] = {
575 &cx18_card_hvr1600_esmt,
576 &cx18_card_hvr1600_samsung,
579 &cx18_card_cnxt_raptor_pal,
580 &cx18_card_toshiba_qosmio_dvbt,
581 &cx18_card_leadtek_pvr2100,
582 &cx18_card_leadtek_dvr3100h,
583 &cx18_card_gotview_dvd3,
584 &cx18_card_hvr1600_s5h1411
591 return cx18_card_list[
index];
598 static const char *
const input_strs[] = {
611 sizeof(input->
name));
624 static const char *
const input_strs[] = {
630 memset(audio, 0,
sizeof(*audio));
634 sizeof(audio->
name));