Lines Matching refs:f_LO2
90 u32 f_LO2; member
686 const u32 f_LO2 = pAS_Info->f_LO2; in IsSpurInBand() local
705 lo_gcd = gcd(f_LO1, f_LO2); in IsSpurInBand()
713 n0 = DIV_ROUND_UP(f_LO2 - d, f_LO1 - f_LO2); in IsSpurInBand()
718 ((d + hgds) / gd_Scale)) / ((f_LO2 + hgds) / gd_Scale); in IsSpurInBand()
725 ((d + hgds) / gd_Scale)) / ((f_LO2 + hgds) / gd_Scale); in IsSpurInBand()
732 ((c + hgcs) / gc_Scale)) / ((f_LO2 + hgcs) / gc_Scale); in IsSpurInBand()
735 f_nsLO2 = (s32) (mc * (f_LO2 / gc_Scale)); in IsSpurInBand()
738 n * (f_LO1 % gc_Scale) - mc * (f_LO2 % gc_Scale); in IsSpurInBand()
747 ((f + hgfs) / gf_Scale)) / ((f_LO2 + hgfs) / gf_Scale); in IsSpurInBand()
749 ((f + hgfs) / gf_Scale)) / ((f_LO2 + hgfs) / gf_Scale); in IsSpurInBand()
752 f_nsLO2 = me * (f_LO2 / gf_Scale); in IsSpurInBand()
755 n * (f_LO1 % gf_Scale) - me * (f_LO2 % gf_Scale); in IsSpurInBand()
763 ((c + hgcs) / gc_Scale)) / ((f_LO2 + hgcs) / gc_Scale); in IsSpurInBand()
766 f_nsLO2 = ma * (f_LO2 / gc_Scale); in IsSpurInBand()
769 n * (f_LO1 % gc_Scale) - ma * (f_LO2 % gc_Scale); in IsSpurInBand()
814 u32 zfLO2 = pAS_Info->f_LO2; /* current attempt at an LO2 freq */ in MT2063_AvoidSpurs()
832 pAS_Info->f_LO2 += (new_IF1 - zfIF1); in MT2063_AvoidSpurs()
835 pAS_Info->f_LO2 -= (zfIF1 - new_IF1); in MT2063_AvoidSpurs()
859 pAS_Info->f_LO2 = zfLO2; in MT2063_AvoidSpurs()
1538 ofLO2 = state->AS_Data.f_LO2; in MT2063_Tune()
1592 state->AS_Data.f_LO2 = in MT2063_Tune()
1609 state->AS_Data.f_LO2 = 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()
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()
1634 || (ofLO2 != state->AS_Data.f_LO2) in MT2063_Tune()
1906 state->AS_Data.f_LO2 = 1486249786UL; in mt2063_init()