Searched refs:MXL_ControlWrite (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/media/tuners/
H A Dmxl5005s.c299 static u16 MXL_ControlWrite(struct dvb_frontend *fe, u16 ControlNum, u32 value);
363 MXL_ControlWrite(fe, SEQ_FSM_PULSE, 0); mxl5005s_SetRfFreqHz()
364 MXL_ControlWrite(fe, SEQ_EXTPOWERUP, 1); mxl5005s_SetRfFreqHz()
365 MXL_ControlWrite(fe, IF_DIVVAL, 8); mxl5005s_SetRfFreqHz()
380 MXL_ControlWrite(fe, SEQ_FSM_PULSE, 1); mxl5005s_SetRfFreqHz()
381 MXL_ControlWrite(fe, IF_DIVVAL, IfDivval); mxl5005s_SetRfFreqHz()
1758 status += MXL_ControlWrite(fe, OVERRIDE_1, 1); MXL_OverwriteICDefault()
1759 status += MXL_ControlWrite(fe, OVERRIDE_2, 1); MXL_OverwriteICDefault()
1760 status += MXL_ControlWrite(fe, OVERRIDE_3, 1); MXL_OverwriteICDefault()
1761 status += MXL_ControlWrite(fe, OVERRIDE_4, 1); MXL_OverwriteICDefault()
1774 status += MXL_ControlWrite(fe, DN_IQTN_AMP_CUT, state->Mode ? 1 : 0); MXL_BlockInit()
1777 status += MXL_ControlWrite(fe, BB_MODE, state->Mode ? 0 : 1); MXL_BlockInit()
1778 status += MXL_ControlWrite(fe, BB_BUF, state->Mode ? 3 : 2); MXL_BlockInit()
1779 status += MXL_ControlWrite(fe, BB_BUF_OA, state->Mode ? 1 : 0); MXL_BlockInit()
1780 status += MXL_ControlWrite(fe, BB_IQSWAP, state->Mode ? 0 : 1); MXL_BlockInit()
1781 status += MXL_ControlWrite(fe, BB_INITSTATE_DLPF_TUNE, 0); MXL_BlockInit()
1787 status += MXL_ControlWrite(fe, BB_DLPF_BANDSEL, 0); MXL_BlockInit()
1790 status += MXL_ControlWrite(fe, BB_DLPF_BANDSEL, 2); MXL_BlockInit()
1793 status += MXL_ControlWrite(fe, MXL_BlockInit()
1800 status += MXL_ControlWrite(fe, BB_ALPF_BANDSELECT, MXL_BlockInit()
1804 status += MXL_ControlWrite(fe, BB_ALPF_BANDSELECT, MXL_BlockInit()
1808 status += MXL_ControlWrite(fe, BB_ALPF_BANDSELECT, MXL_BlockInit()
1815 status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, state->Mode ? 5 : 8); MXL_BlockInit()
1816 status += MXL_ControlWrite(fe, MXL_BlockInit()
1818 status += MXL_ControlWrite(fe, EN_CHP_LIN_B, state->Mode ? 0 : 0); MXL_BlockInit()
1822 status += MXL_ControlWrite(fe, AGC_IF, 15); MXL_BlockInit()
1823 status += MXL_ControlWrite(fe, AGC_RF, 15); MXL_BlockInit()
1825 status += MXL_ControlWrite(fe, AGC_RF, state->Mode ? 15 : 12); MXL_BlockInit()
1828 status += MXL_ControlWrite(fe, AGC_IF, 0x0); MXL_BlockInit()
1831 status += MXL_ControlWrite(fe, AGC_IF, 0x1); MXL_BlockInit()
1834 status += MXL_ControlWrite(fe, AGC_IF, 0x2); MXL_BlockInit()
1837 status += MXL_ControlWrite(fe, AGC_IF, 0x3); MXL_BlockInit()
1840 status += MXL_ControlWrite(fe, AGC_IF, 0x4); MXL_BlockInit()
1843 status += MXL_ControlWrite(fe, AGC_IF, 0x5); MXL_BlockInit()
1846 status += MXL_ControlWrite(fe, AGC_IF, 0x6); MXL_BlockInit()
1849 status += MXL_ControlWrite(fe, AGC_IF, 0x7); MXL_BlockInit()
1852 status += MXL_ControlWrite(fe, AGC_IF, 0x9); MXL_BlockInit()
1855 status += MXL_ControlWrite(fe, AGC_IF, 0xA); MXL_BlockInit()
1858 status += MXL_ControlWrite(fe, AGC_IF, 0xB); MXL_BlockInit()
1861 status += MXL_ControlWrite(fe, AGC_IF, 0xC); MXL_BlockInit()
1864 status += MXL_ControlWrite(fe, AGC_IF, 0xD); MXL_BlockInit()
1867 status += MXL_ControlWrite(fe, AGC_IF, 0xE); MXL_BlockInit()
1870 status += MXL_ControlWrite(fe, AGC_IF, 0xF); MXL_BlockInit()
1877 status += MXL_ControlWrite(fe, DRV_RES_SEL, 6); MXL_BlockInit()
1878 status += MXL_ControlWrite(fe, I_DRIVER, 2); MXL_BlockInit()
1881 status += MXL_ControlWrite(fe, DRV_RES_SEL, 4); MXL_BlockInit()
1882 status += MXL_ControlWrite(fe, I_DRIVER, 1); MXL_BlockInit()
1890 status += MXL_ControlWrite(fe, EN_AAF, 1); MXL_BlockInit()
1891 status += MXL_ControlWrite(fe, EN_3P, 1); MXL_BlockInit()
1892 status += MXL_ControlWrite(fe, EN_AUX_3P, 1); MXL_BlockInit()
1893 status += MXL_ControlWrite(fe, SEL_AAF_BAND, 0); MXL_BlockInit()
1897 status += MXL_ControlWrite(fe, EN_AAF, 1); MXL_BlockInit()
1898 status += MXL_ControlWrite(fe, EN_3P, 1); MXL_BlockInit()
1899 status += MXL_ControlWrite(fe, EN_AUX_3P, 1); MXL_BlockInit()
1900 status += MXL_ControlWrite(fe, SEL_AAF_BAND, 1); MXL_BlockInit()
1903 status += MXL_ControlWrite(fe, EN_AAF, 0); MXL_BlockInit()
1904 status += MXL_ControlWrite(fe, EN_3P, 1); MXL_BlockInit()
1905 status += MXL_ControlWrite(fe, EN_AUX_3P, 1); MXL_BlockInit()
1906 status += MXL_ControlWrite(fe, SEL_AAF_BAND, 1); MXL_BlockInit()
1910 status += MXL_ControlWrite(fe, EN_AAF, 1); MXL_BlockInit()
1911 status += MXL_ControlWrite(fe, EN_3P, 1); MXL_BlockInit()
1912 status += MXL_ControlWrite(fe, EN_AUX_3P, 1); MXL_BlockInit()
1913 status += MXL_ControlWrite(fe, SEL_AAF_BAND, 0); MXL_BlockInit()
1916 status += MXL_ControlWrite(fe, EN_AAF, 0); MXL_BlockInit()
1917 status += MXL_ControlWrite(fe, EN_3P, 0); MXL_BlockInit()
1918 status += MXL_ControlWrite(fe, EN_AUX_3P, 0); MXL_BlockInit()
1919 status += MXL_ControlWrite(fe, SEL_AAF_BAND, 0); MXL_BlockInit()
1925 status += MXL_ControlWrite(fe, SEQ_ENCLK16_CLK_OUT, 1); MXL_BlockInit()
1927 status += MXL_ControlWrite(fe, SEQ_ENCLK16_CLK_OUT, 0); MXL_BlockInit()
1930 status += MXL_ControlWrite(fe, SEQ_SEL4_16B, 1); MXL_BlockInit()
1932 status += MXL_ControlWrite(fe, SEQ_SEL4_16B, 0); MXL_BlockInit()
1936 status += MXL_ControlWrite(fe, XTAL_CAPSELECT, 1); MXL_BlockInit()
1938 status += MXL_ControlWrite(fe, XTAL_CAPSELECT, 0); MXL_BlockInit()
1941 status += MXL_ControlWrite(fe, IF_SEL_DBL, 1); MXL_BlockInit()
1943 status += MXL_ControlWrite(fe, IF_SEL_DBL, 0); MXL_BlockInit()
1946 status += MXL_ControlWrite(fe, RFSYN_R_DIV, 3); MXL_BlockInit()
1948 status += MXL_ControlWrite(fe, RFSYN_R_DIV, 0); MXL_BlockInit()
1952 status += MXL_ControlWrite(fe, SEQ_EXTIQFSMPULSE, 0); MXL_BlockInit()
1954 status += MXL_ControlWrite(fe, SEQ_EXTIQFSMPULSE, 1); MXL_BlockInit()
1959 status += MXL_ControlWrite(fe, TG_R_DIV, MXL_BlockInit()
1966 status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); MXL_BlockInit()
1967 status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); MXL_BlockInit()
1968 status += MXL_ControlWrite(fe, AGC_EN_RSSI, 1); MXL_BlockInit()
1969 status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); MXL_BlockInit()
1972 status += MXL_ControlWrite(fe, RFA_RSSI_REF, 2); MXL_BlockInit()
1973 status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 3); MXL_BlockInit()
1974 status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 1); MXL_BlockInit()
1977 status += MXL_ControlWrite(fe, RFA_FLR, 0); MXL_BlockInit()
1978 status += MXL_ControlWrite(fe, RFA_CEIL, 12); MXL_BlockInit()
1988 status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); MXL_BlockInit()
1989 status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); MXL_BlockInit()
1990 status += MXL_ControlWrite(fe, AGC_EN_RSSI, 1); MXL_BlockInit()
1991 status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); MXL_BlockInit()
1994 status += MXL_ControlWrite(fe, RFA_RSSI_REF, 3); MXL_BlockInit()
1995 status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 5); MXL_BlockInit()
1996 status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 1); MXL_BlockInit()
1999 status += MXL_ControlWrite(fe, RFA_FLR, 2); MXL_BlockInit()
2000 status += MXL_ControlWrite(fe, RFA_CEIL, 13); MXL_BlockInit()
2002 status += MXL_ControlWrite(fe, BB_IQSWAP, 0); MXL_BlockInit()
2004 status += MXL_ControlWrite(fe, BB_IQSWAP, 1); MXL_BlockInit()
2011 status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); MXL_BlockInit()
2012 status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); MXL_BlockInit()
2013 status += MXL_ControlWrite(fe, AGC_EN_RSSI, 1); MXL_BlockInit()
2014 status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); MXL_BlockInit()
2017 status += MXL_ControlWrite(fe, RFA_RSSI_REF, 2); MXL_BlockInit()
2018 status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 4); MXL_BlockInit()
2019 status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 1); MXL_BlockInit()
2022 status += MXL_ControlWrite(fe, RFA_FLR, 2); MXL_BlockInit()
2023 status += MXL_ControlWrite(fe, RFA_CEIL, 13); MXL_BlockInit()
2024 status += MXL_ControlWrite(fe, BB_INITSTATE_DLPF_TUNE, 1); MXL_BlockInit()
2026 status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 5); MXL_BlockInit()
2029 status += MXL_ControlWrite(fe, BB_IQSWAP, 0); MXL_BlockInit()
2031 status += MXL_ControlWrite(fe, BB_IQSWAP, 1); MXL_BlockInit()
2039 status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); MXL_BlockInit()
2040 status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); MXL_BlockInit()
2041 status += MXL_ControlWrite(fe, AGC_EN_RSSI, 0); MXL_BlockInit()
2042 status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); MXL_BlockInit()
2045 status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 5); MXL_BlockInit()
2046 status += MXL_ControlWrite(fe, RFA_RSSI_REF, 3); MXL_BlockInit()
2047 status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 2); MXL_BlockInit()
2049 status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 3); MXL_BlockInit()
2052 status += MXL_ControlWrite(fe, BB_IQSWAP, 0); MXL_BlockInit()
2054 status += MXL_ControlWrite(fe, BB_IQSWAP, 1); MXL_BlockInit()
2055 status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 2); MXL_BlockInit()
2065 status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); MXL_BlockInit()
2066 status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); MXL_BlockInit()
2067 status += MXL_ControlWrite(fe, AGC_EN_RSSI, 0); MXL_BlockInit()
2068 status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); MXL_BlockInit()
2070 status += MXL_ControlWrite(fe, AGC_IF, 1); MXL_BlockInit()
2071 status += MXL_ControlWrite(fe, AGC_RF, 15); MXL_BlockInit()
2072 status += MXL_ControlWrite(fe, BB_IQSWAP, 1); MXL_BlockInit()
2080 status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); MXL_BlockInit()
2081 status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); MXL_BlockInit()
2082 status += MXL_ControlWrite(fe, AGC_EN_RSSI, 1); MXL_BlockInit()
2083 status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); MXL_BlockInit()
2086 status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 5); MXL_BlockInit()
2087 status += MXL_ControlWrite(fe, RFA_RSSI_REF, 3); MXL_BlockInit()
2088 status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 2); MXL_BlockInit()
2089 status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 3); MXL_BlockInit()
2090 status += MXL_ControlWrite(fe, BB_IQSWAP, 1); MXL_BlockInit()
2095 status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); MXL_BlockInit()
2096 status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); MXL_BlockInit()
2097 status += MXL_ControlWrite(fe, AGC_EN_RSSI, 0); MXL_BlockInit()
2098 status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); MXL_BlockInit()
2121 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); MXL_IFSynthInit()
2122 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); MXL_IFSynthInit()
2126 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); MXL_IFSynthInit()
2127 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2131 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x10); MXL_IFSynthInit()
2132 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); MXL_IFSynthInit()
2136 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x10); MXL_IFSynthInit()
2137 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2141 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); MXL_IFSynthInit()
2142 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); MXL_IFSynthInit()
2146 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); MXL_IFSynthInit()
2147 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); MXL_IFSynthInit()
2151 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); MXL_IFSynthInit()
2152 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); MXL_IFSynthInit()
2156 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); MXL_IFSynthInit()
2157 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); MXL_IFSynthInit()
2164 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x10); MXL_IFSynthInit()
2165 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2169 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); MXL_IFSynthInit()
2170 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2174 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); MXL_IFSynthInit()
2175 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2179 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); MXL_IFSynthInit()
2180 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2184 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); MXL_IFSynthInit()
2185 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2189 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); MXL_IFSynthInit()
2190 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2194 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); MXL_IFSynthInit()
2195 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2199 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); MXL_IFSynthInit()
2200 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2204 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x07); MXL_IFSynthInit()
2205 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2209 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x09); MXL_IFSynthInit()
2210 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2214 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x06); MXL_IFSynthInit()
2215 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2219 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x06); MXL_IFSynthInit()
2220 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2224 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x05); MXL_IFSynthInit()
2225 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2229 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x10); MXL_IFSynthInit()
2230 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2234 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); MXL_IFSynthInit()
2235 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2239 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); MXL_IFSynthInit()
2240 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2244 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); MXL_IFSynthInit()
2245 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2249 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); MXL_IFSynthInit()
2250 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2254 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); MXL_IFSynthInit()
2255 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2259 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x07); MXL_IFSynthInit()
2260 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2264 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x07); MXL_IFSynthInit()
2265 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); MXL_IFSynthInit()
2269 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x07); MXL_IFSynthInit()
2270 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); MXL_IFSynthInit()
2274 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x09); MXL_IFSynthInit()
2275 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2279 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x09); MXL_IFSynthInit()
2280 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2284 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x06); MXL_IFSynthInit()
2285 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2289 status += MXL_ControlWrite(fe, IF_DIVVAL, 0x05); MXL_IFSynthInit()
2290 status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); MXL_IFSynthInit()
2297 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_IF, intModVal); MXL_IFSynthInit()
2303 status += MXL_ControlWrite(fe, CHCAL_FRAC_MOD_IF, fracModVal); MXL_IFSynthInit()
2343 status += MXL_ControlWrite(fe, DN_POLY, 2); MXL_TuneRF()
2344 status += MXL_ControlWrite(fe, DN_RFGAIN, 3); MXL_TuneRF()
2345 status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 423); MXL_TuneRF()
2346 status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 1); MXL_TuneRF()
2347 status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 1); MXL_TuneRF()
2350 status += MXL_ControlWrite(fe, DN_POLY, 3); MXL_TuneRF()
2351 status += MXL_ControlWrite(fe, DN_RFGAIN, 3); MXL_TuneRF()
2352 status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 222); MXL_TuneRF()
2353 status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 1); MXL_TuneRF()
2354 status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 1); MXL_TuneRF()
2357 status += MXL_ControlWrite(fe, DN_POLY, 3); MXL_TuneRF()
2358 status += MXL_ControlWrite(fe, DN_RFGAIN, 3); MXL_TuneRF()
2359 status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 147); MXL_TuneRF()
2360 status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 1); MXL_TuneRF()
2361 status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 2); MXL_TuneRF()
2364 status += MXL_ControlWrite(fe, DN_POLY, 3); MXL_TuneRF()
2365 status += MXL_ControlWrite(fe, DN_RFGAIN, 3); MXL_TuneRF()
2366 status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 9); MXL_TuneRF()
2367 status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 1); MXL_TuneRF()
2368 status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 2); MXL_TuneRF()
2371 status += MXL_ControlWrite(fe, DN_POLY, 3); MXL_TuneRF()
2372 status += MXL_ControlWrite(fe, DN_RFGAIN, 3); MXL_TuneRF()
2373 status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 0); MXL_TuneRF()
2374 status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 1); MXL_TuneRF()
2375 status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 3); MXL_TuneRF()
2378 status += MXL_ControlWrite(fe, DN_POLY, 3); MXL_TuneRF()
2379 status += MXL_ControlWrite(fe, DN_RFGAIN, 1); MXL_TuneRF()
2380 status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 0); MXL_TuneRF()
2381 status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 0); MXL_TuneRF()
2382 status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 3); MXL_TuneRF()
2385 status += MXL_ControlWrite(fe, DN_POLY, 3); MXL_TuneRF()
2386 status += MXL_ControlWrite(fe, DN_RFGAIN, 2); MXL_TuneRF()
2387 status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 0); MXL_TuneRF()
2388 status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 0); MXL_TuneRF()
2389 status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 3); MXL_TuneRF()
2397 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2398 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2401 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2402 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2405 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2406 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2409 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2410 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2413 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2414 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2417 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2418 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2421 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2422 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2425 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2426 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2429 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2430 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2433 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2434 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2437 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2438 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2441 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2442 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2445 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2446 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2449 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); MXL_TuneRF()
2450 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); MXL_TuneRF()
2453 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 10); MXL_TuneRF()
2454 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 1); MXL_TuneRF()
2457 status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 10); MXL_TuneRF()
2458 status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 1); MXL_TuneRF()
2477 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 1); MXL_TuneRF()
2478 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 0); MXL_TuneRF()
2479 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_TuneRF()
2480 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_TuneRF()
2481 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_TuneRF()
2482 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 1); MXL_TuneRF()
2490 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 1); MXL_TuneRF()
2491 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 0); MXL_TuneRF()
2492 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_TuneRF()
2493 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_TuneRF()
2494 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_TuneRF()
2495 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 1); MXL_TuneRF()
2503 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); MXL_TuneRF()
2504 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); MXL_TuneRF()
2505 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_TuneRF()
2506 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_TuneRF()
2507 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_TuneRF()
2508 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 1); MXL_TuneRF()
2516 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); MXL_TuneRF()
2517 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); MXL_TuneRF()
2518 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_TuneRF()
2519 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_TuneRF()
2520 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_TuneRF()
2521 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 1); MXL_TuneRF()
2529 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); MXL_TuneRF()
2530 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); MXL_TuneRF()
2531 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_TuneRF()
2532 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_TuneRF()
2533 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_TuneRF()
2534 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 2); MXL_TuneRF()
2542 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); MXL_TuneRF()
2543 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); MXL_TuneRF()
2544 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_TuneRF()
2545 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_TuneRF()
2546 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_TuneRF()
2547 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 2); MXL_TuneRF()
2555 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); MXL_TuneRF()
2556 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); MXL_TuneRF()
2557 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_TuneRF()
2558 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_TuneRF()
2559 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_TuneRF()
2560 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 4); MXL_TuneRF()
2568 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 1); MXL_TuneRF()
2569 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 0); MXL_TuneRF()
2570 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_TuneRF()
2571 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_TuneRF()
2572 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_TuneRF()
2573 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); MXL_TuneRF()
2581 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 1); MXL_TuneRF()
2582 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 0); MXL_TuneRF()
2583 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_TuneRF()
2584 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_TuneRF()
2585 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 2); MXL_TuneRF()
2586 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); MXL_TuneRF()
2594 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); MXL_TuneRF()
2595 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); MXL_TuneRF()
2596 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_TuneRF()
2597 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 1); MXL_TuneRF()
2598 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_TuneRF()
2599 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); MXL_TuneRF()
2607 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); MXL_TuneRF()
2608 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); MXL_TuneRF()
2609 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_TuneRF()
2610 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 1); MXL_TuneRF()
2611 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_TuneRF()
2612 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); MXL_TuneRF()
2625 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, E3); MXL_TuneRF()
2629 MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, E4); MXL_TuneRF()
2636 status += MXL_ControlWrite(fe, CHCAL_FRAC_MOD_RF, E5); MXL_TuneRF()
2640 status += MXL_ControlWrite(fe, RFSYN_LPF_R, E5A); MXL_TuneRF()
2643 status += MXL_ControlWrite(fe, CHCAL_EN_INT_RF, ((E5 == 0) ? 1 : 0)); MXL_TuneRF()
2645 * status += MXL_ControlWrite(fe, CHCAL_EN_INT_RF, 1); MXL_TuneRF()
2647 * status += MXL_ControlWrite(fe, CHCAL_FRAC_MOD_RF, E5); MXL_TuneRF()
2665 status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x6); MXL_TuneRF()
2666 status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x0); MXL_TuneRF()
2674 status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x1); MXL_TuneRF()
2675 status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x0); MXL_TuneRF()
2683 status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0xC); MXL_TuneRF()
2684 status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x2); MXL_TuneRF()
2692 status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x8); MXL_TuneRF()
2693 status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x2); MXL_TuneRF()
2701 status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x0); MXL_TuneRF()
2702 status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x2); MXL_TuneRF()
2710 status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x8); MXL_TuneRF()
2711 status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x3); MXL_TuneRF()
2719 status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x0); MXL_TuneRF()
2720 status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x3); MXL_TuneRF()
2728 status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x8); MXL_TuneRF()
2729 status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x7); MXL_TuneRF()
2737 status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x0); MXL_TuneRF()
2738 status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x7); MXL_TuneRF()
2749 status += MXL_ControlWrite(fe, TG_DIV_VAL, tg_divval); MXL_TuneRF()
2752 status += MXL_ControlWrite(fe, TG_DIV_VAL, tg_divval + 1); MXL_TuneRF()
2785 status += MXL_ControlWrite(fe, TG_VCO_BIAS , tg_lo); MXL_TuneRF()
2790 status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, MXL_TuneRF()
2793 status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 3); MXL_TuneRF()
2795 status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 2); MXL_TuneRF()
2801 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
2802 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
2809 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
2810 status += MXL_ControlWrite(fe, DAC_DIN_A, 0); MXL_TuneRF()
2813 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
2814 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
2820 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
2821 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
2827 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
2828 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
2834 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
2835 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
2841 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
2842 status += MXL_ControlWrite(fe, DAC_DIN_B, 29); MXL_TuneRF()
2848 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
2849 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
2855 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
2856 status += MXL_ControlWrite(fe, DAC_DIN_B, 16); MXL_TuneRF()
2862 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
2863 status += MXL_ControlWrite(fe, DAC_DIN_B, 7); MXL_TuneRF()
2869 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
2870 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
2880 status += MXL_ControlWrite(fe, DAC_DIN_A, 0); MXL_TuneRF()
2883 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
2889 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
2895 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
2901 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
2907 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
2913 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
2919 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
2925 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
2931 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
2940 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
2943 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
2949 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
2955 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
2961 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
2967 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
2973 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
2979 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
2989 status += MXL_ControlWrite(fe, DAC_DIN_A, 0); MXL_TuneRF()
2998 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
2999 status += MXL_ControlWrite(fe, AGC_IF, 10); MXL_TuneRF()
3005 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
3012 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
3019 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
3026 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
3033 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
3040 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
3047 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); MXL_TuneRF()
3054 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
3061 status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); MXL_TuneRF()
3071 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
3074 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3080 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3086 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3092 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3098 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3104 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
3110 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
3120 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
3123 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3129 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3135 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3141 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3147 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3153 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
3159 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
3169 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
3172 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3178 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3184 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3190 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3196 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3202 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
3208 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
3218 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
3222 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3228 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3234 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3240 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3246 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
3252 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3258 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
3264 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
3274 status += MXL_ControlWrite(fe, DAC_DIN_B, 0); MXL_TuneRF()
3284 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3287 status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); MXL_TuneRF()
3288 status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); MXL_TuneRF()
3289 status += MXL_ControlWrite(fe, AGC_EN_RSSI, 1); MXL_TuneRF()
3290 status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); MXL_TuneRF()
3293 status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 5); MXL_TuneRF()
3294 status += MXL_ControlWrite(fe, RFA_RSSI_REF, 3); MXL_TuneRF()
3295 status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 2); MXL_TuneRF()
3299 status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 3); MXL_TuneRF()
3304 status += MXL_ControlWrite(fe, AGC_EN_RSSI, 0); MXL_TuneRF()
3307 status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 5); MXL_TuneRF()
3312 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3318 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3324 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3330 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3336 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); MXL_TuneRF()
3342 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
3348 status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); MXL_TuneRF()
3363 status += MXL_ControlWrite(fe, GPIO_1B, GPIO_Val ? 0 : 1); MXL_SetGPIO()
3369 status += MXL_ControlWrite(fe, GPIO_3, 0); MXL_SetGPIO()
3370 status += MXL_ControlWrite(fe, GPIO_3B, 0); MXL_SetGPIO()
3373 status += MXL_ControlWrite(fe, GPIO_3, 1); MXL_SetGPIO()
3374 status += MXL_ControlWrite(fe, GPIO_3B, 1); MXL_SetGPIO()
3377 status += MXL_ControlWrite(fe, GPIO_3, 0); MXL_SetGPIO()
3378 status += MXL_ControlWrite(fe, GPIO_3B, 1); MXL_SetGPIO()
3383 status += MXL_ControlWrite(fe, GPIO_4, 0); MXL_SetGPIO()
3384 status += MXL_ControlWrite(fe, GPIO_4B, 0); MXL_SetGPIO()
3387 status += MXL_ControlWrite(fe, GPIO_4, 1); MXL_SetGPIO()
3388 status += MXL_ControlWrite(fe, GPIO_4B, 1); MXL_SetGPIO()
3391 status += MXL_ControlWrite(fe, GPIO_4, 0); MXL_SetGPIO()
3392 status += MXL_ControlWrite(fe, GPIO_4B, 1); MXL_SetGPIO()
3399 static u16 MXL_ControlWrite(struct dvb_frontend *fe, u16 ControlNum, u32 value) MXL_ControlWrite() function
3682 status += MXL_ControlWrite(fe, RFSYN_EN_DIV, 1); MXL_VCORange_Test()
3683 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); MXL_VCORange_Test()
3684 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_VCORange_Test()
3685 status += MXL_ControlWrite(fe, RFSYN_DIVM, 1); MXL_VCORange_Test()
3686 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); MXL_VCORange_Test()
3687 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_VCORange_Test()
3688 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); MXL_VCORange_Test()
3691 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_VCORange_Test()
3692 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); MXL_VCORange_Test()
3693 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 56); MXL_VCORange_Test()
3694 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3699 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_VCORange_Test()
3700 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); MXL_VCORange_Test()
3701 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 56); MXL_VCORange_Test()
3702 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3706 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_VCORange_Test()
3707 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); MXL_VCORange_Test()
3708 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 56); MXL_VCORange_Test()
3709 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3715 status += MXL_ControlWrite(fe, RFSYN_EN_DIV, 1); MXL_VCORange_Test()
3716 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); MXL_VCORange_Test()
3717 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_VCORange_Test()
3718 status += MXL_ControlWrite(fe, RFSYN_DIVM, 1); MXL_VCORange_Test()
3719 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); MXL_VCORange_Test()
3720 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_VCORange_Test()
3721 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); MXL_VCORange_Test()
3722 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_VCORange_Test()
3723 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); MXL_VCORange_Test()
3724 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 41); MXL_VCORange_Test()
3727 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_VCORange_Test()
3728 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); MXL_VCORange_Test()
3729 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 42); MXL_VCORange_Test()
3730 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3735 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_VCORange_Test()
3736 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); MXL_VCORange_Test()
3737 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 42); MXL_VCORange_Test()
3738 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3742 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); MXL_VCORange_Test()
3743 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); MXL_VCORange_Test()
3744 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 41); MXL_VCORange_Test()
3745 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3751 status += MXL_ControlWrite(fe, RFSYN_EN_DIV, 1); MXL_VCORange_Test()
3752 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); MXL_VCORange_Test()
3753 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_VCORange_Test()
3754 status += MXL_ControlWrite(fe, RFSYN_DIVM, 1); MXL_VCORange_Test()
3755 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); MXL_VCORange_Test()
3756 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_VCORange_Test()
3757 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); MXL_VCORange_Test()
3758 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_VCORange_Test()
3759 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); MXL_VCORange_Test()
3760 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 42); MXL_VCORange_Test()
3763 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_VCORange_Test()
3764 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); MXL_VCORange_Test()
3765 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 44); MXL_VCORange_Test()
3766 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3771 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_VCORange_Test()
3772 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); MXL_VCORange_Test()
3773 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 44); MXL_VCORange_Test()
3774 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3778 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_VCORange_Test()
3779 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); MXL_VCORange_Test()
3780 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 42); MXL_VCORange_Test()
3781 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3787 status += MXL_ControlWrite(fe, RFSYN_EN_DIV, 1); MXL_VCORange_Test()
3788 status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); MXL_VCORange_Test()
3789 status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); MXL_VCORange_Test()
3790 status += MXL_ControlWrite(fe, RFSYN_DIVM, 1); MXL_VCORange_Test()
3791 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); MXL_VCORange_Test()
3792 status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); MXL_VCORange_Test()
3793 status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); MXL_VCORange_Test()
3794 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_VCORange_Test()
3795 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); MXL_VCORange_Test()
3796 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 27); MXL_VCORange_Test()
3799 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_VCORange_Test()
3800 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); MXL_VCORange_Test()
3801 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 27); MXL_VCORange_Test()
3802 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3807 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_VCORange_Test()
3808 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); MXL_VCORange_Test()
3809 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 27); MXL_VCORange_Test()
3810 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3814 status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); MXL_VCORange_Test()
3815 status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); MXL_VCORange_Test()
3816 status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 27); MXL_VCORange_Test()
3817 status += MXL_ControlWrite(fe, MXL_VCORange_Test()
3831 status += MXL_ControlWrite(fe, DN_BYPASS_AGC_I2C, 1); MXL_Hystersis_Test()

Completed in 61 milliseconds