Lines Matching full:fref
45 int fref; member
1680 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, in fll_factors() argument
1688 /* Fref must be <=13.5MHz */ in fll_factors()
1691 while ((Fref / div) > 13500000) { in fll_factors()
1697 Fref); in fll_factors()
1702 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
1705 Fref /= div; in fll_factors()
1724 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { in fll_factors()
1731 pr_err("Unable to find FLL_FRATIO for Fref=%uHz\n", Fref); in fll_factors()
1735 fll_div->n = target / (fratio * Fref); in fll_factors()
1737 if (target % Fref == 0) { in fll_factors()
1741 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
1743 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors()
1745 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
1758 unsigned int Fref, unsigned int Fout) in wm5100_set_fll() argument
1806 ret = fll_factors(&factors, Fref, Fout); in wm5100_set_fll()
1872 fll->fref = Fref; in wm5100_set_fll()
1876 Fref, Fout); in wm5100_set_fll()