Lines Matching +full:0 +full:xc5000
23 #include "xc5000.h"
39 "\t\t Default: 0 [Disabled]");
48 .clk_freq = 0,
51 .vmux = 0,
68 .vmux = 0,
69 .gpio0 = 0xff00,
72 .vmux = 0,
73 .gpio0 = 0xff01,
77 .gpio0 = 0xff02,
81 .gpio0 = 0xff02,
90 .tuner_addr = 0x42, /* 0x84 >> 1 */
98 .gpio0 = 0,
105 .gpio0 = 0,
113 .gpio0 = 0,
122 .tuner_addr = 0x42, /* 0x84 >> 1 */
133 .gpio0 = 0xff00,
141 .gpio0 = 0xff02,
149 .gpio0 = 0xff02,
165 .tuner_addr = 0x61, /* 0xc2 >> 1 */
171 .gpio0 = 0,
177 .gpio0 = 0,
184 .gpio0 = 0,
217 .tuner_addr = 0x61,
224 .gpio0 = 0x704040,
229 .gpio0 = 0x704040,
235 .gpio0 = 0x704040,
243 .gpio0 = 0x704040,
251 .tuner_addr = 0x61,
319 .tuner_addr = 0x42, /* 0x84 >> 1 */
348 .tuner_addr = 0x42, /* 0x84 >> 1 */
373 .tuner_addr = 0x61,
403 .tuner_addr = 0x61,
436 .tuner_addr = 0x42, /* 0x84 >> 1 */
477 .tuner_addr = 0x61,
502 .tuner_addr = 0x64,
510 .gpio0 = 0x02,
529 .tuner_addr = 0x64,
542 .gpio0 = 0,
547 .gpio0 = 0,
552 .gpio0 = 0,
557 .gpio0 = 0,
563 .tuner_addr = 0x61,
613 .tuner_addr = 0x60, /* 0xc0 >> 1 */
623 .tuner_addr = 0x61, /* 0xc2 >> 1 */
871 .subvendor = 0x0070,
872 .subdevice = 0x3400,
875 .subvendor = 0x0070,
876 .subdevice = 0x7600,
879 .subvendor = 0x0070,
880 .subdevice = 0x7800,
883 .subvendor = 0x0070,
884 .subdevice = 0x7801,
887 .subvendor = 0x0070,
888 .subdevice = 0x7809,
891 .subvendor = 0x0070,
892 .subdevice = 0x7911,
895 .subvendor = 0x18ac,
896 .subdevice = 0xd500,
899 .subvendor = 0x0070,
900 .subdevice = 0x7790,
903 .subvendor = 0x0070,
904 .subdevice = 0x7797,
907 .subvendor = 0x0070,
908 .subdevice = 0x7710,
911 .subvendor = 0x0070,
912 .subdevice = 0x7717,
915 .subvendor = 0x0070,
916 .subdevice = 0x71d1,
919 .subvendor = 0x0070,
920 .subdevice = 0x71d3,
923 .subvendor = 0x0070,
924 .subdevice = 0x8101,
927 .subvendor = 0x0070,
928 .subdevice = 0x8010,
931 .subvendor = 0x18ac,
932 .subdevice = 0xd618,
935 .subvendor = 0x18ac,
936 .subdevice = 0xdb78,
939 .subvendor = 0x107d,
940 .subdevice = 0x6681,
943 .subvendor = 0x107d,
944 .subdevice = 0x6f21,
947 .subvendor = 0x107d,
948 .subdevice = 0x6f39,
951 .subvendor = 0x185b,
952 .subdevice = 0xe800,
955 .subvendor = 0x6920,
956 .subdevice = 0x8888,
959 .subvendor = 0x6980,
960 .subdevice = 0x8888,
963 .subvendor = 0x6981,
964 .subdevice = 0x8888,
967 .subvendor = 0xd470,
968 .subdevice = 0x9022,
971 .subvendor = 0x0001,
972 .subdevice = 0x2005,
975 .subvendor = 0x1b55,
976 .subdevice = 0x2a2c,
979 .subvendor = 0x0070,
980 .subdevice = 0x2211,
983 .subvendor = 0x0070,
984 .subdevice = 0x2215,
987 .subvendor = 0x0070,
988 .subdevice = 0x221d,
991 .subvendor = 0x0070,
992 .subdevice = 0x2251,
995 .subvendor = 0x0070,
996 .subdevice = 0x2259,
999 .subvendor = 0x0070,
1000 .subdevice = 0x2291,
1003 .subvendor = 0x0070,
1004 .subdevice = 0x2295,
1007 .subvendor = 0x0070,
1008 .subdevice = 0x2299,
1011 .subvendor = 0x0070,
1012 .subdevice = 0x229d,
1015 .subvendor = 0x0070,
1016 .subdevice = 0x22f0,
1019 .subvendor = 0x0070,
1020 .subdevice = 0x22f1,
1023 .subvendor = 0x0070,
1024 .subdevice = 0x22f2,
1027 .subvendor = 0x0070,
1028 .subdevice = 0x22f3,
1031 .subvendor = 0x0070,
1032 .subdevice = 0x22f4,
1035 .subvendor = 0x0070,
1036 .subdevice = 0x22f5,
1039 .subvendor = 0x14f1,
1040 .subdevice = 0x8651,
1043 .subvendor = 0x14f1,
1044 .subdevice = 0x8657,
1047 .subvendor = 0x0070,
1048 .subdevice = 0x8541,
1051 .subvendor = 0x1858,
1052 .subdevice = 0xe800,
1055 .subvendor = 0x0070,
1056 .subdevice = 0x8551,
1059 .subvendor = 0x14f1,
1060 .subdevice = 0x8578,
1063 .subvendor = 0x107d,
1064 .subdevice = 0x6f22,
1067 .subvendor = 0x5654,
1068 .subdevice = 0x2390,
1071 .subvendor = 0x1b55,
1072 .subdevice = 0xe2e4,
1075 .subvendor = 0x14f1,
1076 .subdevice = 0x8502,
1079 .subvendor = 0x153b,
1080 .subdevice = 0x117e,
1083 .subvendor = 0xd471,
1084 .subdevice = 0x9022,
1087 .subvendor = 0x8000,
1088 .subdevice = 0x3034,
1091 .subvendor = 0x0070,
1092 .subdevice = 0xc108,
1095 .subvendor = 0x0070,
1096 .subdevice = 0xc138,
1099 .subvendor = 0x0070,
1100 .subdevice = 0xc12a,
1103 .subvendor = 0x0070,
1104 .subdevice = 0xc1f8,
1107 .subvendor = 0x1461,
1108 .subdevice = 0xd939,
1111 .subvendor = 0x0070,
1112 .subdevice = 0x7133,
1115 .subvendor = 0x0070,
1116 .subdevice = 0x7137,
1119 .subvendor = 0x18ac,
1120 .subdevice = 0xdb98,
1123 .subvendor = 0x4254,
1124 .subdevice = 0x9580,
1127 .subvendor = 0x4254,
1128 .subdevice = 0x980c,
1131 .subvendor = 0x4254,
1132 .subdevice = 0x950c,
1135 .subvendor = 0x13c2,
1136 .subdevice = 0x3013,
1139 .subvendor = 0x4254,
1140 .subdevice = 0x0950,
1143 .subvendor = 0x4254,
1144 .subdevice = 0x0952,
1147 .subvendor = 0x4254,
1148 .subdevice = 0x0982,
1151 .subvendor = 0x0070,
1152 .subdevice = 0xf038,
1155 .subvendor = 0x1576,
1156 .subdevice = 0x0260,
1159 .subvendor = 0x1576,
1160 .subdevice = 0x0460,
1163 .subvendor = 0x0070,
1164 .subdevice = 0x6a28,
1167 .subvendor = 0x0070,
1168 .subdevice = 0x6b28,
1171 .subvendor = 0x0070,
1172 .subdevice = 0x6a18,
1175 .subvendor = 0x0070,
1176 .subdevice = 0x6b18,
1179 .subvendor = 0x0070,
1180 .subdevice = 0x2a18,
1183 .subvendor = 0x0070,
1184 .subdevice = 0xf02a,
1187 .subvendor = 0x1461,
1188 .subdevice = 0x3100,
1198 if (0 == dev->pci->subsystem_vendor && in cx23885_card_list()
1199 0 == dev->pci->subsystem_device) { in cx23885_card_list()
1215 for (i = 0; i < cx23885_bcount; i++) in cx23885_card_list()
1224 /* The serial number record begins with tag 0x59 */ in viewcast_eeprom()
1225 if (*(eeprom_data + 0x00) != 0x59) { in viewcast_eeprom()
1231 sn = (*(eeprom_data + 0x06) << 24) | in viewcast_eeprom()
1232 (*(eeprom_data + 0x05) << 16) | in viewcast_eeprom()
1233 (*(eeprom_data + 0x04) << 8) | in viewcast_eeprom()
1234 (*(eeprom_data + 0x03)); in viewcast_eeprom()
1430 0xe0, 0x06, 0x66, 0x33, 0x65, in tbs_card_init()
1431 0x01, 0x17, 0x06, 0xde}; in tbs_card_init()
1436 cx_set(GP0_IO, 0x00070007); in tbs_card_init()
1440 for (i = 0; i < 9 * 8; i++) { in tbs_card_init()
1456 u32 bitmask = 0; in cx23885_tuner_callback()
1459 return 0; in cx23885_tuner_callback()
1461 if (command != 0) { in cx23885_tuner_callback()
1462 pr_err("%s(): Unknown command 0x%x.\n", in cx23885_tuner_callback()
1478 bitmask = 0x04; in cx23885_tuner_callback()
1486 bitmask = 0x01; in cx23885_tuner_callback()
1488 bitmask = 0x04; in cx23885_tuner_callback()
1492 bitmask = 0x02; in cx23885_tuner_callback()
1510 return 0; in cx23885_tuner_callback()
1517 /* GPIO-0 cx24227 demodulator reset */ in cx23885_gpio_setup()
1518 cx_set(GP0_IO, 0x00010001); /* Bring the part out of reset */ in cx23885_gpio_setup()
1521 /* GPIO-0 cx24227 demodulator */ in cx23885_gpio_setup()
1525 cx_set(GP0_IO, 0x00050000); in cx23885_gpio_setup()
1526 cx_clear(GP0_IO, 0x00000005); in cx23885_gpio_setup()
1530 cx_set(GP0_IO, 0x00050005); in cx23885_gpio_setup()
1533 /* GPIO-0 cx24227 demodulator reset */ in cx23885_gpio_setup()
1534 /* GPIO-2 xc5000 tuner reset */ in cx23885_gpio_setup()
1535 cx_set(GP0_IO, 0x00050005); /* Bring the part out of reset */ in cx23885_gpio_setup()
1538 /* GPIO-0 656_CLK */ in cx23885_gpio_setup()
1569 /* GPIO-0 tda10048 demodulator reset */ in cx23885_gpio_setup()
1573 cx_set(GP0_IO, 0x00050000); in cx23885_gpio_setup()
1575 cx_clear(GP0_IO, 0x00000005); in cx23885_gpio_setup()
1577 cx_set(GP0_IO, 0x00050005); in cx23885_gpio_setup()
1580 /* GPIO-0 TDA10048 demodulator reset */ in cx23885_gpio_setup()
1594 cx_set(GP0_IO, 0x00050000); in cx23885_gpio_setup()
1596 cx_clear(GP0_IO, 0x00000005); in cx23885_gpio_setup()
1598 cx_set(GP0_IO, 0x00050005); in cx23885_gpio_setup()
1601 /* GPIO-0 Dibcom7000p demodulator reset */ in cx23885_gpio_setup()
1606 cx_set(GP0_IO, 0x00050000); in cx23885_gpio_setup()
1608 cx_clear(GP0_IO, 0x00000005); in cx23885_gpio_setup()
1610 cx_set(GP0_IO, 0x00050005); in cx23885_gpio_setup()
1613 /* GPIO-0 xc5000 tuner reset i2c bus 0 */ in cx23885_gpio_setup()
1614 /* GPIO-1 s5h1409 demod reset i2c bus 0 */ in cx23885_gpio_setup()
1615 /* GPIO-2 xc5000 tuner reset i2c bus 1 */ in cx23885_gpio_setup()
1616 /* GPIO-3 s5h1409 demod reset i2c bus 0 */ in cx23885_gpio_setup()
1619 cx_set(GP0_IO, 0x000f0000); in cx23885_gpio_setup()
1621 cx_clear(GP0_IO, 0x0000000f); in cx23885_gpio_setup()
1623 cx_set(GP0_IO, 0x000f000f); in cx23885_gpio_setup()
1627 /* GPIO-0 portb xc3028 reset */ in cx23885_gpio_setup()
1633 cx_set(GP0_IO, 0x000f0000); in cx23885_gpio_setup()
1635 cx_clear(GP0_IO, 0x0000000f); in cx23885_gpio_setup()
1637 cx_set(GP0_IO, 0x000f000f); in cx23885_gpio_setup()
1651 cx_set(GP0_IO, 0x00040000); in cx23885_gpio_setup()
1653 cx_clear(GP0_IO, 0x00000004); in cx23885_gpio_setup()
1655 cx_set(GP0_IO, 0x00040004); in cx23885_gpio_setup()
1661 cx_write(MC417_CTL, 0x00000036); in cx23885_gpio_setup()
1662 cx_write(MC417_OEN, 0x00001000); in cx23885_gpio_setup()
1663 cx_set(MC417_RWD, 0x00000002); in cx23885_gpio_setup()
1665 cx_clear(MC417_RWD, 0x00000800); in cx23885_gpio_setup()
1667 cx_set(MC417_RWD, 0x00000800); in cx23885_gpio_setup()
1671 /* GPIO-0 INTA from CiMax1 in cx23885_gpio_setup()
1683 cx_set(GP0_IO, 0x00040000); /* GPIO as out */ in cx23885_gpio_setup()
1685 cx_clear(GP0_IO, 0x00030004); in cx23885_gpio_setup()
1687 cx_set(GP0_IO, 0x00040004); /* GPIO as out, reset high */ in cx23885_gpio_setup()
1688 cx_write(MC417_CTL, 0x00000037);/* enable GPIO3-18 pins */ in cx23885_gpio_setup()
1690 cx_write(MC417_OEN, 0x00001000); in cx23885_gpio_setup()
1692 cx_write(MC417_RWD, 0x0000c300); in cx23885_gpio_setup()
1694 cx_write(GPIO_ISM, 0x00000000);/* INTERRUPTS active low*/ in cx23885_gpio_setup()
1701 /* GPIO-5 RF Control: 0 = RF1 Terrestrial, 1 = RF2 Cable */ in cx23885_gpio_setup()
1715 /* GPIO-0 (0)Analog / (1)Digital TV */ in cx23885_gpio_setup()
1716 /* GPIO-1 reset XC5000 */ in cx23885_gpio_setup()
1725 /* GPIO-0 reset first ATBM8830 */ in cx23885_gpio_setup()
1735 /* GPIO-0 656_CLK */ in cx23885_gpio_setup()
1765 cx_set(GP0_IO, 0x00010001); /* Bring the part out of reset */ in cx23885_gpio_setup()
1768 /* GPIO-0 ~INT in in cx23885_gpio_setup()
1781 cx_set(GP0_IO, 0x00060000); /* GPIO-1,2 as out */ in cx23885_gpio_setup()
1782 /* GPIO-0 as INT, reset & TMS low */ in cx23885_gpio_setup()
1783 cx_clear(GP0_IO, 0x00010006); in cx23885_gpio_setup()
1785 cx_set(GP0_IO, 0x00000004); /* reset high */ in cx23885_gpio_setup()
1786 cx_write(MC417_CTL, 0x00000037);/* enable GPIO-3..18 pins */ in cx23885_gpio_setup()
1788 cx_write(MC417_OEN, 0x00005000); in cx23885_gpio_setup()
1790 cx_write(MC417_RWD, 0x00000d00); in cx23885_gpio_setup()
1792 cx_write(GPIO_ISM, 0x00000000);/* INTERRUPTS active low*/ in cx23885_gpio_setup()
1810 /* GPIO-0,1,2 setup direction as output */ in cx23885_gpio_setup()
1811 cx_set(GP0_IO, 0x00070000); in cx23885_gpio_setup()
1814 cx_set(GP0_IO, 0x00010001); in cx23885_gpio_setup()
1816 cx_clear(GP0_IO, 0x00010001); in cx23885_gpio_setup()
1818 cx_set(GP0_IO, 0x00010001); in cx23885_gpio_setup()
1821 cx_clear(GP0_IO, 0x00030003); in cx23885_gpio_setup()
1823 cx_set(GP0_IO, 0x00020002); in cx23885_gpio_setup()
1825 cx_set(GP0_IO, 0x00010001); in cx23885_gpio_setup()
1827 cx_clear(GP0_IO, 0x00020002); in cx23885_gpio_setup()
1829 cx_set(GP0_IO, 0x00040004); in cx23885_gpio_setup()
1830 cx_clear(GP0_IO, 0x00040004); in cx23885_gpio_setup()
1831 cx_set(GP0_IO, 0x00040004); in cx23885_gpio_setup()
1838 cx_write(MC417_CTL, 0x00000037); in cx23885_gpio_setup()
1848 * GPIO-0 INTA from CiMax, input in cx23885_gpio_setup()
1861 cx_set(GP0_IO, 0x00060002); /* GPIO 1/2 as output */ in cx23885_gpio_setup()
1862 cx_clear(GP0_IO, 0x00010004); /* GPIO 0 as input */ in cx23885_gpio_setup()
1864 cx_set(GP0_IO, 0x00060004); /* GPIO as out, reset high */ in cx23885_gpio_setup()
1865 cx_clear(GP0_IO, 0x00010002); in cx23885_gpio_setup()
1866 cx_write(MC417_CTL, 0x00000037); /* enable GPIO3-18 pins */ in cx23885_gpio_setup()
1869 cx_write(MC417_OEN, 0x00001000); in cx23885_gpio_setup()
1872 cx_write(MC417_RWD, 0x0000c300); in cx23885_gpio_setup()
1875 cx_write(GPIO_ISM, 0x00000000); /* INTERRUPTS active low */ in cx23885_gpio_setup()
1940 .value = 0, in cx23885_ir_init()
1946 .value = 0, in cx23885_ir_init()
1957 .value = 0, in cx23885_ir_init()
1964 int ret = 0; in cx23885_ir_init()
2082 int tdo = 0; in netup_jtag_io()
2085 data = ((cx_read(GP0_IO)) & (~0x00000002)); in netup_jtag_io()
2086 data |= (tms ? 0x00020002 : 0x00020000); in netup_jtag_io()
2090 data = ((cx_read(MC417_RWD)) & (~0x0000a000)); in netup_jtag_io()
2091 data |= (tdi ? 0x00008000 : 0); in netup_jtag_io()
2094 tdo = (data & 0x00004000) ? 1 : 0; /*TDO*/ in netup_jtag_io()
2096 cx_write(MC417_RWD, data | 0x00002000); in netup_jtag_io()
2139 if (dev->i2c_bus[0].i2c_rc == 0) { in cx23885_card_setup()
2140 dev->i2c_bus[0].i2c_client.addr = 0xa0 >> 1; in cx23885_card_setup()
2141 tveeprom_read(&dev->i2c_bus[0].i2c_client, in cx23885_card_setup()
2147 if (dev->i2c_bus[0].i2c_rc == 0) { in cx23885_card_setup()
2148 if (eeprom[0x80] != 0x84) in cx23885_card_setup()
2149 hauppauge_eeprom(dev, eeprom+0xc0); in cx23885_card_setup()
2151 hauppauge_eeprom(dev, eeprom+0x80); in cx23885_card_setup()
2157 if (dev->i2c_bus[0].i2c_rc == 0) in cx23885_card_setup()
2158 hauppauge_eeprom(dev, eeprom+0x80); in cx23885_card_setup()
2181 if (dev->i2c_bus[0].i2c_rc == 0) in cx23885_card_setup()
2182 hauppauge_eeprom(dev, eeprom+0xc0); in cx23885_card_setup()
2186 dev->i2c_bus[1].i2c_client.addr = 0xa0 >> 1; in cx23885_card_setup()
2189 if (dev->i2c_bus[0].i2c_rc == 0) in cx23885_card_setup()
2197 ts1->gen_ctrl_val = 0x4; /* Parallel */ in cx23885_card_setup()
2198 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2202 ts2->gen_ctrl_val = 0x10e; in cx23885_card_setup()
2203 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2209 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2210 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2214 ts1->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2215 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2222 ts1->gen_ctrl_val = 0x10e; in cx23885_card_setup()
2223 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2227 ts1->vld_misc_val = 0x2000; in cx23885_card_setup()
2228 ts1->hw_sop_ctrl_val = (0x47 << 16 | 188 << 4 | 0xc); in cx23885_card_setup()
2229 cx_write(0x130184, 0xc); in cx23885_card_setup()
2232 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2233 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2237 ts1->gen_ctrl_val = 0x4; /* Parallel */ in cx23885_card_setup()
2238 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2249 ts1->gen_ctrl_val = 0x5; /* Parallel */ in cx23885_card_setup()
2250 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2256 ts1->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2257 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2259 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2260 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2265 ts1->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2266 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2268 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2269 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2276 ts1->gen_ctrl_val = 0x5; /* Parallel */ in cx23885_card_setup()
2277 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2281 ts1->gen_ctrl_val = 0x5; /* Parallel */ in cx23885_card_setup()
2282 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2284 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2285 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2289 ts1->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2290 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2292 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2293 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2297 ts1->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2298 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2303 ts1->gen_ctrl_val = 0x5; /* Parallel */ in cx23885_card_setup()
2304 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2306 ts2->gen_ctrl_val = 0x8; /* Serial bus */ in cx23885_card_setup()
2307 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2311 ts1->gen_ctrl_val = 0x5; /* Parallel */ in cx23885_card_setup()
2312 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2314 ts2->gen_ctrl_val = 0xe; /* Serial bus */ in cx23885_card_setup()
2315 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2320 ts1->gen_ctrl_val = 0x5; /* Parallel */ in cx23885_card_setup()
2321 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2323 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2324 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2332 ts1->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2333 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2335 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2336 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2360 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2361 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2418 "cx25840", 0x88 >> 1, NULL); in cx23885_card_setup()
2433 &dev->i2c_bus[0].i2c_adap, in cx23885_card_setup()
2434 "cs3308", 0x82 >> 1, NULL); in cx23885_card_setup()
2439 &dev->i2c_bus[0].i2c_adap, in cx23885_card_setup()
2440 "cs3308", 0x80 >> 1, NULL); in cx23885_card_setup()
2443 &dev->i2c_bus[0].i2c_adap, in cx23885_card_setup()
2444 "cs3308", 0x82 >> 1, NULL); in cx23885_card_setup()
2467 netup_get_card_info(&dev->i2c_bus[0].i2c_adap, &cinfo); in cx23885_card_setup()
2472 case 0x4: in cx23885_card_setup()
2479 pr_info("NetUP card rev=0x%x fw_filename=%s\n", in cx23885_card_setup()
2483 if (ret != 0) in cx23885_card_setup()