Lines Matching +full:eeprom +full:- +full:name
1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com>
17 * and keep the -i2c.c implementation clean.
27 .name = "Unknown",
32 .name = "Generic Rev2",
38 .name = "Generic Rev3",
42 .name = "Hauppauge WinTV-HVR2200",
53 .name = "4K EEPROM",
60 .name = "TDA18271-1",
67 .name = "TDA18271-2",
74 .name = "TDA10048-1",
81 .name = "TDA10048-2",
88 .name = "Hauppauge WinTV-HVR2200",
99 .name = "4K EEPROM",
106 .name = "TDA18271-1",
113 .name = "TDA10048-1",
120 .name = "TDA18271-2",
127 .name = "TDA10048-2",
134 .name = "Hauppauge WinTV-HVR2200",
145 .name = "4K EEPROM",
152 .name = "TDA18271-1",
159 .name = "TDA8290-1",
166 .name = "TDA18271-2",
173 .name = "TDA8290-2",
180 .name = "TDA10048-1",
187 .name = "TDA10048-2",
194 .name = "Hauppauge WinTV-HVR2200",
205 .name = "4K EEPROM",
212 .name = "TDA18271-1",
219 .name = "TDA8290-1",
226 .name = "TDA18271-2",
233 .name = "TDA8290-2",
240 .name = "TDA10048-1",
247 .name = "TDA10048-2",
254 .name = "Hauppauge WinTV-HVR2250",
265 .name = "4K EEPROM",
272 .name = "TDA18271-1",
279 .name = "CX24228/S5H1411-1 (TOP)",
286 .name = "CX24228/S5H1411-1 (QAM)",
293 .name = "TDA18271-2",
300 .name = "CX24228/S5H1411-2 (TOP)",
307 .name = "CX24228/S5H1411-2 (QAM)",
314 .name = "Hauppauge WinTV-HVR2250",
325 .name = "4K EEPROM",
332 .name = "TDA18271-1",
339 .name = "CX24228/S5H1411-1 (TOP)",
346 .name = "CX24228/S5H1411-1 (QAM)",
353 .name = "TDA18271-2",
360 .name = "CX24228/S5H1411-2 (TOP)",
367 .name = "CX24228/S5H1411-2 (QAM)",
374 .name = "Hauppauge WinTV-HVR2250",
385 .name = "4K EEPROM",
392 .name = "TDA18271-1",
399 .name = "CX24228/S5H1411-1 (TOP)",
406 .name = "CX24228/S5H1411-1 (QAM)",
413 .name = "TDA18271-2",
420 .name = "CX24228/S5H1411-2 (TOP)",
427 .name = "CX24228/S5H1411-2 (QAM)",
434 .name = "Hauppauge WinTV-HVR2200",
441 .name = "4K EEPROM",
448 .name = "TDA18271-1",
455 .name = "TDA8290-1",
462 .name = "TDA18271-2",
469 .name = "TDA8290-2",
476 .name = "TDA10048-1",
483 .name = "TDA10048-2",
490 .name = "Hauppauge WinTV-HVR2255(proto)",
501 .name = "4K EEPROM",
508 .name = "SI2157-1",
515 .name = "LGDT3306",
522 .name = "SI2157-2",
529 .name = "LGDT3306-2",
536 .name = "Hauppauge WinTV-HVR2255",
547 .name = "4K EEPROM",
554 .name = "SI2157-1",
561 .name = "LGDT3306-1",
568 .name = "SI2157-2",
575 .name = "LGDT3306-2",
582 .name = "Hauppauge WinTV-HVR2205",
593 .name = "4K EEPROM",
600 .name = "SI2157-1",
607 .name = "SI2168-1",
614 .name = "SI2157-2",
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()
704 "%s: -- tux\n", in saa7164_card_list()
705 dev->name, dev->name, dev->name, dev->name, dev->name); 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()
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()
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()
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()
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()
829 static u8 eeprom[256]; in saa7164_card_setup() local
831 if (dev->i2c_bus[0].i2c_rc == 0) { in saa7164_card_setup()
832 if (saa7164_api_read_eeprom(dev, &eeprom[0], in saa7164_card_setup()
833 sizeof(eeprom)) < 0) in saa7164_card_setup()
837 switch (dev->board) { in saa7164_card_setup()
849 hauppauge_eeprom(dev, &eeprom[0]); in saa7164_card_setup()
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.
920 /* Translate a unitid into a x readable device name, for display purposes. */
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()