Lines Matching full:fref
1914 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, in fll_factors() argument
1922 /* Fref must be <=13.5MHz */ in fll_factors()
1925 while ((Fref / div) > 13500000) { in fll_factors()
1931 Fref); in fll_factors()
1936 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
1939 Fref /= div; in fll_factors()
1941 if (Fref >= 3000000) in fll_factors()
1946 if (Fref >= 48000) in fll_factors()
1968 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { in fll_factors()
1975 pr_err("Unable to find FLL_FRATIO for Fref=%uHz\n", Fref); in fll_factors()
1979 fll_div->n = target / (fratio * Fref); in fll_factors()
1981 if (target % Fref == 0) { in fll_factors()
1985 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
1987 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors()
1989 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
2002 unsigned int Fref, unsigned int Fout) in wm8996_set_fll() argument
2011 if (source == wm8996->fll_src && Fref == wm8996->fll_fref && in wm8996_set_fll()
2029 ret = fll_factors(&fll_div, Fref, Fout); in wm8996_set_fll()
2097 if (Fref > 1000000) in wm8996_set_fll()
2129 dev_dbg(component->dev, "FLL configured for %dHz->%dHz\n", Fref, Fout); in wm8996_set_fll()
2131 wm8996->fll_fref = Fref; in wm8996_set_fll()