Lines Matching full:fref
1584 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, in fll_factors() argument
1592 /* Fref must be <=13.5MHz */ in fll_factors()
1595 while ((Fref / div) > 13500000) { in fll_factors()
1601 Fref); in fll_factors()
1606 pr_debug("Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
1609 Fref /= div; in fll_factors()
1628 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { in fll_factors()
1635 pr_err("Unable to find FLL_FRATIO for Fref=%uHz\n", Fref); in fll_factors()
1640 Ndiv = target / Fref; in fll_factors()
1643 Nmod = target % Fref; in fll_factors()
1649 do_div(Kpart, Fref); in fll_factors()
1668 unsigned int Fref, unsigned int Fout) in wm8904_set_fll() argument
1677 if (source == wm8904->fll_src && Fref == wm8904->fll_fref && in wm8904_set_fll()
1704 ret = fll_factors(&fll_div, Fref, Fout); in wm8904_set_fll()
1713 Fref = 12000000; in wm8904_set_fll()
1786 dev_dbg(component->dev, "FLL configured for %dHz->%dHz\n", Fref, Fout); in wm8904_set_fll()
1788 wm8904->fll_fref = Fref; in wm8904_set_fll()