Lines Matching full:fref
382 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, in fll_factors() argument
390 /* Fref must be <=13.5MHz */ in fll_factors()
393 while ((Fref / div) > 13500000) { in fll_factors()
399 Fref); in fll_factors()
404 pr_debug("Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
407 Fref /= div; in fll_factors()
427 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { in fll_factors()
434 pr_err("Unable to find FLL_FRATIO for Fref=%uHz\n", Fref); in fll_factors()
439 Ndiv = target / Fref; in fll_factors()
442 Nmod = target % Fref; in fll_factors()
448 do_div(Kpart, Fref); in fll_factors()
467 unsigned int Fref, unsigned int Fout) in _wm8993_set_fll() argument
477 if (Fref == wm8993->fll_fref && Fout == wm8993->fll_fout) in _wm8993_set_fll()
493 ret = fll_factors(&fll_div, Fref, Fout); in _wm8993_set_fll()
547 else if (Fref < 1000000) in _wm8993_set_fll()
561 dev_dbg(component->dev, "FLL enabled at %dHz->%dHz\n", Fref, Fout); in _wm8993_set_fll()
563 wm8993->fll_fref = Fref; in _wm8993_set_fll()
571 unsigned int Fref, unsigned int Fout) in wm8993_set_fll() argument
573 return _wm8993_set_fll(dai->component, fll_id, source, Fref, Fout); in wm8993_set_fll()