Lines Matching +full:0 +full:x6010000
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,
2123 .audio_clock = 0x00187de7,
2126 .tuner_addr = 0x61,
2127 .radio_addr = 0x60,
2128 .gpiomask = 0x0700,
2133 .gpio = 0x000,
2138 .gpio = 0x200, /* gpio by DScaler */
2141 .vmux = 0,
2143 .gpio = 0x200,
2148 .gpio = 0x100,
2153 .gpio = 0x000,
2158 .audio_clock = 0x00200000,
2173 .vmux = 0,
2193 .audio_clock = 0x00187de7,
2203 .gpio = 0x0000000,
2208 .gpio = 0x0000000,
2213 .gpio = 0x0000000,
2218 .gpio = 0x0200000,
2228 .audio_clock = 0x00187de7,
2233 .gpiomask = 0x00010003,
2238 .gpio = 0x01,
2241 .vmux = 0,
2243 .gpio = 0x02,
2248 .gpio = 0x02,
2253 .gpio = 0x00010003,
2258 .gpio = 0x01,
2266 .audio_clock = 0x00187de7,
2272 .gpiomask = 0x00008000,
2295 .audio_clock = 0x00187de7,
2301 .gpiomask = 0x00200003,
2306 .gpio = 0x00200003,
2311 .gpio = 0x00200003,
2316 .gpio = 0x00200003,
2321 .gpio = 0x00200003,
2326 .gpio = 0x00200003,
2331 .gpio = 0x00200003,
2336 .audio_clock = 0x00187de7,
2339 .tuner_addr = 0x61,
2349 .vmux = 0,
2359 .audio_clock = 0x00187de7,
2362 .tuner_addr = 0x61,
2383 .audio_clock = 0x00187de7,
2390 .vmux = 0,
2400 .audio_clock = 0x00200000,
2405 .empress_addr = 0x21,
2408 .vmux = 0,
2441 .audio_clock = 0x00200000,
2448 .vmux = 0,
2474 .audio_clock = 0x00200000,
2486 .vmux = 0,
2505 .audio_clock = 0x00187de7,
2523 .audio_clock = 0x00187de7,
2545 .audio_clock = 0x00187de7,
2550 .gpiomask = 0x080200000,
2561 .vmux = 0,
2571 .gpio = 0x0200000,
2576 .audio_clock = 0x00187de7,
2587 .gpio = 0x0000000,
2592 .gpio = 0x0200000,
2595 .vmux = 0,
2597 .gpio = 0x0200000,
2602 .gpio = 0x0200000,
2607 .gpio = 0x0200000,
2615 .audio_clock = 0x00187de7,
2620 .gpiomask = 0xe880c0,
2642 .audio_clock = 0x00200000,
2664 .audio_clock = 0x00187de7,
2671 .gpiomask = 0x0200000,
2688 .gpio = 0x0200000,
2693 .audio_clock = 0x00187de7,
2709 .vmux = 0, /* untested */
2719 .gpio = 0x0200000,
2728 .audio_clock = 0x00187de7,
2733 .gpiomask = 0x80200000,
2746 .gpio = 0x0200000,
2753 .audio_clock = 0x00200000,
2758 .gpiomask = 0x00200000,
2764 .gpio = 0x200000, /* GPIO21=High for TV input */
2771 .vmux = 0,
2781 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2786 .audio_clock = 0x00187de7,
2806 .audio_clock = 0x00200000,
2824 .audio_clock = 0x00200000,
2830 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2835 .gpio = 0x00200000,
2840 .audio_clock = 0x00187de7,
2857 .vmux = 0,
2867 .gpio = 0x0200000,
2872 .audio_clock = 0x00187de7,
2895 .gpio = 0x0200000,
2900 .audio_clock = 0x00187de7,
2927 .audio_clock = 0x02187de7,
2933 .gpiomask = 0x0a60000,
2939 .audio_clock = 0x02187de7,
2945 .gpiomask = 0xca60000,
2950 .gpio = 0x04a61000,
2964 .audio_clock = 0x00187de7,
2972 .audio_clock = 0x00200000,
2978 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2983 .gpio = 0x200000, /* GPIO21=High for TV input */
2990 .vmux = 0,
3000 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
3006 .audio_clock = 0x00200000,
3012 .gpiomask = 0xe000,
3017 .gpio = 0x8000,
3022 .gpio = 0x0000,
3025 .vmux = 0,
3027 .gpio = 0x4000,
3032 .gpio = 0x4000,
3037 .gpio = 0x4000,
3042 .gpio = 0x2000,
3047 .gpio = 0x8000,
3052 .audio_clock = 0x00187de7,
3064 .vmux = 0,
3076 .audio_clock = 0x00200000,
3094 .audio_clock = 0x00187de7,
3106 .vmux = 0,
3125 .audio_clock = 0x187de7,
3129 .radio_addr = 0x60,
3152 .audio_clock = 0x00187de7,
3179 .audio_clock = 0x00187de7,
3186 .gpiomask = 0x000200000,
3197 .vmux = 0,
3207 .gpio = 0x0200000,
3213 .audio_clock = 0x00187de7,
3219 .gpiomask = 0x03,
3224 .gpio = 0x00,
3227 .vmux = 0,
3229 .gpio = 0x00,
3234 .gpio = 0x00,
3239 .gpio = 0x00,
3244 .gpio = 0x01,
3249 .gpio = 0x00,
3255 .audio_clock = 0x00187de7,
3280 .audio_clock = 0x00187de7,
3287 .gpiomask = 0x0200100,
3292 .gpio = 0x0000100,
3305 .gpio = 0x0200100,
3310 .audio_clock = 0x00187de7,
3319 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3324 .gpio = 0x0000100,
3337 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3342 .audio_clock = 0x00187de7,
3350 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3355 .gpio = 0x0000100,
3368 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3373 .audio_clock = 0x00187de7,
3385 .vmux = 0,
3397 .audio_clock = 0x00200000,
3416 .vmux = 0,
3422 /* .gpio = 0x00300001,*/
3423 .gpio = 0x20000,
3428 .amux = 0,
3434 .audio_clock = 0x00200000,
3453 .vmux = 0,
3459 .gpio = 0x20000,
3464 .amux = 0,
3469 .audio_clock = 0x00200000,
3474 .gpiomask = 0x7000,
3479 .gpio = 0x50000,
3484 .gpio = 0x2000,
3489 .gpio = 0x2000,
3498 .gpio = 0xf000,
3499 .amux = 0,
3504 .audio_clock = 0x02187de7,
3507 .tuner_addr = 0x61,
3508 .radio_addr = 0x60,
3530 .gpio = 0x43000,
3535 .audio_clock = 0x00187de7,
3547 .vmux = 0,
3557 .audio_clock = 0x00187de7,
3564 .gpiomask = 0x0200000,
3581 .gpio = 0x0200000,
3586 .audio_clock = 0x00187de7,
3598 .vmux = 0,
3608 .audio_clock = 0x00187de7,
3615 .gpiomask = 0x0200000,
3620 .gpio = 0x0200000,
3625 .gpio = 0x0200000,
3628 .vmux = 0,
3630 .gpio = 0x0200000,
3635 .gpio = 0x0200000,
3640 .audio_clock = 0x00187de7,
3652 .gpio = 0x0000000,
3657 .gpio = 0x0200000,
3660 .vmux = 0,
3662 .gpio = 0x0200000,
3667 .gpio = 0x0200000,
3672 .gpio = 0x0200000,
3677 .audio_clock = 0x00187de7,
3687 .gpio = 0x0000000,
3694 .vmux = 0,
3704 .gpio = 0x0200000,
3709 .audio_clock = 0x00187de7,
3724 .vmux = 0,
3739 .audio_clock = 0x00200000,
3744 .gpiomask = 0x7000,
3749 .gpio = 0x0000,
3754 .gpio = 0x2000,
3759 .gpio = 0x2000,
3764 .gpio = 0x3000,
3769 .audio_clock = 0x00187de7,
3784 .audio_clock = 0x00187de7,
3790 .gpiomask = 0x020200000,
3807 .gpio = 0x00200000,
3812 .gpio = 0x01,
3817 .audio_clock = 0x00187de7,
3823 .gpiomask = 0x020200000,
3840 .gpio = 0x00200000,
3845 .gpio = 0x01,
3852 .audio_clock = 0x00187de7,
3857 .gpiomask = 0x00008000,
3880 .audio_clock = 0x00187de7,
3885 .gpiomask = 0x00008000,
3904 .audio_clock = 0x00187de7,
3909 .gpiomask = 0x00008000,
3932 .audio_clock = 0x00187de7,
3938 .gpiomask = 0x00008000,
3958 .audio_clock = 0x00187de7,
3964 .gpiomask = 0x00008000,
3987 .audio_clock = 0x00187de7,
3993 .gpiomask = 0x00008000,
3998 .gpio = 0xc0c000,
4003 .gpio = 0xc0c000,
4008 .gpio = 0xc0c000,
4015 .audio_clock = 0x00187de7,
4021 .gpiomask = 0x00008000,
4026 .gpio = 0xc0c000,
4031 .gpio = 0xc0c000,
4036 .gpio = 0xc0c000,
4041 .gpio = 0xc0c000,
4048 .audio_clock = 0x00187de7,
4054 .gpiomask = 0x00008000,
4073 .audio_clock = 0x00200000,
4079 .gpiomask = 0x00008000,
4106 .audio_clock = 0x00200000,
4111 .rds_addr = 0x10,
4113 .gpiomask = 0x00008000,
4140 .audio_clock = 0x00187de7,
4146 .gpiomask = 0x00008000,
4169 .audio_clock = 0x00187de7,
4174 .rds_addr = 0x10,
4176 .gpiomask = 0x00008000,
4199 .audio_clock = 0x00187de7,
4204 .rds_addr = 0x10,
4206 .gpiomask = 0x00008000,
4229 .audio_clock = 0x00187de7,
4232 .tuner_addr = 0xc2 >> 1,
4233 .radio_addr = 0xc0 >> 1,
4235 .gpiomask = 0x000A8004,
4240 .gpio = 0x000A8004,
4245 .gpio = 0x000A8000,
4250 .gpio = 0x000A8000,
4255 .gpio = 0x000A8000,
4261 .audio_clock = 0x00187de7,
4288 .audio_clock = 0x00187de7,
4315 .audio_clock = 0x00187de7,
4342 .audio_clock = 0x00187de7,
4369 .audio_clock = 0x00187de7,
4374 .rds_addr = 0x10,
4397 .audio_clock = 0x00187de7,
4402 .rds_addr = 0x10,
4425 .audio_clock = 0x00187de7,
4430 .rds_addr = 0x10,
4453 .audio_clock = 0x00187de7,
4458 .rds_addr = 0x10,
4484 .audio_clock = 0x00187de7,
4489 .empress_addr = 0x20,
4520 .audio_clock = 0x00187de7,
4525 .empress_addr = 0x20,
4557 .audio_clock = 0x00187de7,
4562 .rds_addr = 0x10,
4563 .empress_addr = 0x20,
4591 .audio_clock = 0x00187de7,
4598 .gpiomask = 0x0200000,
4615 .gpio = 0x0200000,
4621 .audio_clock = 0x00200000,
4626 .gpiomask = 0xf000,
4631 .gpio = 0x0000,
4636 .gpio = 0x2000,
4641 .gpio = 0x2000,
4646 .gpio = 0x1000,
4651 .gpio = 0x6000,
4656 .audio_clock = 0x00200000,
4674 .audio_clock = 0x00187de7,
4687 .vmux = 0,
4697 .audio_clock = 0x00187de7,
4704 .gpiomask = 0x0200000,
4721 .gpio = 0x0200000,
4726 .audio_clock = 0x187de7,
4752 .audio_clock = 0x187de7,
4768 .vmux = 0,
4778 .audio_clock = 0x187de7,
4800 .audio_clock = 0x00187de7,
4803 .tuner_addr = 0x61,
4827 .audio_clock = 0x00187de7,
4846 .audio_clock = 0x00187de7,
4873 .audio_clock = 0x00187de7,
4900 .audio_clock = 0x00187de7,
4914 .vmux = 0,
4924 .gpio = 0x0200000,
4929 .audio_clock = 0x00187de7,
4943 .vmux = 0,
4953 .gpio = 0x0200000,
4958 .audio_clock = 0x00187de7,
4963 .gpiomask = 0x801a8087,
4968 .gpio = 0x624000,
4973 .gpio = 0x624000,
4978 .gpio = 0x624000,
4983 .gpio = 0x624001,
4992 .audio_clock = 0x00187de7,
5015 .audio_clock = 0x00187de7,
5022 .gpiomask = 0x0200000,
5033 .vmux = 0,
5043 .gpio = 0x0200000,
5048 .audio_clock = 0x00187de7,
5052 .radio_addr = 0x60,
5053 .gpiomask = 0x80000700,
5058 .gpio = 0x100,
5063 .gpio = 0x200,
5068 .gpio = 0x200,
5074 .gpio = 0x100,
5084 .audio_clock = 0x00187de7,
5089 .gpiomask = 0x8e054000,
5096 #if 0 /* FIXME */
5101 .gpio = 0x200,
5106 .gpio = 0x200,
5109 #if 0
5114 .gpio = 0x100,
5119 .vmux = 0,
5125 .audio_clock = 0x00187de7,
5130 .gpiomask = 0x00300003,
5131 /* .gpiomask = 0x8c240003, */
5136 .gpio = 0x01,
5141 .gpio = 0x02,
5146 .gpio = 0x00300001,
5151 .gpio = 0x01,
5157 .audio_clock = 0x00187de7,
5163 .gpiomask = 0x03,
5168 .gpio = 0x00,
5173 .gpio = 0x00,
5178 .gpio = 0x00,
5183 .gpio = 0x01,
5188 .gpio = 0x00,
5194 .audio_clock = 0x00187de7,
5202 .vmux = 0,
5213 .audio_clock = 0x00187de7,
5225 .vmux = 0,
5239 .audio_clock = 0x00187de7,
5259 .audio_clock = 0x00187de7,
5262 .tuner_addr = 0x61,
5282 .audio_clock = 0x00187de7,
5300 .audio_clock = 0x00200000,
5305 .rds_addr = 0x10,
5307 .gpiomask = 0x00008000,
5334 .audio_clock = 0x00200000,
5339 .gpiomask = 0x389c00,
5344 .gpio = 0x01fc00,
5350 .audio_clock = 0x00187de7,
5363 .vmux = 0,
5378 .audio_clock = 0x00187de7,
5389 .vmux = 0,
5404 .audio_clock = 0x00187de7,
5406 .tuner_addr = 0x63,
5416 .vmux = 0,
5427 .audio_clock = 0x00187de7,
5431 .radio_addr = 0x60,
5457 .audio_clock = 0x00187de7,
5463 .gpiomask = 0x02050000,
5470 .gpio = 0x00050000,
5475 .gpio = 0x00050000,
5480 .gpio = 0x00050000,
5485 .gpio = 0x00050000,
5489 .vmux = 0,
5491 .gpio = 0x00050000,
5498 .audio_clock = 0x00200000,
5503 .gpiomask = 0x00008000,
5526 .audio_clock = 0x00200000,
5531 .gpiomask = 0x00008000,
5552 .audio_clock = 0x00200000,
5559 .vmux = 0,
5573 .audio_clock = 0x00187de7,
5597 .gpio = 0x0000000,
5604 .audio_clock = 0x00200000,
5609 .gpiomask = 0x618E700,
5614 .gpio = 0x6010000,
5619 .audio_clock = 0x00187de7,
5645 .gpio = 0x0000800,
5650 .audio_clock = 0x00200000,
5658 .vmux = 0,
5674 .audio_clock = 0x00187de7,
5686 .vmux = 0,
5704 .audio_clock = 0x00187de7,
5709 .gpiomask = 0x0d,
5714 .gpio = 0x00,
5719 .gpio = 0x08,
5724 .gpio = 0x08,
5729 .gpio = 0x04,
5734 .gpio = 0x08,
5739 .audio_clock = 0x00187de7,
5749 .gpio = 0x0000000,
5754 .gpio = 0x0000000,
5759 .gpio = 0x0000000,
5764 .gpio = 0x0200000,
5769 .audio_clock = 0x00187de7,
5776 .gpiomask = 0x00200700,
5781 .gpio = 0x00000300,
5786 .gpio = 0x00200300,
5791 .gpio = 0x00200300,
5806 .subdevice = 0x2001,
5812 .subdevice = 0x2001,
5818 .subdevice = 0x6752,
5823 .subvendor = 0x1131,
5824 .subdevice = 0x4e85,
5829 .subvendor = 0x153b,
5830 .subdevice = 0x1142,
5835 .subvendor = 0x153b,
5836 .subdevice = 0x1143,
5841 .subvendor = 0x153b,
5842 .subdevice = 0x1158,
5847 .subvendor = 0x153b,
5848 .subdevice = 0x1162,
5853 .subvendor = 0x5169,
5854 .subdevice = 0x0138,
5859 .subvendor = 0x5168,
5860 .subdevice = 0x0138,
5865 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
5866 .subdevice = 0x0138,
5871 .subvendor = 0x5168,
5872 .subdevice = 0x0138,
5877 .subvendor = 0x4e42, /* Typhoon */
5878 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
5883 .subvendor = 0x5168,
5884 .subdevice = 0x0212, /* minipci, LR212 */
5889 .subvendor = 0x14c0,
5890 .subdevice = 0x1212, /* minipci, LR1212 */
5895 .subvendor = 0x4e42,
5896 .subdevice = 0x0212, /* OEM minipci, LR212 */
5901 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5902 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
5907 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5908 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
5913 .subvendor = 0x1489, /* KYE */
5914 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
5919 .subvendor = 0x16be,
5920 .subdevice = 0x0003,
5925 .subvendor = 0x16be, /* CTX946 analog TV, HW mpeg, DVB-T */
5926 .subdevice = 0x5000, /* only analog TV and DVB-T for now */
5931 .subvendor = 0x1048,
5932 .subdevice = 0x226b,
5937 .subvendor = 0x1048,
5938 .subdevice = 0x226a,
5943 .subvendor = 0x1048,
5944 .subdevice = 0x226c,
5950 .subdevice = 0x4842,
5956 .subdevice = 0x4845,
5962 .subdevice = 0x4830,
5968 .subdevice = 0x4843,
5974 .subdevice = 0x4840,
5980 .subdevice = 0xfe01,
5985 .subvendor = 0x1894,
5986 .subdevice = 0xfe01,
5991 .subvendor = 0x1894,
5992 .subdevice = 0xa006,
5997 .subvendor = 0x1131,
5998 .subdevice = 0x7133,
6004 .subdevice = 0x2001,
6009 .subvendor = 0x185b,
6010 .subdevice = 0xc100,
6015 .subvendor = 0x185b,
6016 .subdevice = 0xc100,
6022 .subdevice = 0x48d0,
6027 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6028 .subdevice = 0xa70b,
6033 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6034 .subdevice = 0xa7a1,
6039 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6040 .subdevice = 0xa7a2,
6045 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6046 .subdevice = 0x2115,
6051 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6052 .subdevice = 0xa115,
6057 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6058 .subdevice = 0x2108,
6063 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6064 .subdevice = 0x10ff,
6070 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6071 .subdevice = 0xd6ee,
6077 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6078 .subdevice = 0xb7e9,
6084 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6085 .subdevice = 0x050c,
6090 .subvendor = 0x11bd,
6091 .subdevice = 0x002b,
6096 .subvendor = 0x11bd,
6097 .subdevice = 0x002d,
6102 .subvendor = 0x1019,
6103 .subdevice = 0x4cb4,
6108 .subvendor = 0x1019,
6109 .subdevice = 0x4cb5,
6114 .subvendor = 0x1019,
6115 .subdevice = 0x4cb6,
6120 .subvendor = 0x12ab,
6121 .subdevice = 0x0800,
6126 .subvendor = 0x153b,
6127 .subdevice = 0x1152,
6132 .subvendor = 0x185b,
6133 .subdevice = 0xc100,
6138 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6139 .subdevice = 0x9715,
6144 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6145 .subdevice = 0xa70a,
6150 .subvendor = 0x185b,
6151 .subdevice = 0xc200,
6156 .subvendor = 0x1540,
6157 .subdevice = 0x9524,
6163 .subvendor = 0x5168,
6164 .subdevice = 0x0502, /* Cardbus version */
6169 .subvendor = 0x5168,
6170 .subdevice = 0x0306, /* PCI version */
6175 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6176 .subdevice = 0xf31f,
6182 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6183 .subdevice = 0xf11d,
6188 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6189 .subdevice = 0x4155,
6194 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6195 .subdevice = 0x4255,
6201 .subdevice = 0x2004,
6206 .subvendor = 0x1421,
6207 .subdevice = 0x0350, /* PCI version */
6212 .subvendor = 0x1421,
6213 .subdevice = 0x0351, /* PCI version, new revision */
6218 .subvendor = 0x1421,
6219 .subdevice = 0x0370, /* cardbus version */
6224 .subvendor = 0x1421,
6225 .subdevice = 0x1370, /* cardbus version */
6231 .subvendor = 0x4e42, /* Typhoon */
6232 .subdevice = 0x0502, /* LifeView LR502 OEM */
6237 .subvendor = 0x1043,
6238 .subdevice = 0x0210, /* mini pci NTSC version */
6243 .subvendor = 0x1043,
6244 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
6250 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
6251 .subdevice = 0x4091,
6256 .subvendor = 0x5456, /* GoTView */
6257 .subdevice = 0x7135,
6263 .subdevice = 0x2004,
6268 .subvendor = 0x185b,
6269 .subdevice = 0xc900,
6274 .subvendor = 0x185b,
6275 .subdevice = 0xc901,
6280 .subvendor = 0x1435,
6281 .subdevice = 0x7350,
6286 .subvendor = 0x1435,
6287 .subdevice = 0x7330,
6292 .subvendor = 0x1461,
6293 .subdevice = 0x1044,
6298 .subvendor = 0x1131,
6299 .subdevice = 0x4ee9,
6304 .subvendor = 0x11bd,
6305 .subdevice = 0x002e,
6310 .subvendor = 0x1043,
6311 .subdevice = 0x4862,
6317 .subdevice = 0x2018,
6322 .subvendor = 0x1462,
6323 .subdevice = 0x6231, /* tda8275a, ks003 IR */
6328 .subvendor = 0x1462,
6329 .subdevice = 0x8624, /* tda8275, ks003 IR */
6334 .subvendor = 0x153b,
6335 .subdevice = 0x1160,
6340 .subvendor = 0x5168,
6341 .subdevice = 0x0319,
6346 .subvendor = 0x1461,
6347 .subdevice = 0x2c05,
6352 .subvendor = 0x5168,
6353 .subdevice = 0x0301,
6358 .subvendor = 0x0331,
6359 .subdevice = 0x1421,
6364 .subvendor = 0x17de,
6365 .subdevice = 0x7201,
6370 .subvendor = 0x17de,
6371 .subdevice = 0x7250,
6376 .subvendor = 0x17de,
6377 .subdevice = 0x7350,
6382 .subvendor = 0x17de,
6383 .subdevice = 0x7352,
6388 .subvendor = 0x17de,
6389 .subdevice = 0xa134,
6394 .subvendor = 0x1461,
6395 .subdevice = 0x7360,
6400 .subvendor = 0x1461,
6401 .subdevice = 0x6360,
6406 .subvendor = 0x16be,
6407 .subdevice = 0x0005,
6412 .subvendor = 0x5168,
6413 .subdevice = 0x0300,
6418 .subvendor = 0x4e42,
6419 .subdevice = 0x0300,/* LR300 */
6424 .subvendor = 0x1489,
6425 .subdevice = 0x0301,
6430 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
6431 .subdevice = 0x0304,
6436 .subvendor = 0x5168,
6437 .subdevice = 0x3306,
6442 .subvendor = 0x5168,
6443 .subdevice = 0x3502, /* what's the difference to 0x3306 ?*/
6448 .subvendor = 0x5168,
6449 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
6454 .subvendor = 0x16be,
6455 .subdevice = 0x0007,
6460 .subvendor = 0x16be,
6461 .subdevice = 0x0008,
6466 .subvendor = 0x16be,
6467 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
6472 .subvendor = 0x1461,
6473 .subdevice = 0x2c05,
6478 .subvendor = 0x1489,
6479 .subdevice = 0x0502, /* Cardbus version */
6484 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
6485 .subdevice = 0x2003,
6490 .subvendor = 0x1461,
6491 .subdevice = 0x2c00,
6496 .subvendor = 0x1043,
6497 .subdevice = 0x4860,
6502 .subvendor = 0x11bd,
6503 .subdevice = 0x002f,
6508 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6509 .subdevice = 0x9715,
6514 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6515 .subdevice = 0xa11b,
6520 .subvendor = 0x1043,
6521 .subdevice = 0x4876,
6526 .subvendor = 0x0070,
6527 .subdevice = 0x6700,
6532 .subvendor = 0x0070,
6533 .subdevice = 0x6701,
6538 .subvendor = 0x0070,
6539 .subdevice = 0x6702,
6544 .subvendor = 0x0070,
6545 .subdevice = 0x6703,
6550 .subvendor = 0x0070,
6551 .subdevice = 0x6704,
6556 .subvendor = 0x0070,
6557 .subdevice = 0x6705,
6562 .subvendor = 0x0070,
6563 .subdevice = 0x6706,
6568 .subvendor = 0x0070,
6569 .subdevice = 0x6707,
6574 .subvendor = 0x0070,
6575 .subdevice = 0x6708,
6580 .subvendor = 0x0070,
6581 .subdevice = 0x6709,
6586 .subvendor = 0x0070,
6587 .subdevice = 0x670a,
6592 .subvendor = 0x153b,
6593 .subdevice = 0x1172,
6599 .subdevice = 0x2342,
6604 .subvendor = 0x1131,
6605 .subdevice = 0x2341,
6610 .subvendor = 0x3016,
6611 .subdevice = 0x2344,
6616 .subvendor = 0x1131,
6617 .subdevice = 0x230f,
6622 .subvendor = 0x1a7f,
6623 .subdevice = 0x2008,
6628 .subvendor = 0x1a7f,
6629 .subdevice = 0x2108,
6634 .subvendor = 0x153b,
6635 .subdevice = 0x1175,
6640 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6641 .subdevice = 0xf31e,
6646 .subvendor = 0x4E42, /* MSI */
6647 .subdevice = 0x0306, /* TV@nywhere DUO */
6652 .subvendor = 0x1043,
6653 .subdevice = 0x4871,
6658 .subvendor = 0x1043,
6659 .subdevice = 0x4857, /* REV:1.00 */
6664 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
6665 .subdevice = 0x2003, /* OEM cardbus */
6671 .subdevice = 0x2304,
6676 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6677 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
6682 .subvendor = 0x0000,
6683 .subdevice = 0x4016,
6688 .subvendor = 0x0000,
6689 .subdevice = 0x4036,
6694 .subvendor = 0x0000,
6695 .subdevice = 0x4037,
6700 .subvendor = 0x0000,
6701 .subdevice = 0x4050,
6706 .subvendor = 0x0000,
6707 .subdevice = 0x4051,
6712 .subvendor = 0x0000,
6713 .subdevice = 0x4070,
6718 .subvendor = 0x0000,
6719 .subdevice = 0x4071,
6724 .subvendor = 0x0000,
6725 .subdevice = 0x4090,
6730 .subvendor = 0x0000,
6731 .subdevice = 0x505B,
6736 .subvendor = 0x0000,
6737 .subdevice = 0x5051,
6742 .subvendor = 0x5ace,
6743 .subdevice = 0x5050,
6748 .subvendor = 0x0000,
6749 .subdevice = 0x5071,
6754 .subvendor = 0x0000,
6755 .subdevice = 0x507B,
6760 .subvendor = 0x5ace,
6761 .subdevice = 0x5070,
6766 .subvendor = 0x5ace,
6767 .subdevice = 0x5090,
6772 .subvendor = 0x0000,
6773 .subdevice = 0x5201,
6778 .subvendor = 0x5ace,
6779 .subdevice = 0x6070,
6784 .subvendor = 0x5ace,
6785 .subdevice = 0x6071,
6790 .subvendor = 0x5ace,
6791 .subdevice = 0x6072,
6796 .subvendor = 0x5ace,
6797 .subdevice = 0x6073,
6802 .subvendor = 0x5ace,
6803 .subdevice = 0x6090,
6808 .subvendor = 0x5ace,
6809 .subdevice = 0x6091,
6814 .subvendor = 0x5ace,
6815 .subdevice = 0x6092,
6820 .subvendor = 0x5ace,
6821 .subdevice = 0x6093,
6826 .subvendor = 0x5ace,
6827 .subdevice = 0x6190,
6832 .subvendor = 0x5ace,
6833 .subdevice = 0x6193,
6838 .subvendor = 0x5ace,
6839 .subdevice = 0x6191,
6844 .subvendor = 0x4e42,
6845 .subdevice = 0x3502,
6850 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
6851 .subdevice = 0x0022,
6856 .subvendor = 0x16be,
6857 .subdevice = 0x0010, /* Medion version CTX953_V.1.4.3 */
6862 .subvendor = 0x1462, /* MSI */
6863 .subdevice = 0x8625, /* TV@nywhere A/D v1.1 */
6868 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6869 .subdevice = 0xf436,
6874 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6875 .subdevice = 0xf936,
6880 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6881 .subdevice = 0xa836,
6886 .subvendor = 0x185b,
6887 .subdevice = 0xc900,
6892 .subvendor = 0x1421,
6893 .subdevice = 0x0380,
6898 .subvendor = 0x5169,
6899 .subdevice = 0x1502,
6904 .subvendor = 0x5ace,
6905 .subdevice = 0x6290,
6910 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6911 .subdevice = 0xf636,
6916 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6917 .subdevice = 0xf736,
6922 .subvendor = 0x1043,
6923 .subdevice = 0x4878, /* REV:1.02G */
6928 .subvendor = 0x1043,
6929 .subdevice = 0x48cd,
6934 .subvendor = 0x17de,
6935 .subdevice = 0x7128,
6940 .subvendor = 0x17de,
6941 .subdevice = 0xb136,
6946 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6947 .subdevice = 0xf31d,
6952 .subvendor = 0x185b,
6953 .subdevice = 0xc900,
6958 .subvendor = 0x5ace, /* Beholder Intl. Ltd. */
6959 .subdevice = 0x7595,
6964 .subvendor = 0x19d1, /* RoverMedia */
6965 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
6971 .subdevice = 0x2004,
6976 .subvendor = 0x1043,
6977 .subdevice = 0x4847,
6982 .subvendor = 0x107d,
6983 .subdevice = 0x6655,
6988 .subvendor = 0x13c2,
6989 .subdevice = 0x2804,
6994 .subvendor = 0x5ace, /* Beholder Intl. Ltd. */
6995 .subdevice = 0x7190,
7000 .subvendor = 0x5ace, /* Beholder Intl. Ltd. */
7001 .subdevice = 0x7090,
7006 .subvendor = 0x185b,
7007 .subdevice = 0xc900,
7012 .subvendor = 0x5ace,
7013 .subdevice = 0x5030,
7018 .subvendor = 0x5ace,
7019 .subdevice = 0x5010,
7024 .subvendor = 0x17de,
7025 .subdevice = 0xd136,
7030 .subvendor = 0x6000,
7031 .subdevice = 0x0811,
7036 .subvendor = 0x6000,
7037 .subdevice = 0x0911,
7042 .subvendor = 0x1461, /* Avermedia Technologies Inc */
7043 .subdevice = 0x2055, /* AverTV Satellite Hybrid+FM A706 */
7048 .subvendor = 0x1905, /* WIS */
7049 .subdevice = 0x7007,
7054 .subvendor = 0x1461, /* Avermedia Technologies Inc */
7055 .subdevice = 0xa10a,
7060 .subvendor = 0x107d,
7061 .subdevice = 0x6f3a,
7066 .subvendor = 0x1779, /* V One Multimedia PTE Ltd */
7067 .subdevice = 0x13cf,
7072 .subvendor = 0x107d,
7073 .subdevice = 0x6f2e,
7080 .subdevice = 0,
7086 .subdevice = 0,
7136 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00000000); in saa7134_xc2028_callback()
7137 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000); in saa7134_xc2028_callback()
7141 saa7134_set_gpio(dev, 23, 0); in saa7134_xc2028_callback()
7146 saa7134_set_gpio(dev, 21, 0); in saa7134_xc2028_callback()
7151 saa7134_set_gpio(dev, 18, 0); in saa7134_xc2028_callback()
7156 saa7134_set_gpio(dev, 20, 0); in saa7134_xc2028_callback()
7161 return 0; in saa7134_xc2028_callback()
7175 saa_writeb(SAA7134_SPECIAL_MODE, 0x00); in saa7134_xc5000_callback()
7177 saa_writeb(SAA7134_SPECIAL_MODE, 0x01); in saa7134_xc5000_callback()
7182 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000); in saa7134_xc5000_callback()
7183 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000); in saa7134_xc5000_callback()
7184 saa_andorl(SAA7133_ANALOG_IO_SELECT >> 2, 0x02, 0x02); in saa7134_xc5000_callback()
7185 saa_andorl(SAA7134_ANALOG_IN_CTRL1 >> 2, 0x81, 0x81); in saa7134_xc5000_callback()
7186 saa_andorl(SAA7134_AUDIO_CLOCK0 >> 2, 0x03187de7, 0x03187de7); in saa7134_xc5000_callback()
7187 saa_andorl(SAA7134_AUDIO_PLL_CTRL >> 2, 0x03, 0x03); in saa7134_xc5000_callback()
7189 0x0001e000, 0x0001e000); in saa7134_xc5000_callback()
7192 return 0; in saa7134_xc5000_callback()
7201 case 0: /* switch LNA gain through GPIO 22*/ in saa7134_tda8290_827x_callback()
7205 saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80); in saa7134_tda8290_827x_callback()
7206 saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03); in saa7134_tda8290_827x_callback()
7213 saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00); in saa7134_tda8290_827x_callback()
7219 return 0; in saa7134_tda8290_827x_callback()
7228 saa7134_set_gpio(dev, 26, 0); in saa7134_tda18271_hvr11x0_toggle_agc()
7236 return 0; in saa7134_tda18271_hvr11x0_toggle_agc()
7245 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7246 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7250 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7251 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7253 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7254 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7260 return 0; in saa7134_kworld_sbtvd_toggle_agc()
7268 saa7134_set_gpio(dev, 18, 0); in saa7134_kworld_pc150u_toggle_agc()
7277 return 0; in saa7134_kworld_pc150u_toggle_agc()
7285 saa7134_set_gpio(dev, 10, 0); in saa7134_leadtek_hdtv200h_toggle_agc()
7293 return 0; in saa7134_leadtek_hdtv200h_toggle_agc()
7299 int ret = 0; in saa7134_tda8290_18271_callback()
7302 case TDA18271_CALLBACK_CMD_AGC_ENABLE: /* 0 */ in saa7134_tda8290_18271_callback()
7412 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0); in saa7134_board_init1()
7496 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80); in saa7134_board_init1()
7497 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40); in saa7134_board_init1()
7503 "%s: you try the audio_clock_override=0x200000 insmod option.\n", in saa7134_board_init1()
7508 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); in saa7134_board_init1()
7509 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000); in saa7134_board_init1()
7513 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80); in saa7134_board_init1()
7514 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80); in saa7134_board_init1()
7518 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); in saa7134_board_init1()
7519 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004); in saa7134_board_init1()
7523 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); in saa7134_board_init1()
7524 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06); in saa7134_board_init1()
7528 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000); in saa7134_board_init1()
7529 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000); in saa7134_board_init1()
7534 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0); in saa7134_board_init1()
7535 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0); in saa7134_board_init1()
7538 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff); in saa7134_board_init1()
7539 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff); in saa7134_board_init1()
7544 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000); in saa7134_board_init1()
7545 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0); in saa7134_board_init1()
7547 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000); in saa7134_board_init1()
7548 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0x08400000); in saa7134_board_init1()
7553 saa7134_set_gpio(dev, 23, 0); in saa7134_board_init1()
7559 saa7134_set_gpio(dev, 23, 0); in saa7134_board_init1()
7564 saa7134_set_gpio(dev, 21, 0); in saa7134_board_init1()
7572 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004); in saa7134_board_init1()
7573 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0); in saa7134_board_init1()
7576 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004); in saa7134_board_init1()
7577 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004); in saa7134_board_init1()
7585 * Make sure Production Test Register at offset 0x1D1 is cleared in saa7134_board_init1()
7591 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00); in saa7134_board_init1()
7597 saa7134_set_gpio(dev, 26, 0); in saa7134_board_init1()
7600 saa7134_set_gpio(dev, 22, 0); in saa7134_board_init1()
7638 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007); in saa7134_board_init1()
7639 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd); in saa7134_board_init1()
7644 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100); in saa7134_board_init1()
7645 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100); in saa7134_board_init1()
7660 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x0000C000, 0x0000C000); in saa7134_board_init1()
7661 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0000C000, 0x0000C000); in saa7134_board_init1()
7666 saa7134_set_gpio(dev, 1, 0); in saa7134_board_init1()
7673 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x0e050000, 0x0c050000); in saa7134_board_init1()
7674 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0e050000, 0x0c050000); in saa7134_board_init1()
7678 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00008000, 0x00008000); in saa7134_board_init1()
7679 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000); in saa7134_board_init1()
7682 return 0; in saa7134_board_init1()
7690 memset(&tun_setup, 0, sizeof(tun_setup)); in saa7134_tuner_setup()
7727 memset(&xc2028_cfg, 0, sizeof(xc2028_cfg)); in saa7134_tuner_setup()
7728 memset(&ctl, 0, sizeof(ctl)); in saa7134_tuner_setup()
7767 /* Checks if the device has a tuner at 0x60 addr in saa7134_board_init2()
7772 dev->i2c_client.addr = 0x60; in saa7134_board_init2()
7773 board = (i2c_master_recv(&dev->i2c_client, &buf, 0) < 0) in saa7134_board_init2()
7787 u8 data[3], data1[] = { 0x09, 0x9f, 0x86, 0x11}; in saa7134_board_init2()
7789 struct i2c_msg msg[] = {{.addr = 0x50, .flags = 0, .buf = &subaddr, .len = 1}, in saa7134_board_init2()
7790 {.addr = 0x50, .flags = I2C_M_RD, .buf = data, .len = 3}}, in saa7134_board_init2()
7791 msg1 = {.addr = 0x61, .flags = 0, .buf = data1, .len = sizeof(data1)}; in saa7134_board_init2()
7793 subaddr= 0x14; in saa7134_board_init2()
7794 tuner_t = 0; in saa7134_board_init2()
7802 } else if ((data[0] != 0) && (data[0] != 0xff)) { in saa7134_board_init2()
7804 subaddr = data[0] + 2; in saa7134_board_init2()
7807 tuner_t = (data[0] << 8) + data[1]; in saa7134_board_init2()
7809 case 0x0103: in saa7134_board_init2()
7812 case 0x010C: in saa7134_board_init2()
7819 } else if ((data[1] != 0) && (data[1] != 0xff)) { in saa7134_board_init2()
7824 subaddr = data[0] + 1; in saa7134_board_init2()
7827 tuner_t = (data[1] << 8) + data[0]; in saa7134_board_init2()
7829 case 0x0005: in saa7134_board_init2()
7832 case 0x001d: in saa7134_board_init2()
7859 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) { in saa7134_board_init2()
7878 u8 data[] = { 0x07, 0x02}; in saa7134_board_init2()
7879 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
7887 u8 data[] = { 0x3c, 0x33, 0x60}; in saa7134_board_init2()
7888 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
7889 if (dev->autodetected && (dev->eedata[0x49] == 0x50)) { in saa7134_board_init2()
7897 data[2] = 0x68; in saa7134_board_init2()
7906 if (dev->autodetected && (dev->eedata[0x27] == 0x03)) { in saa7134_board_init2()
7921 hauppauge_eeprom(dev, dev->eedata+0x80); in saa7134_board_init2()
7924 hauppauge_eeprom(dev, dev->eedata+0x80); in saa7134_board_init2()
7940 u8 data[] = { 0x3c, 0x33, 0x60}; in saa7134_board_init2()
7941 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
7947 u8 data[] = { 0x3c, 0x33, 0x60}; in saa7134_board_init2()
7948 struct i2c_msg msg = {.addr = 0x0b, .flags = 0, .buf = data, in saa7134_board_init2()
7955 u8 data[] = { 0x3c, 0x33, 0x60}; in saa7134_board_init2()
7956 struct i2c_msg msg = {.addr = 0x0b, .flags = 0, .buf = data, in saa7134_board_init2()
7963 u8 temp = 0; in saa7134_board_init2()
7965 u8 data[] = { 0x3c, 0x33, 0x62}; in saa7134_board_init2()
7966 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
7974 msg.addr = 0x0b; in saa7134_board_init2()
7982 pr_info("%s: probe IR chip @ i2c 0x%02x: %s\n", in saa7134_board_init2()
7994 u8 data[] = { 0x3c, 0x33, 0x6a}; in saa7134_board_init2()
7995 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
8003 u8 data[] = { 0x3c, 0x33, 0x68}; in saa7134_board_init2()
8004 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; in saa7134_board_init2()
8016 if (!dev->autodetected || (dev->eedata[0x41] == 0xd0)) in saa7134_board_init2()
8018 if (dev->eedata[0x41] == 0x02) { in saa7134_board_init2()
8027 dev->name, dev->eedata[0x41]); in saa7134_board_init2()
8034 struct i2c_msg msg = { .addr = 0x0a, .flags = 0 }; in saa7134_board_init2()
8037 { 0x10, 0x12 }, in saa7134_board_init2()
8038 { 0x13, 0x04 }, in saa7134_board_init2()
8039 { 0x16, 0x00 }, in saa7134_board_init2()
8040 { 0x14, 0x04 }, in saa7134_board_init2()
8041 { 0x17, 0x00 }, in saa7134_board_init2()
8044 for (i = 0; i < ARRAY_SIZE(buffer); i++) { in saa7134_board_init2()
8045 msg.buf = &buffer[i][0]; in saa7134_board_init2()
8046 msg.len = ARRAY_SIZE(buffer[0]); in saa7134_board_init2()
8055 u8 data[] = { 0x09, 0x9f, 0x86, 0x11}; in saa7134_board_init2()
8056 struct i2c_msg msg = {.addr = 0x61, .flags = 0, .buf = data, in saa7134_board_init2()
8070 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_board_init2()
8071 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_board_init2()
8073 saa7134_set_gpio(dev, 27, 0); in saa7134_board_init2()
8090 0, v4l2_i2c_tuner_addrs(ADDRS_DEMOD)); in saa7134_board_init2()
8097 0, v4l2_i2c_tuner_addrs(type)); in saa7134_board_init2()
8114 dev->i2c_client.addr = 0xC0; in saa7134_board_init2()
8116 memset(&ctl, 0, sizeof(ctl)); in saa7134_board_init2()
8125 return 0; in saa7134_board_init2()