Lines Matching refs:Fref
2732 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, in fll_factors() argument
2743 while ((Fref / div) > 13500000) { in fll_factors()
2749 Fref); in fll_factors()
2754 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
2757 Fref /= div; in fll_factors()
2776 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { in fll_factors()
2783 pr_err("Unable to find FLL_FRATIO for Fref=%uHz\n", Fref); in fll_factors()
2787 fll_div->n = target / (fratio * Fref); in fll_factors()
2789 if (target % Fref == 0) { in fll_factors()
2793 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
2795 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors()
2797 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
2810 unsigned int Fref, unsigned int Fout) in wm8962_set_fll() argument
2819 if (source == wm8962->fll_src && Fref == wm8962->fll_fref && in wm8962_set_fll()
2837 ret = fll_factors(&fll_div, Fref, Fout); in wm8962_set_fll()
2892 dev_dbg(component->dev, "FLL configured for %dHz->%dHz\n", Fref, Fout); in wm8962_set_fll()
2913 wm8962->fll_fref = Fref; in wm8962_set_fll()