Lines Matching +full:0 +full:x800c0000
48 .fm_radio = { .if_freq = 5500, .fm_rfn = 0, .agc_mode = 3, .std = 0,
49 .if_lvl = 0, .rfagc_top = 0x2c, },
58 .audio_clock = 0x00187de7,
66 .vmux = 0,
73 .audio_clock = 0x00187de7,
81 .vmux = 0,
100 .audio_clock = 0x00200000,
106 .gpiomask = 0xe000,
111 .gpio = 0x8000,
116 .gpio = 0x0000,
119 .vmux = 0,
121 .gpio = 0x4000,
126 .gpio = 0x4000,
131 .gpio = 0x4000,
136 .gpio = 0x2000,
141 .gpio = 0x8000,
147 .audio_clock = 0x00200000,
153 .gpiomask = 0xe000,
158 .gpio = 0x0000,
161 .vmux = 0,
163 .gpio = 0x4000,
168 .gpio = 0x4000,
173 .gpio = 0x4000,
178 .gpio = 0x2000,
183 .gpio = 0x8000,
189 .audio_clock = 0x00200000,
201 .vmux = 0,
217 .audio_clock = 0x00200000,
223 .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
228 .gpio = 0x10000, /* GP16=1 selects TV input */
233 .gpio = 0x0000,
236 .vmux = 0,
238 /* .gpio = 0x4000, */
243 /* .gpio = 0x4000, */
248 /* .gpio = 0x4000, */
253 .gpio = 0x00000, /* GP16=0 selects FM radio antenna */
258 .gpio = 0x10000,
265 .audio_clock = 0x00200000,
271 .gpiomask = 0xe000,
276 .gpio = 0x8000,
281 .gpio = 0x0000,
284 .vmux = 0,
286 .gpio = 0x4000,
291 .gpio = 0x4000,
296 .gpio = 0x4000,
301 .gpio = 0x2000,
306 .gpio = 0x8000,
312 .audio_clock = 0x00187de7,
317 .empress_addr = 0x20,
321 .vmux = 0,
342 .audio_clock = 0x00187de7,
354 .vmux = 0,
368 .audio_clock = 0x00200000,
384 .vmux = 0,
407 .audio_clock = 0x00200000,
433 .vmux = 0,
443 .audio_clock = 0x00200000,
448 .empress_addr = 0x20,
450 .gpiomask = 0x820000,
455 .gpio = 0x20000,
460 .gpio = 0x20000,
465 .gpio = 0x20000,
470 .gpio = 0x20000,
477 .audio_clock = 0x00200000,
496 .vmux = 0,
502 .audio_clock = 0x00187de7, /* was: 0x00200000, */
519 .vmux = 0,
537 .audio_clock = 0x00187de7,
558 .audio_clock = 0x00200000,
578 .vmux = 0,
588 .audio_clock = 0x00187de7,
601 .vmux = 0,
621 .audio_clock = 0x00200000,
647 .audio_clock = 0x00187de7,
658 .vmux = 0,
668 .audio_clock = 0x00187de7,
689 .audio_clock = 0x00187de7,
714 .audio_clock = 0x00187de7,
740 .audio_clock = 0x00187de7,
745 .gpiomask = 0x200000,
750 .gpio = 0x0000,
755 .gpio = 0x0000,
760 .gpio = 0x0000,
765 .gpio = 0x200000,
769 .gpio = 0x0000,
775 .audio_clock = 0x00187de7,
797 .audio_clock = 0x00200000,
802 .gpiomask = 0xe000,
807 .gpio = 0x0000,
810 .vmux = 0,
812 .gpio = 0x4000,
817 .gpio = 0x4000,
822 .gpio = 0x4000,
827 .gpio = 0x2000,
832 .gpio = 0x8000,
838 .audio_clock = 0x200000,
843 .empress_addr = 0x20,
854 .vmux = 0,
870 .audio_clock = 0x00187de7,
891 .audio_clock = 0x00187de7,
893 .gpiomask = 0x800c0000,
901 .gpio = 0x06c00012,
906 .gpio = 0x0ac20012,
911 .gpio = 0x08c20012,
917 0 .. 3 BASE_ID
928 .gpiomask = 0xcf00,
931 .vmux = 0,
935 .vmux = 0,
939 .vmux = 0,
940 .gpio = 0 << 14,
943 .vmux = 0,
953 .audio_clock = 0x00187de7,
959 .gpiomask = 0x03,
964 .gpio = 0x00,
969 .gpio = 0x02,
972 .vmux = 0,
974 .gpio = 0x02,
979 .gpio = 0x02,
984 .gpio = 0x01,
989 .gpio = 0x00,
995 .audio_clock = 0x200000,
1000 .empress_addr = 0x20,
1019 .audio_clock = 0x00187de7,
1048 .audio_clock = 0x00187de7,
1060 .vmux = 0,
1075 .audio_clock = 0x00200000,
1101 .audio_clock = 0x00200000,
1127 .audio_clock = 0x00187de7,
1148 .audio_clock = 0x187de7, /* xtal 32.1 MHz */
1171 .vmux = 0,
1181 .audio_clock = 0x187de7,
1204 .vmux = 0,
1215 .audio_clock = 0x187de7,
1238 .vmux = 0,
1249 .audio_clock = 0x00187de7,
1264 .vmux = 0,
1278 .gpio = 0x200000,
1284 .audio_clock = 0x00187de7,
1300 .audio_clock = 0x187de7,
1315 .audio_clock = 0x00200000,
1334 .audio_clock = 0x00187de7,
1346 .vmux = 0,
1369 .audio_clock = 0x00187de7,
1381 .vmux = 0,
1403 .audio_clock = 0x00187de7,
1422 .audio_clock = 0x00187de7,
1447 .audio_clock = 0x00200000,
1466 .vmux = 0,
1477 .audio_clock = 0x00187de7,
1482 .gpiomask = 0x808c0080,
1487 .gpio = 0x00080,
1492 .gpio = 0x00080,
1497 .gpio = 0x00080,
1502 .gpio = 0x80000,
1507 .gpio = 0x40000,
1513 .audio_clock = 0x00187de7,
1539 .audio_clock = 0x00187de7,
1561 .audio_clock = 0x00187de7,
1566 .gpiomask = 0x4000,
1571 .gpio = 0x8000,
1576 .gpio = 0x8000,
1581 .gpio = 0x8000,
1586 .gpio = 0x8000,
1591 .gpio =0x8000,
1600 .audio_clock = 0x00187de7,
1606 .gpiomask = 0x03,
1611 .gpio = 0x00,
1616 .gpio = 0x02,
1621 .gpio = 0x02,
1626 .gpio = 0x01,
1631 .gpio = 0x00,
1636 .audio_clock = 0x00187de7,
1641 .gpiomask = 0x00300003,
1642 /* .gpiomask = 0x8c240003, */
1647 .gpio = 0x01,
1650 .vmux = 0,
1652 .gpio = 0x02,
1657 .gpio = 0x02,
1662 .gpio = 0x00300001,
1667 .gpio = 0x01,
1673 .audio_clock = 0x187de7,
1699 .audio_clock = 0x187de7,
1702 .tuner_addr = 0x61,
1703 .radio_addr = 0x60,
1705 .gpiomask = 0x08000000,
1710 .gpio = 0x08000000,
1715 .gpio = 0x08000000,
1720 .gpio = 0x08000000,
1725 .gpio = 0x00000000,
1730 .audio_clock = 0x187de7,
1756 .audio_clock = 0x00200000,
1761 .rds_addr = 0x10,
1777 .vmux = 0,
1788 .audio_clock = 0x00187de7,
1793 .gpiomask = 0x1ce780,
1796 .vmux = 0,
1798 .gpio = 0x008080,
1803 .gpio = 0x008080,
1808 .gpio = 0x008080,
1813 .gpio = 0x80000,
1818 .gpio = 0x0c8000,
1823 .audio_clock = 0x00187de7,
1836 .vmux = 0,
1851 .audio_clock = 0x00187de7,
1859 .vmux = 0,
1879 .audio_clock = 0x00187de7,
1891 .vmux = 0,
1911 .audio_clock = 0x00200000,
1916 .gpiomask = 0x00200000,
1922 .gpio = 0x200000, /* GPIO21=High for TV input */
1925 .vmux = 0,
1939 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
1945 .audio_clock = 0x00187de7,
1952 .vmux = 0,
1965 .audio_clock = 0x00187de7,
1977 .vmux = 0,
1991 .audio_clock = 0x00187de7,
2012 .audio_clock = 0x00187de7,
2017 .gpiomask = 0x0700,
2022 .gpio = 0x000,
2027 .gpio = 0x200, /* gpio by DScaler */
2030 .vmux = 0,
2032 .gpio = 0x200,
2037 .gpio = 0x100,
2042 .gpio = 0x000,
2047 .audio_clock = 0x00200000,
2053 .gpiomask = 0x00200000,
2058 .gpio = 0x200000, /* GPIO21=High for TV input */
2065 .vmux = 0,
2075 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2080 .audio_clock = 0x002187de7,
2083 .tuner_addr = 0x63,
2084 .radio_addr = 0x60,
2085 .gpiomask = 0x8c1880,
2088 .vmux = 0,
2090 .gpio = 0x800800,
2095 .gpio = 0x801000,
2100 .gpio = 0x800000,
2105 .gpio = 0x880000,
2110 .gpio = 0x840000,
2124 .audio_clock = 0x00187de7,
2127 .tuner_addr = 0x61,
2128 .radio_addr = 0x60,
2129 .gpiomask = 0x0700,
2134 .gpio = 0x000,
2139 .gpio = 0x200, /* gpio by DScaler */
2142 .vmux = 0,
2144 .gpio = 0x200,
2149 .gpio = 0x100,
2154 .gpio = 0x000,
2159 .audio_clock = 0x00200000,
2174 .vmux = 0,
2194 .audio_clock = 0x00187de7,
2204 .gpio = 0x0000000,
2209 .gpio = 0x0000000,
2214 .gpio = 0x0000000,
2219 .gpio = 0x0200000,
2229 .audio_clock = 0x00187de7,
2234 .gpiomask = 0x00010003,
2239 .gpio = 0x01,
2242 .vmux = 0,
2244 .gpio = 0x02,
2249 .gpio = 0x02,
2254 .gpio = 0x00010003,
2259 .gpio = 0x01,
2267 .audio_clock = 0x00187de7,
2273 .gpiomask = 0x00008000,
2296 .audio_clock = 0x00187de7,
2302 .gpiomask = 0x00200003,
2307 .gpio = 0x00200003,
2312 .gpio = 0x00200003,
2317 .gpio = 0x00200003,
2322 .gpio = 0x00200003,
2327 .gpio = 0x00200003,
2332 .gpio = 0x00200003,
2337 .audio_clock = 0x00187de7,
2340 .tuner_addr = 0x61,
2350 .vmux = 0,
2360 .audio_clock = 0x00187de7,
2363 .tuner_addr = 0x61,
2384 .audio_clock = 0x00187de7,
2391 .vmux = 0,
2401 .audio_clock = 0x00200000,
2406 .empress_addr = 0x21,
2409 .vmux = 0,
2442 .audio_clock = 0x00200000,
2449 .vmux = 0,
2475 .audio_clock = 0x00200000,
2487 .vmux = 0,
2506 .audio_clock = 0x00187de7,
2524 .audio_clock = 0x00187de7,
2546 .audio_clock = 0x00187de7,
2551 .gpiomask = 0x080200000,
2562 .vmux = 0,
2572 .gpio = 0x0200000,
2577 .audio_clock = 0x00187de7,
2588 .gpio = 0x0000000,
2593 .gpio = 0x0200000,
2596 .vmux = 0,
2598 .gpio = 0x0200000,
2603 .gpio = 0x0200000,
2608 .gpio = 0x0200000,
2616 .audio_clock = 0x00187de7,
2621 .gpiomask = 0xe880c0,
2643 .audio_clock = 0x00200000,
2665 .audio_clock = 0x00187de7,
2672 .gpiomask = 0x0200000,
2689 .gpio = 0x0200000,
2694 .audio_clock = 0x00187de7,
2710 .vmux = 0, /* untested */
2720 .gpio = 0x0200000,
2729 .audio_clock = 0x00187de7,
2734 .gpiomask = 0x80200000,
2747 .gpio = 0x0200000,
2754 .audio_clock = 0x00200000,
2759 .gpiomask = 0x00200000,
2765 .gpio = 0x200000, /* GPIO21=High for TV input */
2772 .vmux = 0,
2782 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2787 .audio_clock = 0x00187de7,
2807 .audio_clock = 0x00200000,
2825 .audio_clock = 0x00200000,
2831 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2836 .gpio = 0x00200000,
2841 .audio_clock = 0x00187de7,
2858 .vmux = 0,
2868 .gpio = 0x0200000,
2873 .audio_clock = 0x00187de7,
2896 .gpio = 0x0200000,
2901 .audio_clock = 0x00187de7,
2928 .audio_clock = 0x02187de7,
2934 .gpiomask = 0x0a60000,
2940 .audio_clock = 0x02187de7,
2946 .gpiomask = 0xca60000,
2951 .gpio = 0x04a61000,
2965 .audio_clock = 0x00187de7,
2973 .audio_clock = 0x00200000,
2979 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2984 .gpio = 0x200000, /* GPIO21=High for TV input */
2991 .vmux = 0,
3001 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
3007 .audio_clock = 0x00200000,
3013 .gpiomask = 0xe000,
3018 .gpio = 0x8000,
3023 .gpio = 0x0000,
3026 .vmux = 0,
3028 .gpio = 0x4000,
3033 .gpio = 0x4000,
3038 .gpio = 0x4000,
3043 .gpio = 0x2000,
3048 .gpio = 0x8000,
3053 .audio_clock = 0x00187de7,
3065 .vmux = 0,
3077 .audio_clock = 0x00200000,
3095 .audio_clock = 0x00187de7,
3107 .vmux = 0,
3126 .audio_clock = 0x187de7,
3130 .radio_addr = 0x60,
3153 .audio_clock = 0x00187de7,
3180 .audio_clock = 0x00187de7,
3187 .gpiomask = 0x000200000,
3198 .vmux = 0,
3208 .gpio = 0x0200000,
3214 .audio_clock = 0x00187de7,
3220 .gpiomask = 0x03,
3225 .gpio = 0x00,
3228 .vmux = 0,
3230 .gpio = 0x00,
3235 .gpio = 0x00,
3240 .gpio = 0x00,
3245 .gpio = 0x01,
3250 .gpio = 0x00,
3256 .audio_clock = 0x00187de7,
3281 .audio_clock = 0x00187de7,
3288 .gpiomask = 0x0200100,
3293 .gpio = 0x0000100,
3306 .gpio = 0x0200100,
3311 .audio_clock = 0x00187de7,
3320 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3325 .gpio = 0x0000100,
3338 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3343 .audio_clock = 0x00187de7,
3351 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3356 .gpio = 0x0000100,
3369 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3374 .audio_clock = 0x00187de7,
3386 .vmux = 0,
3398 .audio_clock = 0x00200000,
3417 .vmux = 0,
3423 /* .gpio = 0x00300001,*/
3424 .gpio = 0x20000,
3429 .amux = 0,
3435 .audio_clock = 0x00200000,
3454 .vmux = 0,
3460 .gpio = 0x20000,
3465 .amux = 0,
3470 .audio_clock = 0x00200000,
3475 .gpiomask = 0x7000,
3480 .gpio = 0x50000,
3485 .gpio = 0x2000,
3490 .gpio = 0x2000,
3499 .gpio = 0xf000,
3500 .amux = 0,
3505 .audio_clock = 0x02187de7,
3508 .tuner_addr = 0x61,
3509 .radio_addr = 0x60,
3531 .gpio = 0x43000,
3536 .audio_clock = 0x00187de7,
3548 .vmux = 0,
3558 .audio_clock = 0x00187de7,
3565 .gpiomask = 0x0200000,
3582 .gpio = 0x0200000,
3587 .audio_clock = 0x00187de7,
3599 .vmux = 0,
3609 .audio_clock = 0x00187de7,
3616 .gpiomask = 0x0200000,
3621 .gpio = 0x0200000,
3626 .gpio = 0x0200000,
3629 .vmux = 0,
3631 .gpio = 0x0200000,
3636 .gpio = 0x0200000,
3641 .audio_clock = 0x00187de7,
3653 .gpio = 0x0000000,
3658 .gpio = 0x0200000,
3661 .vmux = 0,
3663 .gpio = 0x0200000,
3668 .gpio = 0x0200000,
3673 .gpio = 0x0200000,
3678 .audio_clock = 0x00187de7,
3688 .gpio = 0x0000000,
3695 .vmux = 0,
3705 .gpio = 0x0200000,
3710 .audio_clock = 0x00187de7,
3725 .vmux = 0,
3740 .audio_clock = 0x00200000,
3745 .gpiomask = 0x7000,
3750 .gpio = 0x0000,
3755 .gpio = 0x2000,
3760 .gpio = 0x2000,
3765 .gpio = 0x3000,
3770 .audio_clock = 0x00187de7,
3785 .audio_clock = 0x00187de7,
3791 .gpiomask = 0x020200000,
3808 .gpio = 0x00200000,
3813 .gpio = 0x01,
3818 .audio_clock = 0x00187de7,
3824 .gpiomask = 0x020200000,
3841 .gpio = 0x00200000,
3846 .gpio = 0x01,
3853 .audio_clock = 0x00187de7,
3858 .gpiomask = 0x00008000,
3881 .audio_clock = 0x00187de7,
3886 .gpiomask = 0x00008000,
3905 .audio_clock = 0x00187de7,
3910 .gpiomask = 0x00008000,
3933 .audio_clock = 0x00187de7,
3939 .gpiomask = 0x00008000,
3959 .audio_clock = 0x00187de7,
3965 .gpiomask = 0x00008000,
3988 .audio_clock = 0x00187de7,
3994 .gpiomask = 0x00008000,
3999 .gpio = 0xc0c000,
4004 .gpio = 0xc0c000,
4009 .gpio = 0xc0c000,
4016 .audio_clock = 0x00187de7,
4022 .gpiomask = 0x00008000,
4027 .gpio = 0xc0c000,
4032 .gpio = 0xc0c000,
4037 .gpio = 0xc0c000,
4042 .gpio = 0xc0c000,
4049 .audio_clock = 0x00187de7,
4055 .gpiomask = 0x00008000,
4074 .audio_clock = 0x00200000,
4080 .gpiomask = 0x00008000,
4107 .audio_clock = 0x00200000,
4112 .rds_addr = 0x10,
4114 .gpiomask = 0x00008000,
4141 .audio_clock = 0x00187de7,
4147 .gpiomask = 0x00008000,
4170 .audio_clock = 0x00187de7,
4175 .rds_addr = 0x10,
4177 .gpiomask = 0x00008000,
4200 .audio_clock = 0x00187de7,
4205 .rds_addr = 0x10,
4207 .gpiomask = 0x00008000,
4230 .audio_clock = 0x00187de7,
4233 .tuner_addr = 0xc2 >> 1,
4234 .radio_addr = 0xc0 >> 1,
4236 .gpiomask = 0x000A8004,
4241 .gpio = 0x000A8004,
4246 .gpio = 0x000A8000,
4251 .gpio = 0x000A8000,
4256 .gpio = 0x000A8000,
4262 .audio_clock = 0x00187de7,
4289 .audio_clock = 0x00187de7,
4316 .audio_clock = 0x00187de7,
4343 .audio_clock = 0x00187de7,
4370 .audio_clock = 0x00187de7,
4375 .rds_addr = 0x10,
4398 .audio_clock = 0x00187de7,
4403 .rds_addr = 0x10,
4426 .audio_clock = 0x00187de7,
4431 .rds_addr = 0x10,
4454 .audio_clock = 0x00187de7,
4459 .rds_addr = 0x10,
4485 .audio_clock = 0x00187de7,
4490 .empress_addr = 0x20,
4521 .audio_clock = 0x00187de7,
4526 .empress_addr = 0x20,
4558 .audio_clock = 0x00187de7,
4563 .rds_addr = 0x10,
4564 .empress_addr = 0x20,
4592 .audio_clock = 0x00187de7,
4599 .gpiomask = 0x0200000,
4616 .gpio = 0x0200000,
4622 .audio_clock = 0x00200000,
4627 .gpiomask = 0xf000,
4632 .gpio = 0x0000,
4637 .gpio = 0x2000,
4642 .gpio = 0x2000,
4647 .gpio = 0x1000,
4652 .gpio = 0x6000,
4657 .audio_clock = 0x00200000,
4675 .audio_clock = 0x00187de7,
4688 .vmux = 0,
4698 .audio_clock = 0x00187de7,
4705 .gpiomask = 0x0200000,
4722 .gpio = 0x0200000,
4727 .audio_clock = 0x187de7,
4753 .audio_clock = 0x187de7,
4769 .vmux = 0,
4779 .audio_clock = 0x187de7,
4801 .audio_clock = 0x00187de7,
4804 .tuner_addr = 0x61,
4828 .audio_clock = 0x00187de7,
4847 .audio_clock = 0x00187de7,
4874 .audio_clock = 0x00187de7,
4901 .audio_clock = 0x00187de7,
4915 .vmux = 0,
4925 .gpio = 0x0200000,
4930 .audio_clock = 0x00187de7,
4944 .vmux = 0,
4954 .gpio = 0x0200000,
4959 .audio_clock = 0x00187de7,
4964 .gpiomask = 0x801a8087,
4969 .gpio = 0x624000,
4974 .gpio = 0x624000,
4979 .gpio = 0x624000,
4984 .gpio = 0x624001,
4993 .audio_clock = 0x00187de7,
5016 .audio_clock = 0x00187de7,
5023 .gpiomask = 0x0200000,
5034 .vmux = 0,
5044 .gpio = 0x0200000,
5049 .audio_clock = 0x00187de7,
5053 .radio_addr = 0x60,
5054 .gpiomask = 0x80000700,
5059 .gpio = 0x100,
5064 .gpio = 0x200,
5069 .gpio = 0x200,
5075 .gpio = 0x100,
5085 .audio_clock = 0x00187de7,
5090 .gpiomask = 0x8e054000,
5097 #if 0 /* FIXME */
5102 .gpio = 0x200,
5107 .gpio = 0x200,
5110 #if 0
5115 .gpio = 0x100,
5120 .vmux = 0,
5126 .audio_clock = 0x00187de7,
5131 .gpiomask = 0x00300003,
5132 /* .gpiomask = 0x8c240003, */
5137 .gpio = 0x01,
5142 .gpio = 0x02,
5147 .gpio = 0x00300001,
5152 .gpio = 0x01,
5158 .audio_clock = 0x00187de7,
5164 .gpiomask = 0x03,
5169 .gpio = 0x00,
5174 .gpio = 0x00,
5179 .gpio = 0x00,
5184 .gpio = 0x01,
5189 .gpio = 0x00,
5195 .audio_clock = 0x00187de7,
5203 .vmux = 0,
5214 .audio_clock = 0x00187de7,
5226 .vmux = 0,
5240 .audio_clock = 0x00187de7,
5260 .audio_clock = 0x00187de7,
5263 .tuner_addr = 0x61,
5283 .audio_clock = 0x00187de7,
5301 .audio_clock = 0x00200000,
5306 .rds_addr = 0x10,
5308 .gpiomask = 0x00008000,
5335 .audio_clock = 0x00200000,
5340 .gpiomask = 0x389c00,
5345 .gpio = 0x01fc00,
5351 .audio_clock = 0x00187de7,
5364 .vmux = 0,
5379 .audio_clock = 0x00187de7,
5390 .vmux = 0,
5405 .audio_clock = 0x00187de7,
5407 .tuner_addr = 0x63,
5417 .vmux = 0,
5428 .audio_clock = 0x00187de7,
5432 .radio_addr = 0x60,
5458 .audio_clock = 0x00187de7,
5464 .gpiomask = 0x02050000,
5471 .gpio = 0x00050000,
5476 .gpio = 0x00050000,
5481 .gpio = 0x00050000,
5486 .gpio = 0x00050000,
5490 .vmux = 0,
5492 .gpio = 0x00050000,
5499 .audio_clock = 0x00200000,
5504 .gpiomask = 0x00008000,
5527 .audio_clock = 0x00200000,
5532 .gpiomask = 0x00008000,
5553 .audio_clock = 0x00200000,
5560 .vmux = 0,
5574 .audio_clock = 0x00187de7,
5598 .gpio = 0x0000000,
5605 .audio_clock = 0x00200000,
5610 .gpiomask = 0x618E700,
5615 .gpio = 0x6010000,
5620 .audio_clock = 0x00187de7,
5646 .gpio = 0x0000800,
5651 .audio_clock = 0x00200000,
5659 .vmux = 0,
5675 .audio_clock = 0x00187de7,
5687 .vmux = 0,
5705 .audio_clock = 0x00187de7,
5710 .gpiomask = 0x0d,
5715 .gpio = 0x00,
5720 .gpio = 0x08,
5725 .gpio = 0x08,
5730 .gpio = 0x04,
5735 .gpio = 0x08,
5740 .audio_clock = 0x00187de7,
5750 .gpio = 0x0000000,
5755 .gpio = 0x0000000,
5760 .gpio = 0x0000000,
5765 .gpio = 0x0200000,
5770 .audio_clock = 0x00187de7,
5777 .gpiomask = 0x00200700,
5782 .gpio = 0x00000300,
5787 .gpio = 0x00200300,
5792 .gpio = 0x00200300,
5807 .subdevice = 0x2001,
5813 .subdevice = 0x2001,
5819 .subdevice = 0x6752,
5824 .subvendor = 0x1131,
5825 .subdevice = 0x4e85,
5830 .subvendor = 0x153b,
5831 .subdevice = 0x1142,
5836 .subvendor = 0x153b,
5837 .subdevice = 0x1143,
5842 .subvendor = 0x153b,
5843 .subdevice = 0x1158,
5848 .subvendor = 0x153b,
5849 .subdevice = 0x1162,
5854 .subvendor = 0x5169,
5855 .subdevice = 0x0138,
5860 .subvendor = 0x5168,
5861 .subdevice = 0x0138,
5866 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
5867 .subdevice = 0x0138,
5872 .subvendor = 0x5168,
5873 .subdevice = 0x0138,
5878 .subvendor = 0x4e42, /* Typhoon */
5879 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
5884 .subvendor = 0x5168,
5885 .subdevice = 0x0212, /* minipci, LR212 */
5890 .subvendor = 0x14c0,
5891 .subdevice = 0x1212, /* minipci, LR1212 */
5896 .subvendor = 0x4e42,
5897 .subdevice = 0x0212, /* OEM minipci, LR212 */
5902 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5903 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
5908 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5909 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
5914 .subvendor = 0x1489, /* KYE */
5915 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
5920 .subvendor = 0x16be,
5921 .subdevice = 0x0003,
5926 .subvendor = 0x16be, /* CTX946 analog TV, HW mpeg, DVB-T */
5927 .subdevice = 0x5000, /* only analog TV and DVB-T for now */
5932 .subvendor = 0x1048,
5933 .subdevice = 0x226b,
5938 .subvendor = 0x1048,
5939 .subdevice = 0x226a,
5944 .subvendor = 0x1048,
5945 .subdevice = 0x226c,
5951 .subdevice = 0x4842,
5957 .subdevice = 0x4845,
5963 .subdevice = 0x4830,
5969 .subdevice = 0x4843,
5975 .subdevice = 0x4840,
5981 .subdevice = 0xfe01,
5986 .subvendor = 0x1894,
5987 .subdevice = 0xfe01,
5992 .subvendor = 0x1894,
5993 .subdevice = 0xa006,
5998 .subvendor = 0x1131,
5999 .subdevice = 0x7133,
6005 .subdevice = 0x2001,
6010 .subvendor = 0x185b,
6011 .subdevice = 0xc100,
6016 .subvendor = 0x185b,
6017 .subdevice = 0xc100,
6023 .subdevice = 0x48d0,
6028 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6029 .subdevice = 0xa70b,
6034 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6035 .subdevice = 0xa7a1,
6040 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6041 .subdevice = 0xa7a2,
6046 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6047 .subdevice = 0x2115,
6052 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6053 .subdevice = 0xa115,
6058 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6059 .subdevice = 0x2108,
6064 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6065 .subdevice = 0x10ff,
6071 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6072 .subdevice = 0xd6ee,
6078 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6079 .subdevice = 0xb7e9,
6085 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6086 .subdevice = 0x050c,
6091 .subvendor = 0x11bd,
6092 .subdevice = 0x002b,
6097 .subvendor = 0x11bd,
6098 .subdevice = 0x002d,
6103 .subvendor = 0x1019,
6104 .subdevice = 0x4cb4,
6109 .subvendor = 0x1019,
6110 .subdevice = 0x4cb5,
6115 .subvendor = 0x1019,
6116 .subdevice = 0x4cb6,
6121 .subvendor = 0x12ab,
6122 .subdevice = 0x0800,
6127 .subvendor = 0x153b,
6128 .subdevice = 0x1152,
6133 .subvendor = 0x185b,
6134 .subdevice = 0xc100,
6139 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6140 .subdevice = 0x9715,
6145 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6146 .subdevice = 0xa70a,
6151 .subvendor = 0x185b,
6152 .subdevice = 0xc200,
6157 .subvendor = 0x1540,
6158 .subdevice = 0x9524,
6164 .subvendor = 0x5168,
6165 .subdevice = 0x0502, /* Cardbus version */
6170 .subvendor = 0x5168,
6171 .subdevice = 0x0306, /* PCI version */
6176 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6177 .subdevice = 0xf31f,
6183 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6184 .subdevice = 0xf11d,
6189 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6190 .subdevice = 0x4155,
6195 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6196 .subdevice = 0x4255,
6202 .subdevice = 0x2004,
6207 .subvendor = 0x1421,
6208 .subdevice = 0x0350, /* PCI version */
6213 .subvendor = 0x1421,
6214 .subdevice = 0x0351, /* PCI version, new revision */
6219 .subvendor = 0x1421,
6220 .subdevice = 0x0370, /* cardbus version */
6225 .subvendor = 0x1421,
6226 .subdevice = 0x1370, /* cardbus version */
6232 .subvendor = 0x4e42, /* Typhoon */
6233 .subdevice = 0x0502, /* LifeView LR502 OEM */
6238 .subvendor = 0x1043,
6239 .subdevice = 0x0210, /* mini pci NTSC version */
6244 .subvendor = 0x1043,
6245 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
6251 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
6252 .subdevice = 0x4091,
6257 .subvendor = 0x5456, /* GoTView */
6258 .subdevice = 0x7135,
6264 .subdevice = 0x2004,
6269 .subvendor = 0x185b,
6270 .subdevice = 0xc900,
6275 .subvendor = 0x185b,
6276 .subdevice = 0xc901,
6281 .subvendor = 0x1435,
6282 .subdevice = 0x7350,
6287 .subvendor = 0x1435,
6288 .subdevice = 0x7330,
6293 .subvendor = 0x1461,
6294 .subdevice = 0x1044,
6299 .subvendor = 0x1131,
6300 .subdevice = 0x4ee9,
6305 .subvendor = 0x11bd,
6306 .subdevice = 0x002e,
6311 .subvendor = 0x1043,
6312 .subdevice = 0x4862,
6318 .subdevice = 0x2018,
6323 .subvendor = 0x1462,
6324 .subdevice = 0x6231, /* tda8275a, ks003 IR */
6329 .subvendor = 0x1462,
6330 .subdevice = 0x8624, /* tda8275, ks003 IR */
6335 .subvendor = 0x153b,
6336 .subdevice = 0x1160,
6341 .subvendor = 0x5168,
6342 .subdevice = 0x0319,
6347 .subvendor = 0x1461,
6348 .subdevice = 0x2c05,
6353 .subvendor = 0x5168,
6354 .subdevice = 0x0301,
6359 .subvendor = 0x0331,
6360 .subdevice = 0x1421,
6365 .subvendor = 0x17de,
6366 .subdevice = 0x7201,
6371 .subvendor = 0x17de,
6372 .subdevice = 0x7250,
6377 .subvendor = 0x17de,
6378 .subdevice = 0x7350,
6383 .subvendor = 0x17de,
6384 .subdevice = 0x7352,
6389 .subvendor = 0x17de,
6390 .subdevice = 0xa134,
6395 .subvendor = 0x1461,
6396 .subdevice = 0x7360,
6401 .subvendor = 0x1461,
6402 .subdevice = 0x6360,
6407 .subvendor = 0x16be,
6408 .subdevice = 0x0005,
6413 .subvendor = 0x5168,
6414 .subdevice = 0x0300,
6419 .subvendor = 0x4e42,
6420 .subdevice = 0x0300,/* LR300 */
6425 .subvendor = 0x1489,
6426 .subdevice = 0x0301,
6431 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
6432 .subdevice = 0x0304,
6437 .subvendor = 0x5168,
6438 .subdevice = 0x3306,
6443 .subvendor = 0x5168,
6444 .subdevice = 0x3502, /* what's the difference to 0x3306 ?*/
6449 .subvendor = 0x5168,
6450 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
6455 .subvendor = 0x16be,
6456 .subdevice = 0x0007,
6461 .subvendor = 0x16be,
6462 .subdevice = 0x0008,
6467 .subvendor = 0x16be,
6468 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
6473 .subvendor = 0x1461,
6474 .subdevice = 0x2c05,
6479 .subvendor = 0x1489,
6480 .subdevice = 0x0502, /* Cardbus version */
6485 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
6486 .subdevice = 0x2003,
6491 .subvendor = 0x1461,
6492 .subdevice = 0x2c00,
6497 .subvendor = 0x1043,
6498 .subdevice = 0x4860,
6503 .subvendor = 0x11bd,
6504 .subdevice = 0x002f,
6509 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6510 .subdevice = 0x9715,
6515 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6516 .subdevice = 0xa11b,
6521 .subvendor = 0x1043,
6522 .subdevice = 0x4876,
6527 .subvendor = 0x0070,
6528 .subdevice = 0x6700,
6533 .subvendor = 0x0070,
6534 .subdevice = 0x6701,
6539 .subvendor = 0x0070,
6540 .subdevice = 0x6702,
6545 .subvendor = 0x0070,
6546 .subdevice = 0x6703,
6551 .subvendor = 0x0070,
6552 .subdevice = 0x6704,
6557 .subvendor = 0x0070,
6558 .subdevice = 0x6705,
6563 .subvendor = 0x0070,
6564 .subdevice = 0x6706,
6569 .subvendor = 0x0070,
6570 .subdevice = 0x6707,
6575 .subvendor = 0x0070,
6576 .subdevice = 0x6708,
6581 .subvendor = 0x0070,
6582 .subdevice = 0x6709,
6587 .subvendor = 0x0070,
6588 .subdevice = 0x670a,
6593 .subvendor = 0x153b,
6594 .subdevice = 0x1172,
6600 .subdevice = 0x2342,
6605 .subvendor = 0x1131,
6606 .subdevice = 0x2341,
6611 .subvendor = 0x3016,
6612 .subdevice = 0x2344,
6617 .subvendor = 0x1131,
6618 .subdevice = 0x230f,
6623 .subvendor = 0x1a7f,
6624 .subdevice = 0x2008,
6629 .subvendor = 0x1a7f,
6630 .subdevice = 0x2108,
6635 .subvendor = 0x153b,
6636 .subdevice = 0x1175,
6641 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6642 .subdevice = 0xf31e,
6647 .subvendor = 0x4E42, /* MSI */
6648 .subdevice = 0x0306, /* TV@nywhere DUO */
6653 .subvendor = 0x1043,
6654 .subdevice = 0x4871,
6659 .subvendor = 0x1043,
6660 .subdevice = 0x4857, /* REV:1.00 */
6665 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
6666 .subdevice = 0x2003, /* OEM cardbus */
6672 .subdevice = 0x2304,
6677 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6678 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
6683 .subvendor = 0x0000,
6684 .subdevice = 0x4016,
6689 .subvendor = 0x0000,
6690 .subdevice = 0x4036,
6695 .subvendor = 0x0000,
6696 .subdevice = 0x4037,
6701 .subvendor = 0x0000,
6702 .subdevice = 0x4050,
6707 .subvendor = 0x0000,
6708 .subdevice = 0x4051,
6713 .subvendor = 0x0000,
6714 .subdevice = 0x4070,
6719 .subvendor = 0x0000,
6720 .subdevice = 0x4071,
6725 .subvendor = 0x0000,
6726 .subdevice = 0x4090,
6731 .subvendor = 0x0000,
6732 .subdevice = 0x505B,
6737 .subvendor = 0x0000,
6738 .subdevice = 0x5051,
6743 .subvendor = 0x5ace,
6744 .subdevice = 0x5050,
6749 .subvendor = 0x0000,
6750 .subdevice = 0x5071,
6755 .subvendor = 0x0000,
6756 .subdevice = 0x507B,
6761 .subvendor = 0x5ace,
6762 .subdevice = 0x5070,
6767 .subvendor = 0x5ace,
6768 .subdevice = 0x5090,
6773 .subvendor = 0x0000,
6774 .subdevice = 0x5201,
6779 .subvendor = 0x5ace,
6780 .subdevice = 0x6070,
6785 .subvendor = 0x5ace,
6786 .subdevice = 0x6071,
6791 .subvendor = 0x5ace,
6792 .subdevice = 0x6072,
6797 .subvendor = 0x5ace,
6798 .subdevice = 0x6073,
6803 .subvendor = 0x5ace,
6804 .subdevice = 0x6090,
6809 .subvendor = 0x5ace,
6810 .subdevice = 0x6091,
6815 .subvendor = 0x5ace,
6816 .subdevice = 0x6092,
6821 .subvendor = 0x5ace,
6822 .subdevice = 0x6093,
6827 .subvendor = 0x5ace,
6828 .subdevice = 0x6190,
6833 .subvendor = 0x5ace,
6834 .subdevice = 0x6193,
6839 .subvendor = 0x5ace,
6840 .subdevice = 0x6191,
6845 .subvendor = 0x4e42,
6846 .subdevice = 0x3502,
6851 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
6852 .subdevice = 0x0022,
6857 .subvendor = 0x16be,
6858 .subdevice = 0x0010, /* Medion version CTX953_V.1.4.3 */
6863 .subvendor = 0x1462, /* MSI */
6864 .subdevice = 0x8625, /* TV@nywhere A/D v1.1 */
6869 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6870 .subdevice = 0xf436,
6875 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6876 .subdevice = 0xf936,
6881 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6882 .subdevice = 0xa836,
6887 .subvendor = 0x185b,
6888 .subdevice = 0xc900,
6893 .subvendor = 0x1421,
6894 .subdevice = 0x0380,
6899 .subvendor = 0x5169,
6900 .subdevice = 0x1502,
6905 .subvendor = 0x5ace,
6906 .subdevice = 0x6290,
6911 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6912 .subdevice = 0xf636,
6917 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6918 .subdevice = 0xf736,
6923 .subvendor = 0x1043,
6924 .subdevice = 0x4878, /* REV:1.02G */
6929 .subvendor = 0x1043,
6930 .subdevice = 0x48cd,
6935 .subvendor = 0x17de,
6936 .subdevice = 0x7128,
6941 .subvendor = 0x17de,
6942 .subdevice = 0xb136,
6947 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6948 .subdevice = 0xf31d,
6953 .subvendor = 0x185b,
6954 .subdevice = 0xc900,
6959 .subvendor = 0x5ace, /* Beholder Intl. Ltd. */
6960 .subdevice = 0x7595,
6965 .subvendor = 0x19d1, /* RoverMedia */
6966 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
6972 .subdevice = 0x2004,
6977 .subvendor = 0x1043,
6978 .subdevice = 0x4847,
6983 .subvendor = 0x107d,
6984 .subdevice = 0x6655,
6989 .subvendor = 0x13c2,
6990 .subdevice = 0x2804,
6995 .subvendor = 0x5ace, /* Beholder Intl. Ltd. */
6996 .subdevice = 0x7190,
7001 .subvendor = 0x5ace, /* Beholder Intl. Ltd. */
7002 .subdevice = 0x7090,
7007 .subvendor = 0x185b,
7008 .subdevice = 0xc900,
7013 .subvendor = 0x5ace,
7014 .subdevice = 0x5030,
7019 .subvendor = 0x5ace,
7020 .subdevice = 0x5010,
7025 .subvendor = 0x17de,
7026 .subdevice = 0xd136,
7031 .subvendor = 0x6000,
7032 .subdevice = 0x0811,
7037 .subvendor = 0x6000,
7038 .subdevice = 0x0911,
7043 .subvendor = 0x1461, /* Avermedia Technologies Inc */
7044 .subdevice = 0x2055, /* AverTV Satellite Hybrid+FM A706 */
7049 .subvendor = 0x1905, /* WIS */
7050 .subdevice = 0x7007,
7055 .subvendor = 0x1461, /* Avermedia Technologies Inc */
7056 .subdevice = 0xa10a,
7061 .subvendor = 0x107d,
7062 .subdevice = 0x6f3a,
7067 .subvendor = 0x1779, /* V One Multimedia PTE Ltd */
7068 .subdevice = 0x13cf,
7073 .subvendor = 0x107d,
7074 .subdevice = 0x6f2e,
7081 .subdevice = 0,
7087 .subdevice = 0,
7137 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00000000); in saa7134_xc2028_callback()
7138 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000); in saa7134_xc2028_callback()
7142 saa7134_set_gpio(dev, 23, 0); in saa7134_xc2028_callback()
7147 saa7134_set_gpio(dev, 21, 0); in saa7134_xc2028_callback()
7152 saa7134_set_gpio(dev, 18, 0); in saa7134_xc2028_callback()
7157 saa7134_set_gpio(dev, 20, 0); in saa7134_xc2028_callback()
7162 return 0; in saa7134_xc2028_callback()
7176 saa_writeb(SAA7134_SPECIAL_MODE, 0x00); in saa7134_xc5000_callback()
7178 saa_writeb(SAA7134_SPECIAL_MODE, 0x01); in saa7134_xc5000_callback()
7183 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000); in saa7134_xc5000_callback()
7184 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000); in saa7134_xc5000_callback()
7185 saa_andorl(SAA7133_ANALOG_IO_SELECT >> 2, 0x02, 0x02); in saa7134_xc5000_callback()
7186 saa_andorl(SAA7134_ANALOG_IN_CTRL1 >> 2, 0x81, 0x81); in saa7134_xc5000_callback()
7187 saa_andorl(SAA7134_AUDIO_CLOCK0 >> 2, 0x03187de7, 0x03187de7); in saa7134_xc5000_callback()
7188 saa_andorl(SAA7134_AUDIO_PLL_CTRL >> 2, 0x03, 0x03); in saa7134_xc5000_callback()
7190 0x0001e000, 0x0001e000); in saa7134_xc5000_callback()
7193 return 0; in saa7134_xc5000_callback()
7202 case 0: /* switch LNA gain through GPIO 22*/ in saa7134_tda8290_827x_callback()
7206 saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80); in saa7134_tda8290_827x_callback()
7207 saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03); in saa7134_tda8290_827x_callback()
7214 saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00); in saa7134_tda8290_827x_callback()
7220 return 0; in saa7134_tda8290_827x_callback()
7229 saa7134_set_gpio(dev, 26, 0); in saa7134_tda18271_hvr11x0_toggle_agc()
7237 return 0; in saa7134_tda18271_hvr11x0_toggle_agc()
7246 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7247 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7251 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7252 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7254 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7255 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7261 return 0; in saa7134_kworld_sbtvd_toggle_agc()
7269 saa7134_set_gpio(dev, 18, 0); in saa7134_kworld_pc150u_toggle_agc()
7278 return 0; in saa7134_kworld_pc150u_toggle_agc()
7286 saa7134_set_gpio(dev, 10, 0); in saa7134_leadtek_hdtv200h_toggle_agc()
7294 return 0; in saa7134_leadtek_hdtv200h_toggle_agc()
7300 int ret = 0; in saa7134_tda8290_18271_callback()
7303 case TDA18271_CALLBACK_CMD_AGC_ENABLE: /* 0 */ in saa7134_tda8290_18271_callback()
7413 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0); in saa7134_board_init1()
7497 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80); in saa7134_board_init1()
7498 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40); in saa7134_board_init1()
7504 "%s: you try the audio_clock_override=0x200000 insmod option.\n", in saa7134_board_init1()
7509 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); in saa7134_board_init1()
7510 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000); in saa7134_board_init1()
7514 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80); in saa7134_board_init1()
7515 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80); in saa7134_board_init1()
7519 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); in saa7134_board_init1()
7520 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004); in saa7134_board_init1()
7524 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); in saa7134_board_init1()
7525 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06); in saa7134_board_init1()
7529 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000); in saa7134_board_init1()
7530 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000); in saa7134_board_init1()
7535 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0); in saa7134_board_init1()
7536 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0); in saa7134_board_init1()
7539 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff); in saa7134_board_init1()
7540 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff); in saa7134_board_init1()
7545 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000); in saa7134_board_init1()
7546 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0); in saa7134_board_init1()
7548 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000); in saa7134_board_init1()
7549 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0x08400000); in saa7134_board_init1()
7554 saa7134_set_gpio(dev, 23, 0); in saa7134_board_init1()
7560 saa7134_set_gpio(dev, 23, 0); in saa7134_board_init1()
7565 saa7134_set_gpio(dev, 21, 0); in saa7134_board_init1()
7573 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004); in saa7134_board_init1()
7574 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0); in saa7134_board_init1()
7577 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004); in saa7134_board_init1()
7578 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004); in saa7134_board_init1()
7586 * Make sure Production Test Register at offset 0x1D1 is cleared in saa7134_board_init1()
7592 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00); in saa7134_board_init1()
7598 saa7134_set_gpio(dev, 26, 0); in saa7134_board_init1()
7601 saa7134_set_gpio(dev, 22, 0); in saa7134_board_init1()
7639 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007); in saa7134_board_init1()
7640 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd); in saa7134_board_init1()
7645 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100); in saa7134_board_init1()
7646 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100); in saa7134_board_init1()
7661 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x0000C000, 0x0000C000); in saa7134_board_init1()
7662 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0000C000, 0x0000C000); in saa7134_board_init1()
7667 saa7134_set_gpio(dev, 1, 0); in saa7134_board_init1()
7674 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x0e050000, 0x0c050000); in saa7134_board_init1()
7675 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0e050000, 0x0c050000); in saa7134_board_init1()
7679 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00008000, 0x00008000); in saa7134_board_init1()
7680 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000); in saa7134_board_init1()
7683 return 0; in saa7134_board_init1()
7691 memset(&tun_setup, 0, sizeof(tun_setup)); in saa7134_tuner_setup()
7728 memset(&xc2028_cfg, 0, sizeof(xc2028_cfg)); in saa7134_tuner_setup()
7729 memset(&ctl, 0, sizeof(ctl)); in saa7134_tuner_setup()
7768 /* Checks if the device has a tuner at 0x60 addr in saa7134_board_init2()
7773 dev->i2c_client.addr = 0x60; in saa7134_board_init2()
7774 board = (i2c_master_recv(&dev->i2c_client, &buf, 0) < 0) in saa7134_board_init2()
7788 u8 data[3], data1[] = { 0x09, 0x9f, 0x86, 0x11}; in saa7134_board_init2()
7790 struct i2c_msg msg[] = {{.addr = 0x50, .flags = 0, .buf = &subaddr, .len = 1}, in saa7134_board_init2()
7791 {.addr = 0x50, .flags = I2C_M_RD, .buf = data, .len = 3}}, in saa7134_board_init2()
7792 msg1 = {.addr = 0x61, .flags = 0, .buf = data1, .len = sizeof(data1)}; in saa7134_board_init2()
7794 subaddr= 0x14; in saa7134_board_init2()
7795 tuner_t = 0; in saa7134_board_init2()
7803 } else if ((data[0] != 0) && (data[0] != 0xff)) { in saa7134_board_init2()
7805 subaddr = data[0] + 2; in saa7134_board_init2()
7808 tuner_t = (data[0] << 8) + data[1]; in saa7134_board_init2()
7810 case 0x0103: in saa7134_board_init2()
7813 case 0x010C: in saa7134_board_init2()
7820 } else if ((data[1] != 0) && (data[1] != 0xff)) { in saa7134_board_init2()
7825 subaddr = data[0] + 1; in saa7134_board_init2()
7828 tuner_t = (data[1] << 8) + data[0]; in saa7134_board_init2()
7830 case 0x0005: in saa7134_board_init2()
7833 case 0x001d: in saa7134_board_init2()
7860 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) { in saa7134_board_init2()
7879 u8 data[] = { 0x07, 0x02}; in saa7134_board_init2()
7880 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
7888 u8 data[] = { 0x3c, 0x33, 0x60}; in saa7134_board_init2()
7889 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
7890 if (dev->autodetected && (dev->eedata[0x49] == 0x50)) { in saa7134_board_init2()
7898 data[2] = 0x68; in saa7134_board_init2()
7907 if (dev->autodetected && (dev->eedata[0x27] == 0x03)) { in saa7134_board_init2()
7922 hauppauge_eeprom(dev, dev->eedata+0x80); in saa7134_board_init2()
7925 hauppauge_eeprom(dev, dev->eedata+0x80); in saa7134_board_init2()
7941 u8 data[] = { 0x3c, 0x33, 0x60}; in saa7134_board_init2()
7942 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
7948 u8 data[] = { 0x3c, 0x33, 0x60}; in saa7134_board_init2()
7949 struct i2c_msg msg = {.addr = 0x0b, .flags = 0, .buf = data, in saa7134_board_init2()
7956 u8 data[] = { 0x3c, 0x33, 0x60}; in saa7134_board_init2()
7957 struct i2c_msg msg = {.addr = 0x0b, .flags = 0, .buf = data, in saa7134_board_init2()
7964 u8 temp = 0; in saa7134_board_init2()
7966 u8 data[] = { 0x3c, 0x33, 0x62}; in saa7134_board_init2()
7967 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
7975 msg.addr = 0x0b; in saa7134_board_init2()
7983 pr_info("%s: probe IR chip @ i2c 0x%02x: %s\n", in saa7134_board_init2()
7995 u8 data[] = { 0x3c, 0x33, 0x6a}; in saa7134_board_init2()
7996 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
8004 u8 data[] = { 0x3c, 0x33, 0x68}; in saa7134_board_init2()
8005 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
8017 if (!dev->autodetected || (dev->eedata[0x41] == 0xd0)) in saa7134_board_init2()
8019 if (dev->eedata[0x41] == 0x02) { in saa7134_board_init2()
8028 dev->name, dev->eedata[0x41]); in saa7134_board_init2()
8035 struct i2c_msg msg = { .addr = 0x0a, .flags = 0 }; in saa7134_board_init2()
8038 { 0x10, 0x12 }, in saa7134_board_init2()
8039 { 0x13, 0x04 }, in saa7134_board_init2()
8040 { 0x16, 0x00 }, in saa7134_board_init2()
8041 { 0x14, 0x04 }, in saa7134_board_init2()
8042 { 0x17, 0x00 }, in saa7134_board_init2()
8045 for (i = 0; i < ARRAY_SIZE(buffer); i++) { in saa7134_board_init2()
8046 msg.buf = &buffer[i][0]; in saa7134_board_init2()
8047 msg.len = ARRAY_SIZE(buffer[0]); in saa7134_board_init2()
8056 u8 data[] = { 0x09, 0x9f, 0x86, 0x11}; in saa7134_board_init2()
8057 struct i2c_msg msg = {.addr = 0x61, .flags = 0, .buf = data, in saa7134_board_init2()
8071 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_board_init2()
8072 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_board_init2()
8074 saa7134_set_gpio(dev, 27, 0); in saa7134_board_init2()
8091 0, v4l2_i2c_tuner_addrs(ADDRS_DEMOD)); in saa7134_board_init2()
8098 0, v4l2_i2c_tuner_addrs(type)); in saa7134_board_init2()
8115 dev->i2c_client.addr = 0xC0; in saa7134_board_init2()
8117 memset(&ctl, 0, sizeof(ctl)); in saa7134_board_init2()
8126 return 0; in saa7134_board_init2()