Lines Matching refs:Fref
2807 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref,
2815 /* Fref must be <=13.5MHz */
2818 while ((Fref / div) > 13500000) {
2824 Fref);
2829 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout);
2832 Fref /= div;
2851 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
2858 pr_err("Unable to find FLL_FRATIO for Fref=%uHz\n", Fref);
2862 fll_div->n = target / (fratio * Fref);
2864 if (target % Fref == 0) {
2868 gcd_fll = gcd(target, fratio * Fref);
2870 fll_div->theta = (target - (fll_div->n * fratio * Fref))
2872 fll_div->lambda = (fratio * Fref) / gcd_fll;
2885 unsigned int Fref, unsigned int Fout)
2894 if (source == wm8962->fll_src && Fref == wm8962->fll_fref &&
2912 ret = fll_factors(&fll_div, Fref, Fout);
2971 dev_dbg(component->dev, "FLL configured for %dHz->%dHz\n", Fref, Fout);
2992 wm8962->fll_fref = Fref;