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

/linux-4.1.27/drivers/media/tuners/
H A Dmt2063.c98 u32 f_LO2; member in struct:MT2063_AvoidSpursData_t
716 const u32 f_LO2 = pAS_Info->f_LO2; IsSpurInBand() local
732 ** of f_LO1, f_LO2 and the edge value. Use the larger of this IsSpurInBand()
735 lo_gcd = MT2063_gcd(f_LO1, f_LO2); IsSpurInBand()
743 n0 = DIV_ROUND_UP(f_LO2 - d, f_LO1 - f_LO2); IsSpurInBand()
748 ((d + hgds) / gd_Scale)) / ((f_LO2 + hgds) / gd_Scale); IsSpurInBand()
755 ((d + hgds) / gd_Scale)) / ((f_LO2 + hgds) / gd_Scale); IsSpurInBand()
762 ((c + hgcs) / gc_Scale)) / ((f_LO2 + hgcs) / gc_Scale); IsSpurInBand()
765 f_nsLO2 = (s32) (mc * (f_LO2 / gc_Scale)); IsSpurInBand()
768 n * (f_LO1 % gc_Scale) - mc * (f_LO2 % gc_Scale); IsSpurInBand()
777 ((f + hgfs) / gf_Scale)) / ((f_LO2 + hgfs) / gf_Scale); IsSpurInBand()
779 ((f + hgfs) / gf_Scale)) / ((f_LO2 + hgfs) / gf_Scale); IsSpurInBand()
782 f_nsLO2 = me * (f_LO2 / gf_Scale); IsSpurInBand()
785 n * (f_LO1 % gf_Scale) - me * (f_LO2 % gf_Scale); IsSpurInBand()
793 ((c + hgcs) / gc_Scale)) / ((f_LO2 + hgcs) / gc_Scale); IsSpurInBand()
796 f_nsLO2 = ma * (f_LO2 / gc_Scale); IsSpurInBand()
799 n * (f_LO1 % gc_Scale) - ma * (f_LO2 % gc_Scale); IsSpurInBand()
844 u32 zfLO2 = pAS_Info->f_LO2; /* current attempt at an LO2 freq */ MT2063_AvoidSpurs()
862 pAS_Info->f_LO2 += (new_IF1 - zfIF1); MT2063_AvoidSpurs()
865 pAS_Info->f_LO2 -= (zfIF1 - new_IF1); MT2063_AvoidSpurs()
889 pAS_Info->f_LO2 = zfLO2; MT2063_AvoidSpurs()
1570 ofLO2 = state->AS_Data.f_LO2; MT2063_Tune()
1624 state->AS_Data.f_LO2 = MT2063_Tune()
1641 state->AS_Data.f_LO2 = MT2063_Tune()
1644 state->AS_Data.f_LO2 = MT2063_Tune()
1645 MT2063_CalcLO2Mult(&LO2, &Num2, state->AS_Data.f_LO2, MT2063_Tune()
1654 if ((state->AS_Data.f_LO2 < MT2063_MIN_DNC_FREQ) MT2063_Tune()
1655 || (state->AS_Data.f_LO2 > MT2063_MAX_DNC_FREQ)) MT2063_Tune()
1666 || (ofLO2 != state->AS_Data.f_LO2) MT2063_Tune()
1939 state->AS_Data.f_LO2 = 1486249786UL; mt2063_init()

Completed in 72 milliseconds