Lines Matching +full:board +full:- +full:id
1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2010-2015 Steven Toth <[email protected]>
17 * and keep the -i2c.c implementation clean.
31 /* Required during new board bringup */
37 /* Required during new board bringup */
42 .name = "Hauppauge WinTV-HVR2200",
51 .id = 0x1d,
58 .id = 0x04,
60 .name = "TDA18271-1",
65 .id = 0x1b,
67 .name = "TDA18271-2",
72 .id = 0x1e,
74 .name = "TDA10048-1",
79 .id = 0x1f,
81 .name = "TDA10048-2",
88 .name = "Hauppauge WinTV-HVR2200",
97 .id = 0x06,
104 .id = 0x04,
106 .name = "TDA18271-1",
111 .id = 0x05,
113 .name = "TDA10048-1",
118 .id = 0x1e,
120 .name = "TDA18271-2",
125 .id = 0x1f,
127 .name = "TDA10048-2",
134 .name = "Hauppauge WinTV-HVR2200",
143 .id = 0x1d,
150 .id = 0x04,
152 .name = "TDA18271-1",
157 .id = 0x05,
159 .name = "TDA8290-1",
164 .id = 0x1b,
166 .name = "TDA18271-2",
171 .id = 0x1c,
173 .name = "TDA8290-2",
178 .id = 0x1e,
180 .name = "TDA10048-1",
185 .id = 0x1f,
187 .name = "TDA10048-2",
194 .name = "Hauppauge WinTV-HVR2200",
203 .id = 0x1d,
210 .id = 0x04,
212 .name = "TDA18271-1",
217 .id = 0x05,
219 .name = "TDA8290-1",
224 .id = 0x1b,
226 .name = "TDA18271-2",
231 .id = 0x1c,
233 .name = "TDA8290-2",
238 .id = 0x1e,
240 .name = "TDA10048-1",
245 .id = 0x1f,
247 .name = "TDA10048-2",
254 .name = "Hauppauge WinTV-HVR2250",
263 .id = 0x22,
270 .id = 0x04,
272 .name = "TDA18271-1",
277 .id = 0x07,
279 .name = "CX24228/S5H1411-1 (TOP)",
284 .id = 0x08,
286 .name = "CX24228/S5H1411-1 (QAM)",
291 .id = 0x1e,
293 .name = "TDA18271-2",
298 .id = 0x20,
300 .name = "CX24228/S5H1411-2 (TOP)",
305 .id = 0x23,
307 .name = "CX24228/S5H1411-2 (QAM)",
314 .name = "Hauppauge WinTV-HVR2250",
323 .id = 0x28,
330 .id = 0x04,
332 .name = "TDA18271-1",
337 .id = 0x07,
339 .name = "CX24228/S5H1411-1 (TOP)",
344 .id = 0x08,
346 .name = "CX24228/S5H1411-1 (QAM)",
351 .id = 0x24,
353 .name = "TDA18271-2",
358 .id = 0x26,
360 .name = "CX24228/S5H1411-2 (TOP)",
365 .id = 0x29,
367 .name = "CX24228/S5H1411-2 (QAM)",
374 .name = "Hauppauge WinTV-HVR2250",
383 .id = 0x26,
390 .id = 0x04,
392 .name = "TDA18271-1",
397 .id = 0x07,
399 .name = "CX24228/S5H1411-1 (TOP)",
404 .id = 0x08,
406 .name = "CX24228/S5H1411-1 (QAM)",
411 .id = 0x22,
413 .name = "TDA18271-2",
418 .id = 0x24,
420 .name = "CX24228/S5H1411-2 (TOP)",
425 .id = 0x27,
427 .name = "CX24228/S5H1411-2 (QAM)",
434 .name = "Hauppauge WinTV-HVR2200",
439 .id = 0x23,
446 .id = 0x04,
448 .name = "TDA18271-1",
453 .id = 0x05,
455 .name = "TDA8290-1",
460 .id = 0x21,
462 .name = "TDA18271-2",
467 .id = 0x22,
469 .name = "TDA8290-2",
474 .id = 0x24,
476 .name = "TDA10048-1",
481 .id = 0x25,
483 .name = "TDA10048-2",
490 .name = "Hauppauge WinTV-HVR2255(proto)",
499 .id = 0x27,
506 .id = 0x04,
508 .name = "SI2157-1",
513 .id = 0x06,
520 .id = 0x24,
522 .name = "SI2157-2",
527 .id = 0x26,
529 .name = "LGDT3306-2",
536 .name = "Hauppauge WinTV-HVR2255",
545 .id = 0x28,
552 .id = 0x04,
554 .name = "SI2157-1",
559 .id = 0x06,
561 .name = "LGDT3306-1",
566 .id = 0x25,
568 .name = "SI2157-2",
573 .id = 0x27,
575 .name = "LGDT3306-2",
582 .name = "Hauppauge WinTV-HVR2205",
591 .id = 0x28,
598 .id = 0x04,
600 .name = "SI2157-1",
605 .id = 0x06,
607 .name = "SI2168-1",
612 .id = 0x25,
614 .name = "SI2157-2",
619 .id = 0x27,
621 .name = "SI2168-2",
630 /* ------------------------------------------------------------------ */
697 if (0 == dev->pci->subsystem_vendor && in saa7164_card_list()
698 0 == dev->pci->subsystem_device) { in saa7164_card_list()
700 "%s: Board has no valid PCIe Subsystem ID and can't\n" in saa7164_card_list()
704 "%s: -- tux\n", in saa7164_card_list()
705 dev->name, dev->name, dev->name, dev->name, dev->name); in saa7164_card_list()
708 "%s: Your board isn't known (yet) to the driver.\n" in saa7164_card_list()
712 dev->name, dev->name, dev->name, dev->name); in saa7164_card_list()
716 dev->name); in saa7164_card_list()
719 printk(KERN_ERR "%s: card=%d -> %s\n", in saa7164_card_list()
720 dev->name, i, saa7164_boards[i].name); in saa7164_card_list()
723 /* TODO: clean this define up into the -cards.c structs */
728 switch (dev->board) { in saa7164_gpio_setup()
742 GPIO 2: s5h1411 / tda10048-1 demod reset in saa7164_gpio_setup()
743 GPIO 3: s5h1411 / tda10048-2 demod reset in saa7164_gpio_setup()
748 * GPIO 2: lgdg3306-1 demod reset in saa7164_gpio_setup()
749 * GPIO 3: lgdt3306-2 demod reset in saa7164_gpio_setup()
753 * GPIO 2: si2168-1 demod reset in saa7164_gpio_setup()
754 * GPIO 3: si2168-2 demod reset in saa7164_gpio_setup()
775 /* Make sure we support the board model */ in hauppauge_eeprom()
778 /* Development board - Limit circulation */ in hauppauge_eeprom()
779 /* WinTV-HVR2250 (PCIe, Retail, full-height bracket) in hauppauge_eeprom()
782 /* WinTV-HVR2250 (PCIe, Retail, full-height bracket) in hauppauge_eeprom()
786 /* WinTV-HVR2250 (PCIe, Retail, full-height bracket) in hauppauge_eeprom()
790 /* WinTV-HVR2250 (PCIe, Retail, full-height bracket) in hauppauge_eeprom()
795 /* WinTV-HVR2200 (PCIe, Retail, full-height) in hauppauge_eeprom()
796 * DVB-T (TDA18271/TDA10048) and basic analog, no IR */ in hauppauge_eeprom()
799 /* WinTV-HVR2200 (PCIe, Retail, half-height) in hauppauge_eeprom()
800 * DVB-T (TDA18271/TDA10048) and basic analog, no IR */ in hauppauge_eeprom()
803 /* First production board rev B2I6 */ in hauppauge_eeprom()
804 /* WinTV-HVR2205 (PCIe, Retail, full-height bracket) in hauppauge_eeprom()
805 * DVB-T/T2/C (SI2157/SI2168) and basic analog, FM */ in hauppauge_eeprom()
808 /* First production board rev B2I6 */ in hauppauge_eeprom()
809 /* WinTV-HVR2205 (PCIe, Retail, half-height bracket) in hauppauge_eeprom()
810 * DVB-T/T2/C (SI2157/SI2168) and basic analog, FM */ in hauppauge_eeprom()
813 /* First production board rev B1I6 */ in hauppauge_eeprom()
814 /* WinTV-HVR2255 (PCIe, Retail, full-height bracket) in hauppauge_eeprom()
819 dev->name, tv.model); in hauppauge_eeprom()
823 printk(KERN_INFO "%s: Hauppauge eeprom: model=%d\n", dev->name, in hauppauge_eeprom()
831 if (dev->i2c_bus[0].i2c_rc == 0) { in saa7164_card_setup()
837 switch (dev->board) { in saa7164_card_setup()
858 * id, regardless of how the physical implementation occurs across
872 struct saa7164_dev *dev = bus->dev; in saa7164_i2caddr_to_unitid()
877 unit = &saa7164_boards[dev->board].unit[i]; in saa7164_i2caddr_to_unitid()
879 if (unit->type == SAA7164_UNIT_UNDEFINED) in saa7164_i2caddr_to_unitid()
881 if ((bus->nr == unit->i2c_bus_nr) && in saa7164_i2caddr_to_unitid()
882 (addr == unit->i2c_bus_addr)) in saa7164_i2caddr_to_unitid()
883 return unit->id; in saa7164_i2caddr_to_unitid()
886 return -1; in saa7164_i2caddr_to_unitid()
899 struct saa7164_dev *dev = bus->dev; in saa7164_i2caddr_to_reglen()
904 unit = &saa7164_boards[dev->board].unit[i]; in saa7164_i2caddr_to_reglen()
906 if (unit->type == SAA7164_UNIT_UNDEFINED) in saa7164_i2caddr_to_reglen()
909 if ((bus->nr == unit->i2c_bus_nr) && in saa7164_i2caddr_to_reglen()
910 (addr == unit->i2c_bus_addr)) in saa7164_i2caddr_to_reglen()
911 return unit->i2c_reg_len; in saa7164_i2caddr_to_reglen()
914 return -1; in saa7164_i2caddr_to_reglen()
917 * eeprom related todo's in -api.c.
932 unit = &saa7164_boards[dev->board].unit[i]; in saa7164_unitid_name()
934 if (unit->type == SAA7164_UNIT_UNDEFINED) in saa7164_unitid_name()
937 if (unitid == unit->id) in saa7164_unitid_name()
938 return unit->name; in saa7164_unitid_name()