Lines Matching refs:AS_Data
227 struct MT2063_AvoidSpursData_t AS_Data; member
1530 if ((state->AS_Data.f_out < MT2063_MIN_FOUT_FREQ) in MT2063_Tune()
1531 || (state->AS_Data.f_out > MT2063_MAX_FOUT_FREQ)) in MT2063_Tune()
1537 ofLO1 = state->AS_Data.f_LO1; in MT2063_Tune()
1538 ofLO2 = state->AS_Data.f_LO2; in MT2063_Tune()
1573 state->AS_Data.f_in = f_in; in MT2063_Tune()
1575 state->AS_Data.f_if1_Request = in MT2063_Tune()
1576 MT2063_Round_fLO(state->AS_Data.f_if1_Request + f_in, in MT2063_Tune()
1577 state->AS_Data.f_LO1_Step, in MT2063_Tune()
1578 state->AS_Data.f_ref) - f_in; in MT2063_Tune()
1584 MT2063_ResetExclZones(&state->AS_Data); in MT2063_Tune()
1586 f_IF1 = MT2063_ChooseFirstIF(&state->AS_Data); in MT2063_Tune()
1588 state->AS_Data.f_LO1 = in MT2063_Tune()
1589 MT2063_Round_fLO(f_IF1 + f_in, state->AS_Data.f_LO1_Step, in MT2063_Tune()
1590 state->AS_Data.f_ref); in MT2063_Tune()
1592 state->AS_Data.f_LO2 = in MT2063_Tune()
1593 MT2063_Round_fLO(state->AS_Data.f_LO1 - state->AS_Data.f_out - f_in, in MT2063_Tune()
1594 state->AS_Data.f_LO2_Step, state->AS_Data.f_ref); in MT2063_Tune()
1600 status |= MT2063_AvoidSpurs(&state->AS_Data); in MT2063_Tune()
1606 state->AS_Data.f_LO1 = in MT2063_Tune()
1607 MT2063_CalcLO1Mult(&LO1, &Num1, state->AS_Data.f_LO1, in MT2063_Tune()
1608 state->AS_Data.f_LO1_Step, state->AS_Data.f_ref); in MT2063_Tune()
1609 state->AS_Data.f_LO2 = in MT2063_Tune()
1610 MT2063_Round_fLO(state->AS_Data.f_LO1 - state->AS_Data.f_out - f_in, in MT2063_Tune()
1611 state->AS_Data.f_LO2_Step, state->AS_Data.f_ref); in MT2063_Tune()
1612 state->AS_Data.f_LO2 = in MT2063_Tune()
1613 MT2063_CalcLO2Mult(&LO2, &Num2, state->AS_Data.f_LO2, in MT2063_Tune()
1614 state->AS_Data.f_LO2_Step, state->AS_Data.f_ref); in MT2063_Tune()
1619 if ((state->AS_Data.f_LO1 < MT2063_MIN_UPC_FREQ) in MT2063_Tune()
1620 || (state->AS_Data.f_LO1 > MT2063_MAX_UPC_FREQ)) in MT2063_Tune()
1622 if ((state->AS_Data.f_LO2 < MT2063_MIN_DNC_FREQ) in MT2063_Tune()
1623 || (state->AS_Data.f_LO2 > MT2063_MAX_DNC_FREQ)) in MT2063_Tune()
1633 if ((ofLO1 != state->AS_Data.f_LO1) in MT2063_Tune()
1634 || (ofLO2 != state->AS_Data.f_LO2) in MT2063_Tune()
1645 (state->AS_Data.f_LO1 - in MT2063_Tune()
1646 f_in) / (state->AS_Data.f_ref / 64) - 8 * (u32) fiffc - in MT2063_Tune()
1703 state->f_IF1_actual = state->AS_Data.f_LO1 - f_in; in MT2063_Tune()
1893 state->AS_Data.f_ref = MT2063_REF_FREQ; in mt2063_init()
1894 state->AS_Data.f_if1_Center = (state->AS_Data.f_ref / 8) * in mt2063_init()
1896 state->AS_Data.f_if1_bw = MT2063_IF1_BW; in mt2063_init()
1897 state->AS_Data.f_out = 43750000UL; in mt2063_init()
1898 state->AS_Data.f_out_bw = 6750000UL; in mt2063_init()
1899 state->AS_Data.f_zif_bw = MT2063_ZIF_BW; in mt2063_init()
1900 state->AS_Data.f_LO1_Step = state->AS_Data.f_ref / 64; in mt2063_init()
1901 state->AS_Data.f_LO2_Step = MT2063_TUNE_STEP_SIZE; in mt2063_init()
1902 state->AS_Data.maxH1 = MT2063_MAX_HARMONICS_1; in mt2063_init()
1903 state->AS_Data.maxH2 = MT2063_MAX_HARMONICS_2; in mt2063_init()
1904 state->AS_Data.f_min_LO_Separation = MT2063_MIN_LO_SEP; in mt2063_init()
1905 state->AS_Data.f_if1_Request = state->AS_Data.f_if1_Center; in mt2063_init()
1906 state->AS_Data.f_LO1 = 2181000000UL; in mt2063_init()
1907 state->AS_Data.f_LO2 = 1486249786UL; in mt2063_init()
1908 state->f_IF1_actual = state->AS_Data.f_if1_Center; in mt2063_init()
1909 state->AS_Data.f_in = state->AS_Data.f_LO1 - state->f_IF1_actual; in mt2063_init()
1910 state->AS_Data.f_LO1_FracN_Avoid = MT2063_LO1_FRACN_AVOID; in mt2063_init()
1911 state->AS_Data.f_LO2_FracN_Avoid = MT2063_LO2_FRACN_AVOID; in mt2063_init()
1913 state->AS_Data.avoidDECT = MT2063_AVOID_BOTH; in mt2063_init()
2068 state->AS_Data.f_LO2_Step = 125000; /* FIXME: probably 5000 for FM */ in mt2063_set_analog_params()
2069 state->AS_Data.f_out = if_mid; in mt2063_set_analog_params()
2070 state->AS_Data.f_out_bw = ch_bw + 750000; in mt2063_set_analog_params()
2140 state->AS_Data.f_LO2_Step = 125000; /* FIXME: probably 5000 for FM */ in mt2063_set_params()
2141 state->AS_Data.f_out = if_mid; in mt2063_set_params()
2142 state->AS_Data.f_out_bw = ch_bw + 750000; in mt2063_set_params()
2168 *freq = state->AS_Data.f_out; in mt2063_get_if_frequency()
2184 *bw = state->AS_Data.f_out_bw - 750000; in mt2063_get_bandwidth()