Lines Matching refs:Fref
2786 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref,
2794 /* Fref must be <=13.5MHz */
2797 while ((Fref / div) > 13500000) {
2803 Fref);
2808 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout);
2811 Fref /= div;
2830 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
2837 pr_err("Unable to find FLL_FRATIO for Fref=%uHz\n", Fref);
2841 fll_div->n = target / (fratio * Fref);
2843 if (target % Fref == 0) {
2847 gcd_fll = gcd(target, fratio * Fref);
2849 fll_div->theta = (target - (fll_div->n * fratio * Fref))
2851 fll_div->lambda = (fratio * Fref) / gcd_fll;
2864 unsigned int Fref, unsigned int Fout)
2873 if (source == wm8962->fll_src && Fref == wm8962->fll_fref &&
2891 ret = fll_factors(&fll_div, Fref, Fout);
2947 dev_dbg(component->dev, "FLL configured for %dHz->%dHz\n", Fref, Fout);
2968 wm8962->fll_fref = Fref;