Lines Matching +full:0 +full:xc4000

11 #include "xc4000.h"
19 static unsigned int tuner[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET };
20 static unsigned int radio[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET };
21 static unsigned int card[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET };
43 } while (0)
60 .vmux = 0,
81 .vmux = 0,
82 .gpio0 = 0xff00, // internal decoder
85 .vmux = 0,
86 .gpio0 = 0xff01, // mono from tuner chip
90 .gpio0 = 0xff02,
94 .gpio0 = 0xff02,
98 .gpio0 = 0xff01,
109 .vmux = 0,
123 .vmux = 0,
124 .gpio0 = 0xff00, // internal decoder
134 .gpio0 = 0xff10,
146 .vmux = 0,
147 .gpio0 = 0x03ff,
151 .gpio0 = 0x03fe,
155 .gpio0 = 0x03fe,
167 .vmux = 0,
168 .gpio0 = 0x00F5e700,
169 .gpio1 = 0x00003004,
170 .gpio2 = 0x00F5e700,
171 .gpio3 = 0x02000000,
175 .gpio0 = 0x00F5c700,
176 .gpio1 = 0x00003004,
177 .gpio2 = 0x00F5c700,
178 .gpio3 = 0x02000000,
182 .gpio0 = 0x00F5c700,
183 .gpio1 = 0x00003004,
184 .gpio2 = 0x00F5c700,
185 .gpio3 = 0x02000000,
189 .gpio0 = 0x00F5d700,
190 .gpio1 = 0x00003004,
191 .gpio2 = 0x00F5d700,
192 .gpio3 = 0x02000000,
204 .vmux = 0,
205 .gpio1 = 0xe09f,
209 .gpio1 = 0xe05f,
213 .gpio1 = 0xe05f,
216 .gpio1 = 0xe0df,
231 .vmux = 0,
232 .gpio0 = 0x000040bf,
233 .gpio1 = 0x000080c0,
234 .gpio2 = 0x0000ff40,
238 .gpio0 = 0x000040bf,
239 .gpio1 = 0x000080c0,
240 .gpio2 = 0x0000ff40,
244 .gpio0 = 0x000040bf,
245 .gpio1 = 0x000080c0,
246 .gpio2 = 0x0000ff40,
251 .gpio0 = 0x000040bf,
252 .gpio1 = 0x000080c0,
253 .gpio2 = 0x0000ff20,
265 .vmux = 0,
266 .gpio0 = 0x0035e700,
267 .gpio1 = 0x00003004,
268 .gpio2 = 0x0035e700,
269 .gpio3 = 0x02000000,
273 .gpio0 = 0x0035c700,
274 .gpio1 = 0x00003004,
275 .gpio2 = 0x0035c700,
276 .gpio3 = 0x02000000,
280 .gpio0 = 0x0035c700,
281 .gpio1 = 0x0035c700,
282 .gpio2 = 0x02000000,
283 .gpio3 = 0x02000000,
287 .gpio0 = 0x0035d700,
288 .gpio1 = 0x00007004,
289 .gpio2 = 0x0035d700,
290 .gpio3 = 0x02000000,
303 .vmux = 0,
304 .gpio0 = 0x0000bde2,
309 .gpio0 = 0x0000bde6,
314 .gpio0 = 0x0000bde6,
319 .gpio0 = 0x0000bd62,
332 .vmux = 0,
350 .vmux = 0,
351 .gpio0 = 0xbff0,
355 .gpio0 = 0xbff3,
359 .gpio0 = 0xbff3,
363 .gpio0 = 0xbff0,
375 .vmux = 0,
376 .gpio0 = 0x0000fde6,
380 .gpio0 = 0x0000fde6, // 0x0000fda6 L,R RCA audio in?
385 .gpio0 = 0x0000fde2,
398 .vmux = 0,
399 .gpio0 = 0x00000fbf,
400 .gpio2 = 0x0000fc08,
404 .gpio0 = 0x00000fbf,
405 .gpio2 = 0x0000fc68,
409 .gpio0 = 0x00000fbf,
410 .gpio2 = 0x0000fc68,
422 .gpio0 = 0x0700,
423 .gpio2 = 0x0101,
427 .gpio0 = 0x0700,
428 .gpio2 = 0x0101,
441 .gpio0 = 0x000027df,
445 .gpio0 = 0x000027df,
457 .vmux = 0,
458 .gpio0 = 0x07f8,
461 .vmux = 0,
462 .gpio0 = 0x07f9, // mono from tuner chip
466 .gpio0 = 0x000007fa,
470 .gpio0 = 0x000007fa,
474 .gpio0 = 0x000007f8,
484 * GPIO[0] resets DT3302 DTV receiver
485 * 0 - reset asserted
488 * 0 - enable selected source
491 * 0 - analog audio input connector on tab
494 * 0 - RF connector labeled CABLE
497 * 0 - normal RF
502 .vmux = 0,
503 .gpio0 = 0x0f0d,
506 .vmux = 0,
507 .gpio0 = 0x0f05,
511 .gpio0 = 0x0f00,
515 .gpio0 = 0x0f00,
527 .vmux = 0,
539 .vmux = 0,
551 .vmux = 0,
565 .gpio0 = 0x000027df,
569 .gpio0 = 0x000027df,
582 .gpio0 = 0x00000700,
583 .gpio2 = 0x00000101,
587 .gpio0 = 0x00000700,
588 .gpio2 = 0x00000101,
600 * 0 = analog audio input connector
604 * 0 = FM 10.7 MHz IF
613 .vmux = 0,
614 .gpio0 = 0x00008484,
618 .gpio0 = 0x00008400,
622 .gpio0 = 0x00008400,
626 .gpio0 = 0x00008404,
640 .vmux = 0,
641 .gpio0 = 0xed1a,
642 .gpio2 = 0x00ff,
645 .vmux = 0,
646 .gpio0 = 0xff01,
650 .gpio0 = 0xff02,
654 .gpio0 = 0xed92,
655 .gpio2 = 0x00ff,
659 .gpio0 = 0xed96,
660 .gpio2 = 0x00ff,
673 .vmux = 0,
674 .gpio0 = 0x00009d80,
679 .gpio0 = 0x00009d76,
684 .gpio0 = 0x00009d76,
689 .gpio0 = 0x00009d00,
704 .gpio1 = 0x0000e03f,
708 .gpio1 = 0x0000e07f,
712 .gpio1 = 0x0000e07f,
729 .vmux = 0,
730 .gpio0 = 0xbf61, /* internal decoder */
734 .gpio0 = 0xbf63,
738 .gpio0 = 0xbf63,
742 .gpio0 = 0xbf60,
754 .vmux = 0,
755 .gpio0 = 0x97ed,
759 .gpio0 = 0x97e9,
763 .gpio0 = 0x97e9,
776 .gpio0 = 0x0700,
777 .gpio2 = 0x0101,
781 .gpio0 = 0x0700,
782 .gpio2 = 0x0101,
791 .vmux = 0,
810 .vmux = 0,
811 .gpio0 = 0x87fd,
815 .gpio0 = 0x87f9,
819 .gpio0 = 0x87f9,
832 .vmux = 0,
833 .gpio0 = 0x0000cd73,
838 .gpio0 = 0x0000cd73,
843 .gpio0 = 0x0000cdb3,
849 .gpio0 = 0x0000cdf3,
861 .gpio0 = 0x03000000,
862 .gpio1 = 0x01000000,
863 .gpio2 = 0x02000000,
864 .gpio3 = 0x00100000,
868 .gpio0 = 0x03000000,
869 .gpio1 = 0x01000000,
870 .gpio2 = 0x02000000,
871 .gpio3 = 0x00100000,
882 .vmux = 0,
883 .gpio0 = 0x00000ff7,
884 .gpio1 = 0x000000ff,
885 .gpio2 = 0x00000001,
886 .gpio3 = 0x00000000,
890 .gpio0 = 0x00000ffe,
891 .gpio1 = 0x000000ff,
892 .gpio2 = 0x00000001,
893 .gpio3 = 0x00000000,
897 .gpio0 = 0x00000ffe,
898 .gpio1 = 0x000000ff,
899 .gpio2 = 0x00000001,
900 .gpio3 = 0x00000000,
912 .vmux = 0,
931 .vmux = 0,
932 .gpio0 = 0x00ff,
933 .gpio1 = 0xe09f,
934 .gpio2 = 0x0010,
935 .gpio3 = 0x0000,
939 .gpio0 = 0x00ff,
940 .gpio1 = 0xe05f,
941 .gpio2 = 0x0010,
942 .gpio3 = 0x0000,
946 .gpio0 = 0x00ff,
947 .gpio1 = 0xe05f,
948 .gpio2 = 0x0010,
949 .gpio3 = 0x0000,
962 .vmux = 0,
986 .vmux = 0,
999 .vmux = 0,
1024 .vmux = 0,
1044 .vmux = 0,
1062 .vmux = 0,
1063 .gpio0 = 0xf80808,
1067 .gpio0 = 0xf80808,
1071 .gpio0 = 0xf80808,
1075 .gpio0 = 0xf80808,
1091 .gpio0 = 0x0700,
1092 .gpio2 = 0x0101,
1096 .gpio0 = 0x0700,
1097 .gpio2 = 0x0101,
1110 .gpio0 = 0x000067df,
1114 .gpio0 = 0x000067df,
1126 .vmux = 0,
1127 .gpio0 = 0x3de2,
1128 .gpio2 = 0x00ff,
1132 .gpio0 = 0x3de6,
1137 .gpio0 = 0x3de6,
1142 .gpio0 = 0x3de6,
1143 .gpio2 = 0x00ff,
1155 .vmux = 0,
1156 .gpio0 = 0x0000a75f,
1160 .gpio0 = 0x0000a75b,
1164 .gpio0 = 0x0000a75b,
1177 .vmux = 0,
1178 .gpio0 = 0x87fd,
1182 .gpio0 = 0x87f9,
1186 .gpio0 = 0x87f9,
1203 .vmux = 0,
1204 .gpio0 = 0x0000BDE6
1219 .vmux = 0,
1220 .gpio0 = 0x5da6,
1232 .vmux = 0,
1233 .gpio0 = 0x0788,
1237 .gpio0 = 0x078b,
1241 .gpio0 = 0x078b,
1245 .gpio0 = 0x074a,
1257 .vmux = 0,
1258 .gpio0 = 0x00017304,
1259 .gpio1 = 0x00008203,
1260 .gpio2 = 0x00017304,
1261 .gpio3 = 0x02000000,
1265 .gpio0 = 0x0001d701,
1266 .gpio1 = 0x0000b207,
1267 .gpio2 = 0x0001d701,
1268 .gpio3 = 0x02000000,
1272 .gpio0 = 0x0001d503,
1273 .gpio1 = 0x0000b207,
1274 .gpio2 = 0x0001d503,
1275 .gpio3 = 0x02000000,
1279 .gpio0 = 0x0001d701,
1280 .gpio1 = 0x0000b207,
1281 .gpio2 = 0x0001d701,
1282 .gpio3 = 0x02000000,
1286 .gpio0 = 0x00015702,
1287 .gpio1 = 0x0000f207,
1288 .gpio2 = 0x00015702,
1289 .gpio3 = 0x02000000,
1302 .vmux = 0,
1303 .gpio0 = 0x00017300,
1304 .gpio1 = 0x00008207,
1305 .gpio2 = 0x00000000,
1306 .gpio3 = 0x02000000,
1309 .vmux = 0,
1310 .gpio0 = 0x00018300,
1311 .gpio1 = 0x0000f207,
1312 .gpio2 = 0x00017304,
1313 .gpio3 = 0x02000000,
1317 .gpio0 = 0x00018301,
1318 .gpio1 = 0x0000f207,
1319 .gpio2 = 0x00017304,
1320 .gpio3 = 0x02000000,
1324 .gpio0 = 0x00018301,
1325 .gpio1 = 0x0000f207,
1326 .gpio2 = 0x00017304,
1327 .gpio3 = 0x02000000,
1331 .gpio0 = 0x00015702,
1332 .gpio1 = 0x0000f207,
1333 .gpio2 = 0x00015702,
1334 .gpio3 = 0x02000000,
1346 .vmux = 0,
1363 .vmux = 0,
1364 .gpio0 = 0x84bf,
1370 .gpio0 = 0x84bf,
1376 .gpio0 = 0x84bf,
1382 .gpio0 = 0x84bf,
1397 .vmux = 0,
1398 .gpio0 = 0x0709,
1402 .gpio0 = 0x070b,
1406 .gpio0 = 0x070b,
1417 .vmux = 0,
1418 .gpio0 = 0x003fffff,
1419 .gpio1 = 0x00e00000,
1420 .gpio2 = 0x003fffff,
1421 .gpio3 = 0x02000000,
1425 .gpio0 = 0x003fffff,
1426 .gpio1 = 0x00e00000,
1427 .gpio2 = 0x003fffff,
1428 .gpio3 = 0x02000000,
1432 .gpio0 = 0x003fffff,
1433 .gpio1 = 0x00e00000,
1434 .gpio2 = 0x003fffff,
1435 .gpio3 = 0x02000000,
1451 .vmux = 0,
1452 .gpio0 = 0xef88,
1458 .gpio0 = 0xef88,
1464 .gpio0 = 0xef88,
1471 .gpio0 = 0xef88,
1484 .vmux = 0,
1497 .gpio0 = 0x04ff,
1501 .gpio0 = 0x07fa,
1505 .gpio0 = 0x07fa,
1516 .vmux = 0,
1517 .gpio0 = 0x04fb,
1518 .gpio1 = 0x10ff,
1522 .gpio0 = 0x04fb,
1523 .gpio1 = 0x10ef,
1528 .gpio0 = 0x04fb,
1529 .gpio1 = 0x10ef,
1543 .vmux = 0,
1544 .gpio0 = 0x000027df, /* Unconfirmed */
1548 .gpio0 = 0x000027df, /* Unconfirmed */
1553 .gpio0 = 0x000027df, /* Unconfirmed */
1561 .tuner_addr = 0x61,
1566 .vmux = 0,
1567 .gpio0 = 0x004ff,
1568 .gpio1 = 0x010ff,
1569 .gpio2 = 0x00001,
1573 .gpio0 = 0x004fb,
1574 .gpio1 = 0x010ef,
1579 .gpio0 = 0x004fb,
1580 .gpio1 = 0x010ef,
1585 .gpio0 = 0x004ff,
1586 .gpio1 = 0x010ff,
1587 .gpio2 = 0x0ff,
1592 /* TV Audio : set GPIO 2, 18, 19 value to 0, 1, 0 */
1593 /* FM Audio : set GPIO 2, 18, 19 value to 0, 0, 0 */
1594 /* Line-in Audio : set GPIO 2, 18, 19 value to 0, 1, 1 */
1599 .tuner_addr = 0x61,
1604 .vmux = 0,
1605 .gpio0 = 0x0400, /* pin 2 = 0 */
1606 .gpio1 = 0x0000,
1607 .gpio2 = 0x0C04, /* pin 18 = 1, pin 19 = 0 */
1608 .gpio3 = 0x0000,
1612 .gpio0 = 0x0400, /* pin 2 = 0 */
1613 .gpio1 = 0x0000,
1614 .gpio2 = 0x0C0C, /* pin 18 = 1, pin 19 = 1 */
1615 .gpio3 = 0x0000,
1619 .gpio0 = 0x0400, /* pin 2 = 0 */
1620 .gpio1 = 0x0000,
1621 .gpio2 = 0x0C0C, /* pin 18 = 1, pin 19 = 1 */
1622 .gpio3 = 0x0000,
1626 .gpio0 = 0x0400, /* pin 2 = 0 */
1627 .gpio1 = 0x0000,
1628 .gpio2 = 0x0C00, /* pin 18 = 0, pin 19 = 0 */
1629 .gpio3 = 0x0000,
1635 .tuner_addr = 0x61,
1640 .vmux = 0,
1641 .gpio0 = 0x0400, /* pin 2 = 0 */
1642 .gpio1 = 0x0000,
1643 .gpio2 = 0x0C04, /* pin 18 = 1, pin 19 = 0 */
1644 .gpio3 = 0x0000,
1648 .gpio0 = 0x0400, /* pin 2 = 0 */
1649 .gpio1 = 0x0000,
1650 .gpio2 = 0x0C0C, /* pin 18 = 1, pin 19 = 1 */
1651 .gpio3 = 0x0000,
1655 .gpio0 = 0x0400, /* pin 2 = 0 */
1656 .gpio1 = 0x0000,
1657 .gpio2 = 0x0C0C, /* pin 18 = 1, pin 19 = 1 */
1658 .gpio3 = 0x0000,
1662 .gpio0 = 0x0400, /* pin 2 = 0 */
1663 .gpio1 = 0x0000,
1664 .gpio2 = 0x0C00, /* pin 18 = 0, pin 19 = 0 */
1665 .gpio3 = 0x0000,
1671 .tuner_addr = 0x61,
1676 .vmux = 0,
1677 .gpio0 = 0x0400, /* pin 2 = 0 */
1678 .gpio1 = 0x6040, /* pin 14 = 1, pin 13 = 0 */
1679 .gpio2 = 0x0000,
1680 .gpio3 = 0x0000,
1684 .gpio0 = 0x0400, /* pin 2 = 0 */
1685 .gpio1 = 0x6060, /* pin 14 = 1, pin 13 = 1 */
1686 .gpio2 = 0x0000,
1687 .gpio3 = 0x0000,
1691 .gpio0 = 0x0400, /* pin 2 = 0 */
1692 .gpio1 = 0x6060, /* pin 14 = 1, pin 13 = 1 */
1693 .gpio2 = 0x0000,
1694 .gpio3 = 0x0000,
1698 .gpio0 = 0x0400, /* pin 2 = 0 */
1699 .gpio1 = 0x6000, /* pin 14 = 1, pin 13 = 0 */
1700 .gpio2 = 0x0000,
1701 .gpio3 = 0x0000,
1708 .tuner_addr = 0x61,
1719 .gpio0 = 0x00ff,
1720 .gpio1 = 0xf39d,
1721 .gpio3 = 0x0000,
1724 .vmux = 0,
1725 .gpio0 = 0x00ff,
1726 .gpio1 = 0xf35d,
1727 .gpio3 = 0x0000,
1731 .gpio0 = 0x00ff,
1732 .gpio1 = 0xf37d,
1733 .gpio3 = 0x0000,
1737 .gpio0 = 0x000ff,
1738 .gpio1 = 0x0f37d,
1739 .gpio3 = 0x00000,
1743 .gpio0 = 0x000ff,
1744 .gpio1 = 0x0f35d,
1745 .gpio3 = 0x00000,
1752 .tuner_addr = 0x61,
1755 .vmux = 0,
1756 .gpio0 = 0x00000000,
1757 .gpio1 = 0x00e3e341,
1758 .gpio2 = 0x00000000,
1759 .gpio3 = 0x00000000,
1763 .gpio0 = 0x00000000,
1764 .gpio1 = 0x00e3e361,
1765 .gpio2 = 0x00000000,
1766 .gpio3 = 0x00000000,
1770 .gpio0 = 0x00000000,
1771 .gpio1 = 0x00e3e361,
1772 .gpio2 = 0x00000000,
1773 .gpio3 = 0x00000000,
1777 .gpio0 = 0x00000000,
1778 .gpio1 = 0x00e3e341,
1779 .gpio2 = 0x00000000,
1780 .gpio3 = 0x00000000,
1788 .tuner_addr = 0x61,
1794 .vmux = 0,
1795 .gpio0 = 0x0000,
1796 .gpio1 = 0xa141,
1797 .gpio2 = 0x0000,
1801 .gpio0 = 0x0000,
1802 .gpio1 = 0xa161,
1803 .gpio2 = 0x0000,
1807 .gpio0 = 0x0000,
1808 .gpio1 = 0xa161,
1809 .gpio2 = 0x0000,
1813 .gpio0 = 0x0000,
1814 .gpio1 = 0xa141,
1815 .gpio2 = 0x0000,
1822 .tuner_addr = 0x61,
1828 .gpio0 = 0x000067df,
1832 .gpio0 = 0x000067df,
1844 .vmux = 0,
1845 .gpio0 = 0x10df,
1849 .gpio0 = 0x16d9,
1853 .gpio0 = 0x16d9,
1860 .tuner_addr = 0x61,
1863 .vmux = 0,
1864 .gpio0 = 0x0ff,
1865 .gpio2 = 0x0cfb,
1869 .gpio2 = 0x0cfb,
1873 .gpio2 = 0x0cfb,
1877 .gpio2 = 0x0cfb,
1883 .tuner_addr = 0x61,
1886 .vmux = 0,
1887 .gpio0 = 0x04fb,
1888 .gpio1 = 0x04080,
1889 .gpio2 = 0x0cf7,
1893 .gpio0 = 0x04fb,
1894 .gpio1 = 0x04080,
1895 .gpio2 = 0x0cfb,
1899 .gpio0 = 0x04fb,
1900 .gpio1 = 0x04080,
1901 .gpio2 = 0x0cfb,
1905 .gpio0 = 0x04ff,
1906 .gpio1 = 0x04080,
1907 .gpio2 = 0x0cf7,
1925 .vmux = 0,
1926 .gpio0 = 0x000000ff,
1927 .gpio1 = 0x0000f35d,
1928 .gpio2 = 0x00000000,
1932 .gpio0 = 0x000000ff,
1933 .gpio1 = 0x0000f37e,
1934 .gpio2 = 0x00000000,
1938 .gpio0 = 0x000000ff,
1939 .gpio1 = 0x0000f37e,
1940 .gpio2 = 0x00000000,
1944 .gpio0 = 0x000000ff,
1945 .gpio1 = 0x0000f35d,
1946 .gpio2 = 0x00000000,
1962 * Antenna 0xc4bf 0xc4bb
1963 * Composite 0xc4bf 0xc4bb
1964 * S-Video 0xc4bf 0xc4bb
1965 * Composite1 0xc4ff 0xc4fb
1966 * S-Video1 0xc4ff 0xc4fb
1969 * 0 1 I:?
1971 * 2 1 O:MPEG PORT 0=DVB-T 1=DVB-S
1975 * 6 0 O:INPUT SELECTOR 0=INTERNAL 1=EXPANSION
1979 * 8 0 I
1980 * 9 0 I
1982 * b 0 I
1983 * c 0 I
1984 * d 0 I
1997 .vmux = 0,
1998 .gpio0 = 0xc4bf,
2004 .gpio0 = 0xc4bf,
2010 .gpio0 = 0xc4bf,
2016 .gpio0 = 0xc4bf,
2031 .vmux = 0,
2043 .vmux = 0,
2055 .vmux = 0,
2067 .vmux = 0,
2079 .vmux = 0,
2091 .vmux = 0,
2103 .vmux = 0,
2104 .gpio0 = 0x8080,
2116 .vmux = 0,
2128 .vmux = 0,
2140 .vmux = 0,
2147 .tuner_addr = 0x61,
2152 .vmux = 0,
2153 .gpio0 = 0x004ff,
2154 .gpio1 = 0x010ff,
2155 .gpio2 = 0x00001,
2159 .gpio0 = 0x004fb,
2160 .gpio1 = 0x010ef,
2165 .gpio0 = 0x004fb,
2166 .gpio1 = 0x010ef,
2171 .gpio0 = 0x004ff,
2172 .gpio1 = 0x010ff,
2173 .gpio2 = 0x0ff,
2188 .tuner_addr = 0x61,
2193 * 2: mute (0=off,1=on)
2195 * 13: audio source (0=tuner audio,1=line in)
2196 * 14: FM (0=on,1=off ???)
2200 .vmux = 0,
2201 .gpio0 = 0x0400, /* pin 2 = 0 */
2202 .gpio1 = 0x6040, /* pin 13 = 0, pin 14 = 1 */
2203 .gpio2 = 0x0000,
2207 .gpio0 = 0x0400, /* pin 2 = 0 */
2208 .gpio1 = 0x6060, /* pin 13 = 1, pin 14 = 1 */
2209 .gpio2 = 0x0000,
2213 .gpio0 = 0x0400, /* pin 2 = 0 */
2214 .gpio1 = 0x6060, /* pin 13 = 1, pin 14 = 1 */
2215 .gpio2 = 0x0000,
2219 .gpio0 = 0x0400, /* pin 2 = 0 */
2220 .gpio1 = 0x6000, /* pin 13 = 0, pin 14 = 0 */
2221 .gpio2 = 0x0000,
2226 .name = "Leadtek WinFast DTV1800 H (XC4000)",
2229 .tuner_addr = 0x61,
2234 * 2: mute (0=off,1=on)
2236 * 13: audio source (0=tuner audio,1=line in)
2237 * 14: FM (0=on,1=off ???)
2241 .vmux = 0,
2242 .gpio0 = 0x0400, /* pin 2 = 0 */
2243 .gpio1 = 0x6040, /* pin 13 = 0, pin 14 = 1 */
2244 .gpio2 = 0x0000,
2248 .gpio0 = 0x0400, /* pin 2 = 0 */
2249 .gpio1 = 0x6060, /* pin 13 = 1, pin 14 = 1 */
2250 .gpio2 = 0x0000,
2254 .gpio0 = 0x0400, /* pin 2 = 0 */
2255 .gpio1 = 0x6060, /* pin 13 = 1, pin 14 = 1 */
2256 .gpio2 = 0x0000,
2260 .gpio0 = 0x0400, /* pin 2 = 0 */
2261 .gpio1 = 0x6000, /* pin 13 = 0, pin 14 = 0 */
2262 .gpio2 = 0x0000,
2270 .tuner_addr = 0x61,
2275 * 12: 0: reset XC4000
2276 * 13: 1: audio input is line in (0: tuner)
2277 * 14: 0: FM radio
2278 * 16: 0: RF input is cable
2282 .vmux = 0,
2283 .gpio0 = 0x0403,
2284 .gpio1 = 0xF0D7,
2285 .gpio2 = 0x0101,
2286 .gpio3 = 0x0000,
2289 .vmux = 0,
2290 .gpio0 = 0x0403,
2291 .gpio1 = 0xF0D7,
2292 .gpio2 = 0x0100,
2293 .gpio3 = 0x0000,
2297 .gpio0 = 0x0403, /* was 0x0407 */
2298 .gpio1 = 0xF0F7,
2299 .gpio2 = 0x0101,
2300 .gpio3 = 0x0000,
2304 .gpio0 = 0x0403, /* was 0x0407 */
2305 .gpio1 = 0xF0F7,
2306 .gpio2 = 0x0101,
2307 .gpio3 = 0x0000,
2311 .gpio0 = 0x0403,
2312 .gpio1 = 0xF097,
2313 .gpio2 = 0x0100,
2314 .gpio3 = 0x0000,
2326 .vmux = 0,
2338 .vmux = 0,
2349 .subvendor = 0x0070,
2350 .subdevice = 0x3400,
2353 .subvendor = 0x0070,
2354 .subdevice = 0x3401,
2357 .subvendor = 0x14c7,
2358 .subdevice = 0x0106,
2361 .subvendor = 0x14c7,
2362 .subdevice = 0x0107, /* with mpeg encoder */
2366 .subdevice = 0x00f8,
2370 .subdevice = 0x00f9,
2373 .subvendor = 0x107d,
2374 .subdevice = 0x6611,
2377 .subvendor = 0x107d,
2378 .subdevice = 0x6613, /* NTSC */
2381 .subvendor = 0x107d,
2382 .subdevice = 0x6620,
2385 .subvendor = 0x107d,
2386 .subdevice = 0x663b,
2389 .subvendor = 0x107d,
2390 .subdevice = 0x663c,
2393 .subvendor = 0x1461,
2394 .subdevice = 0x000b,
2397 .subvendor = 0x1462,
2398 .subdevice = 0x8606,
2401 .subvendor = 0x10fc,
2402 .subdevice = 0xd003,
2405 .subvendor = 0x1043,
2406 .subdevice = 0x4823, /* with mpeg encoder */
2409 .subvendor = 0x17de,
2410 .subdevice = 0x08a6,
2413 .subvendor = 0x18ac,
2414 .subdevice = 0xd810,
2417 .subvendor = 0x18ac,
2418 .subdevice = 0xd820,
2421 .subvendor = 0x18ac,
2422 .subdevice = 0xdb00,
2425 .subvendor = 0x0070,
2426 .subdevice = 0x9002,
2429 .subvendor = 0x14f1,
2430 .subdevice = 0x0187,
2433 .subvendor = 0x1540,
2434 .subdevice = 0x2580,
2437 .subvendor = 0x18ac,
2438 .subdevice = 0xdb10,
2441 .subvendor = 0x1554,
2442 .subdevice = 0x4811,
2445 .subvendor = 0x7063,
2446 .subdevice = 0x3000, /* HD-3000 card */
2449 .subvendor = 0x17de,
2450 .subdevice = 0xa8a6,
2453 .subvendor = 0x0070,
2454 .subdevice = 0x2801,
2457 .subvendor = 0x14f1,
2458 .subdevice = 0x0342,
2461 .subvendor = 0x10fc,
2462 .subdevice = 0xd035,
2465 .subvendor = 0x1421,
2466 .subdevice = 0x0334,
2469 .subvendor = 0x153b,
2470 .subdevice = 0x1166,
2473 .subvendor = 0x18ac,
2474 .subdevice = 0xd500,
2477 .subvendor = 0x1461,
2478 .subdevice = 0x8011,
2482 .subdevice = 0xa101,
2485 .subvendor = 0x107d,
2486 .subdevice = 0x665f,
2489 .subvendor = 0x1461,
2490 .subdevice = 0x000a,
2493 .subvendor = 0x0070,
2494 .subdevice = 0x9200,
2497 .subvendor = 0x0070,
2498 .subdevice = 0x9201,
2501 .subvendor = 0x0070,
2502 .subdevice = 0x9202,
2505 .subvendor = 0x17de,
2506 .subdevice = 0x08b2,
2509 .subvendor = 0x0070,
2510 .subdevice = 0x9400,
2513 .subvendor = 0x0070,
2514 .subdevice = 0x9402,
2517 .subvendor = 0x0070,
2518 .subdevice = 0x9800,
2521 .subvendor = 0x0070,
2522 .subdevice = 0x9802,
2525 .subvendor = 0x0070,
2526 .subdevice = 0x9001,
2529 .subvendor = 0x1822,
2530 .subdevice = 0x0025,
2533 .subvendor = 0x17de,
2534 .subdevice = 0x08a1,
2537 .subvendor = 0x18ac,
2538 .subdevice = 0xdb50,
2541 .subvendor = 0x18ac,
2542 .subdevice = 0xdb54,
2546 .subvendor = 0x18ac,
2547 .subdevice = 0xdb11,
2551 .subvendor = 0x18ac,
2552 .subdevice = 0xdb30,
2555 .subvendor = 0x17de,
2556 .subdevice = 0x0840,
2559 .subvendor = 0x1421,
2560 .subdevice = 0x0305,
2563 .subvendor = 0x18ac,
2564 .subdevice = 0xdb40,
2567 .subvendor = 0x18ac,
2568 .subdevice = 0xdb44,
2571 .subvendor = 0x7063,
2572 .subdevice = 0x5500,
2575 .subvendor = 0x17de,
2576 .subdevice = 0x0841,
2579 .subvendor = 0x1822,
2580 .subdevice = 0x0019,
2583 .subvendor = 0x1554,
2584 .subdevice = 0x4813,
2587 .subvendor = 0x14f1,
2588 .subdevice = 0x0842,
2591 .subvendor = 0x107d,
2592 .subdevice = 0x665e,
2595 .subvendor = 0x107d,
2596 .subdevice = 0x6f2b,
2599 .subvendor = 0x18ac,
2600 .subdevice = 0xd800, /* FusionHDTV 3 Gold (original revision) */
2603 .subvendor = 0x14f1,
2604 .subdevice = 0x0084,
2607 .subvendor = 0x0070,
2608 .subdevice = 0x1404,
2611 .subvendor = 0x18ac,
2612 .subdevice = 0xdc00,
2615 .subvendor = 0x18ac,
2616 .subdevice = 0xdccd,
2619 .subvendor = 0x1461,
2620 .subdevice = 0xc111, /* AverMedia M150-D */
2624 .subvendor = 0xc180,
2625 .subdevice = 0xc980,
2628 .subvendor = 0x0070,
2629 .subdevice = 0x9600,
2632 .subvendor = 0x0070,
2633 .subdevice = 0x9601,
2636 .subvendor = 0x0070,
2637 .subdevice = 0x9602,
2640 .subvendor = 0x107d,
2641 .subdevice = 0x6632,
2644 .subvendor = 0x12ab,
2645 .subdevice = 0x2300, /* Club3D Zap TV2100 */
2648 .subvendor = 0x0070,
2649 .subdevice = 0x9000,
2652 .subvendor = 0x0070,
2653 .subdevice = 0x1400,
2656 .subvendor = 0x0070,
2657 .subdevice = 0x1401,
2660 .subvendor = 0x0070,
2661 .subdevice = 0x1402,
2664 .subvendor = 0x1421,
2665 .subdevice = 0x0341, /* ADS Tech InstantTV DVB-S */
2668 .subvendor = 0x1421,
2669 .subdevice = 0x0390,
2672 .subvendor = 0x11bd,
2673 .subdevice = 0x0051,
2676 .subvendor = 0x18ac,
2677 .subdevice = 0xd530,
2680 .subvendor = 0x12ab,
2681 .subdevice = 0x1788,
2684 .subvendor = 0x14f1,
2685 .subdevice = 0xea3d,
2688 .subvendor = 0x107d,
2689 .subdevice = 0x6f18,
2693 .subvendor = 0x14f1,
2694 .subdevice = 0x8852,
2697 .subvendor = 0x18ac,
2698 .subdevice = 0xd610,
2701 .subvendor = 0x1554,
2702 .subdevice = 0x4935,
2705 .subvendor = 0x1554,
2706 .subdevice = 0x4976,
2709 .subvendor = 0x17de,
2710 .subdevice = 0x08c1,
2713 .subvendor = 0x0070,
2714 .subdevice = 0x6900,
2717 .subvendor = 0x0070,
2718 .subdevice = 0x6904,
2721 .subvendor = 0x0070,
2722 .subdevice = 0x6902,
2725 .subvendor = 0x0070,
2726 .subdevice = 0x6905,
2729 .subvendor = 0x0070,
2730 .subdevice = 0x6906,
2733 .subvendor = 0xd420,
2734 .subdevice = 0x9022,
2737 .subvendor = 0xd460,
2738 .subdevice = 0x9022,
2741 .subvendor = 0xd464,
2742 .subdevice = 0x9022,
2745 .subvendor = 0xA044,
2746 .subdevice = 0x2011,
2749 .subvendor = 0x8910,
2750 .subdevice = 0x8888,
2753 .subvendor = 0x8920,
2754 .subdevice = 0x8888,
2757 .subvendor = 0xb022,
2758 .subdevice = 0x3022,
2761 .subvendor = 0xB033,
2762 .subdevice = 0x3033,
2765 .subvendor = 0xb200,
2766 .subdevice = 0x4200,
2769 .subvendor = 0x153b,
2770 .subdevice = 0x1177,
2773 .subvendor = 0x0070,
2774 .subdevice = 0x9290,
2777 .subvendor = 0x107d,
2778 .subdevice = 0x6654,
2781 /* WinFast DTV1800 H with XC4000 tuner */
2782 .subvendor = 0x107d,
2783 .subdevice = 0x6f38,
2786 .subvendor = 0x107d,
2787 .subdevice = 0x6f42,
2791 .subvendor = 0x107d,
2792 .subdevice = 0x6630,
2796 .subvendor = 0x107d,
2797 .subdevice = 0x6638,
2801 .subvendor = 0x107d,
2802 .subdevice = 0x6631,
2806 .subvendor = 0x107d,
2807 .subdevice = 0x6637,
2811 .subvendor = 0x107d,
2812 .subdevice = 0x663d,
2816 .subvendor = 0x107d,
2817 .subdevice = 0x6621,
2821 .subvendor = 0x107d,
2822 .subdevice = 0x6618,
2826 .subvendor = 0x107d,
2827 .subdevice = 0x6619,
2830 /* WinFast TV2000 XP Global with XC4000 tuner */
2831 .subvendor = 0x107d,
2832 .subdevice = 0x6f36,
2835 /* WinFast TV2000 XP Global with XC4000 tuner and different GPIOs */
2836 .subvendor = 0x107d,
2837 .subdevice = 0x6f43,
2840 .subvendor = 0xb034,
2841 .subdevice = 0x3034,
2844 .subvendor = 0x1822,
2845 .subdevice = 0x0023,
2855 if (eeprom_data[4] != 0x7d || in leadtek_eeprom()
2856 eeprom_data[5] != 0x10 || in leadtek_eeprom()
2857 eeprom_data[7] != 0x66) { in leadtek_eeprom()
2864 case 0x13: /* SSID 6613 for TV2000 XP Expert NTSC Model */ in leadtek_eeprom()
2865 case 0x21: /* SSID 6621 for DV2000 NTSC Model */ in leadtek_eeprom()
2866 case 0x31: /* SSID 6631 for PVR2000 NTSC Model */ in leadtek_eeprom()
2867 case 0x37: /* SSID 6637 for PVR2000 NTSC Model */ in leadtek_eeprom()
2868 case 0x3d: /* SSID 6637 for PVR2000 NTSC Model */ in leadtek_eeprom()
2876 pr_info("Leadtek Winfast 2000XP Expert config: tuner=%d, eeprom[0]=0x%02x\n", in leadtek_eeprom()
2877 core->board.tuner_type, eeprom_data[0]); in leadtek_eeprom()
2887 core->board.radio.type = tv.has_radio ? CX88_RADIO : 0; in hauppauge_eeprom()
2929 cx_set(MO_GP0_IO, 0x008989FF); in hauppauge_eeprom()
2948 [0x01] = { .id = UNSET,
2950 [0x02] = { .id = UNSET,
2952 [0x03] = { .id = UNSET,
2954 [0x04] = { .id = UNSET,
2956 [0x05] = { .id = UNSET,
2959 [0x10] = { .id = UNSET,
2962 [0x11] = { .id = TUNER_TEMIC_4136FY5,
2964 [0x12] = { .id = UNSET,
2967 [0x20] = { .id = TUNER_PHILIPS_FQ1216ME,
2970 [0x21] = { .id = UNSET, .fm = 1,
2972 [0x22] = { .id = UNSET,
2974 [0x23] = { .id = UNSET,
2980 const char *name = (eeprom_data[0x0d] < ARRAY_SIZE(gdi_tuner)) in gdi_eeprom()
2981 ? gdi_tuner[eeprom_data[0x0d]].name : NULL; in gdi_eeprom()
2986 core->board.tuner_type = gdi_tuner[eeprom_data[0x0d]].id; in gdi_eeprom()
2987 core->board.radio.type = gdi_tuner[eeprom_data[0x0d]].fm ? in gdi_eeprom()
2988 CX88_RADIO : 0; in gdi_eeprom()
3003 cx_set(MO_GP0_IO, 0x00001000); in cx88_dvico_xc2028_callback()
3004 cx_clear(MO_GP0_IO, 0x00000010); in cx88_dvico_xc2028_callback()
3006 cx_set(MO_GP0_IO, 0x00000010); in cx88_dvico_xc2028_callback()
3010 cx_write(MO_GP0_IO, 0x101000); in cx88_dvico_xc2028_callback()
3012 cx_set(MO_GP0_IO, 0x101010); in cx88_dvico_xc2028_callback()
3019 return 0; in cx88_dvico_xc2028_callback()
3035 cx_write(MO_GP1_IO, 0x030302); in cx88_xc3028_geniatech_tuner_callback()
3039 cx_write(MO_GP1_IO, 0x030301); in cx88_xc3028_geniatech_tuner_callback()
3042 cx_write(MO_GP1_IO, 0x101010); in cx88_xc3028_geniatech_tuner_callback()
3044 cx_write(MO_GP1_IO, 0x101000); in cx88_xc3028_geniatech_tuner_callback()
3046 cx_write(MO_GP1_IO, 0x101010); in cx88_xc3028_geniatech_tuner_callback()
3048 return 0; in cx88_xc3028_geniatech_tuner_callback()
3059 cx_set(MO_GP1_IO, 0x1010); in cx88_xc3028_winfast1800h_callback()
3061 cx_clear(MO_GP1_IO, 0x10); in cx88_xc3028_winfast1800h_callback()
3063 cx_set(MO_GP1_IO, 0x10); in cx88_xc3028_winfast1800h_callback()
3065 return 0; in cx88_xc3028_winfast1800h_callback()
3075 /* GPIO 12 (xc4000 tuner reset) */ in cx88_xc4000_winfast2000h_plus_callback()
3076 cx_set(MO_GP1_IO, 0x1010); in cx88_xc4000_winfast2000h_plus_callback()
3078 cx_clear(MO_GP1_IO, 0x10); in cx88_xc4000_winfast2000h_plus_callback()
3080 cx_set(MO_GP1_IO, 0x10); in cx88_xc4000_winfast2000h_plus_callback()
3082 return 0; in cx88_xc4000_winfast2000h_plus_callback()
3095 cx_write(MO_GP2_IO, 0xcf7); in cx88_pv_8000gt_callback()
3097 cx_write(MO_GP2_IO, 0xef5); in cx88_pv_8000gt_callback()
3099 cx_write(MO_GP2_IO, 0xcf7); in cx88_pv_8000gt_callback()
3105 return 0; in cx88_pv_8000gt_callback()
3114 struct i2c_msg msg = { .addr = 0x45, .flags = 0 }; in dvico_fusionhdtv_hybrid_init()
3117 { 0x10, 0x00, 0x20, 0x01, 0x03 }, in dvico_fusionhdtv_hybrid_init()
3118 { 0x10, 0x10, 0x01, 0x00, 0x21 }, in dvico_fusionhdtv_hybrid_init()
3119 { 0x10, 0x10, 0x10, 0x00, 0xCA }, in dvico_fusionhdtv_hybrid_init()
3120 { 0x10, 0x10, 0x12, 0x00, 0x08 }, in dvico_fusionhdtv_hybrid_init()
3121 { 0x10, 0x10, 0x13, 0x00, 0x0A }, in dvico_fusionhdtv_hybrid_init()
3122 { 0x10, 0x10, 0x16, 0x01, 0xC0 }, in dvico_fusionhdtv_hybrid_init()
3123 { 0x10, 0x10, 0x22, 0x01, 0x3D }, in dvico_fusionhdtv_hybrid_init()
3124 { 0x10, 0x10, 0x73, 0x01, 0x2E }, in dvico_fusionhdtv_hybrid_init()
3125 { 0x10, 0x10, 0x72, 0x00, 0xC5 }, in dvico_fusionhdtv_hybrid_init()
3126 { 0x10, 0x10, 0x71, 0x01, 0x97 }, in dvico_fusionhdtv_hybrid_init()
3127 { 0x10, 0x10, 0x70, 0x00, 0x0F }, in dvico_fusionhdtv_hybrid_init()
3128 { 0x10, 0x10, 0xB0, 0x00, 0x01 }, in dvico_fusionhdtv_hybrid_init()
3129 { 0x03, 0x0C }, in dvico_fusionhdtv_hybrid_init()
3132 for (i = 0; i < ARRAY_SIZE(init_bufs); i++) { in dvico_fusionhdtv_hybrid_init()
3171 cx_write(MO_GP0_IO, 0x4ff); in cx88_xc2028_tuner_callback()
3173 cx_write(MO_GP2_IO, 0xff); in cx88_xc2028_tuner_callback()
3181 cx_write(MO_GP1_IO, 0x101010); in cx88_xc2028_tuner_callback()
3183 cx_write(MO_GP1_IO, 0x101000); in cx88_xc2028_tuner_callback()
3185 cx_write(MO_GP1_IO, 0x101010); in cx88_xc2028_tuner_callback()
3187 return 0; in cx88_xc2028_tuner_callback()
3217 if (command == 0) { /* This is the reset command from xc5000 */ in cx88_xc5000_tuner_callback()
3236 return 0; in cx88_xc5000_tuner_callback()
3242 if (command == 0) { /* This is the reset command from xc5000 */ in cx88_xc5000_tuner_callback()
3243 cx_clear(MO_GP0_IO, 0x00000010); in cx88_xc5000_tuner_callback()
3245 cx_set(MO_GP0_IO, 0x00000010); in cx88_xc5000_tuner_callback()
3246 return 0; in cx88_xc5000_tuner_callback()
3252 return 0; /* Should never be here */ in cx88_xc5000_tuner_callback()
3280 dprintk(1, "Calling XC4000 callback\n"); in cx88_tuner_callback()
3310 for (i = 0; i < ARRAY_SIZE(cx88_boards); i++) in cx88_card_list()
3327 cx_write(MO_GP0_IO, 0x0000ef88); in cx88_card_setup_pre_i2c()
3329 cx_clear(MO_GP0_IO, 0x00000088); in cx88_card_setup_pre_i2c()
3331 cx_set(MO_GP0_IO, 0x00000088); /* 702 out of reset */ in cx88_card_setup_pre_i2c()
3337 cx_write(MO_GP2_IO, 0xcf7); in cx88_card_setup_pre_i2c()
3339 cx_write(MO_GP2_IO, 0xef5); in cx88_card_setup_pre_i2c()
3341 cx_write(MO_GP2_IO, 0xcf7); in cx88_card_setup_pre_i2c()
3347 cx_set(MO_GP0_IO, 0x00001010); in cx88_card_setup_pre_i2c()
3354 cx_write(MO_GP0_IO, core->board.input[0].gpio0); in cx88_card_setup_pre_i2c()
3356 cx_clear(MO_GP0_IO, 0x00000080); in cx88_card_setup_pre_i2c()
3358 cx_set(MO_GP0_IO, 0x00000080); /* 702 out of reset */ in cx88_card_setup_pre_i2c()
3365 cx88_xc3028_winfast1800h_callback(core, XC2028_TUNER_RESET, 0); in cx88_card_setup_pre_i2c()
3373 XC4000_TUNER_RESET, 0); in cx88_card_setup_pre_i2c()
3377 cx_write(MO_GP0_IO, 0x00003230); in cx88_card_setup_pre_i2c()
3378 cx_write(MO_GP0_IO, 0x00003210); in cx88_card_setup_pre_i2c()
3380 cx_write(MO_GP0_IO, 0x00001230); in cx88_card_setup_pre_i2c()
3390 memset(ctl, 0, sizeof(*ctl)); in cx88_setup_xc3028()
3449 memset(&tun_setup, 0, sizeof(tun_setup)); in cx88_card_setup()
3452 core->i2c_client.addr = 0xa0 >> 1; in cx88_card_setup()
3486 cx_write(MO_GP0_IO, 0x000007f8); in cx88_card_setup()
3487 cx_write(MO_GP1_IO, 0x00000001); in cx88_card_setup()
3490 /* GPIO0:0 is hooked to demod reset */ in cx88_card_setup()
3492 cx_write(MO_GP0_IO, 0x00111100); in cx88_card_setup()
3494 cx_write(MO_GP0_IO, 0x00111111); in cx88_card_setup()
3498 cx_set(MO_GP0_IO, 0x00004040); in cx88_card_setup()
3499 cx_clear(MO_GP0_IO, 0x00000040); in cx88_card_setup()
3501 cx_set(MO_GP0_IO, 0x00004040); in cx88_card_setup()
3506 /* GPIO0:0 is hooked to mt352 reset pin */ in cx88_card_setup()
3507 cx_set(MO_GP0_IO, 0x00000101); in cx88_card_setup()
3508 cx_clear(MO_GP0_IO, 0x00000001); in cx88_card_setup()
3510 cx_set(MO_GP0_IO, 0x00000101); in cx88_card_setup()
3517 cx_set(MO_GP0_IO, 0x00000707); in cx88_card_setup()
3518 cx_set(MO_GP2_IO, 0x00000101); in cx88_card_setup()
3519 cx_clear(MO_GP2_IO, 0x00000001); in cx88_card_setup()
3521 cx_clear(MO_GP0_IO, 0x00000007); in cx88_card_setup()
3522 cx_set(MO_GP2_IO, 0x00000101); in cx88_card_setup()
3525 cx_write(MO_GP0_IO, 0x00080808); in cx88_card_setup()
3532 {0x10, 0x12}, in cx88_card_setup()
3533 {0x13, 0x04}, in cx88_card_setup()
3534 {0x16, 0x00}, in cx88_card_setup()
3535 {0x14, 0x04}, in cx88_card_setup()
3536 {0x17, 0x00} in cx88_card_setup()
3538 core->i2c_client.addr = 0x0a; in cx88_card_setup()
3540 for (i = 0; i < ARRAY_SIZE(buffer); i++) in cx88_card_setup()
3552 memset(&ctl, 0, sizeof(ctl)); in cx88_card_setup()
3575 cx_write(MO_GP0_IO, 0x8000); in cx88_card_setup()
3577 cx_write(MO_SRST_IO, 0); in cx88_card_setup()
3579 cx_write(MO_GP0_IO, 0x8080); in cx88_card_setup()
3622 memset(&xc2028_cfg, 0, sizeof(xc2028_cfg)); in cx88_card_setup()
3637 u8 ctrl = 0; in cx88_pci_quirks()
3660 lat = 0x0A; in cx88_pci_quirks()
3678 return 0; in cx88_pci_quirks()
3683 if (request_mem_region(pci_resource_start(pci, 0), in cx88_get_resources()
3684 pci_resource_len(pci, 0), in cx88_get_resources()
3686 return 0; in cx88_get_resources()
3687 pr_err("func %d: Can't get MMIO memory @ 0x%llx, subsystem: %04x:%04x\n", in cx88_get_resources()
3689 (unsigned long long)pci_resource_start(pci, 0), in cx88_get_resources()
3724 core->tvnorm = 0; in cx88_core_create()
3749 if (cx88_get_resources(core, pci) != 0) { in cx88_core_create()
3759 core->lmmio = ioremap(pci_resource_start(pci, 0), in cx88_core_create()
3760 pci_resource_len(pci, 0)); in cx88_core_create()
3764 release_mem_region(pci_resource_start(pci, 0), in cx88_core_create()
3765 pci_resource_len(pci, 0)); in cx88_core_create()
3777 for (i = 0; core->boardnr == UNSET && i < ARRAY_SIZE(cx88_subids); i++) in cx88_core_create()
3813 * Ignore 0x6b and 0x6f on cx88 boards. in cx88_core_create()
3814 * FusionHDTV5 RT Gold has an ir receiver at 0x6b in cx88_core_create()
3815 * and an RTC at 0x6f which can get corrupted if probed. in cx88_core_create()
3818 0x42, 0x43, 0x4a, 0x4b, /* tda8290 */ in cx88_core_create()
3819 0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, in cx88_core_create()
3820 0x68, 0x69, 0x6a, 0x6c, 0x6d, 0x6e, in cx88_core_create()
3832 "tuner", 0, in cx88_core_create()
3837 0, v4l2_i2c_tuner_addrs(ADDRS_DEMOD)); in cx88_core_create()
3841 0, has_demod ? tv_addrs + 4 : tv_addrs); in cx88_core_create()