Home
last modified time | relevance | path

Searched refs:Fout (Results 1 – 15 of 15) sorted by relevance

/sound/soc/codecs/
Dwm9081.c468 unsigned int Fout) in fll_factors() argument
488 pr_debug("Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
495 target = Fout * 2; in fll_factors()
501 Fout); in fll_factors()
551 unsigned int Fref, unsigned int Fout) in wm9081_set_fll() argument
560 if (Fref == wm9081->fll_fref && Fout == wm9081->fll_fout) in wm9081_set_fll()
564 if (Fout == 0) { in wm9081_set_fll()
572 ret = fll_factors(&fll_div, Fref, Fout); in wm9081_set_fll()
633 dev_dbg(codec->dev, "FLL enabled at %dHz->%dHz\n", Fref, Fout); in wm9081_set_fll()
636 wm9081->fll_fout = Fout; in wm9081_set_fll()
Dwm8993.c386 unsigned int Fout) in fll_factors() argument
407 pr_debug("Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
414 target = Fout * 2; in fll_factors()
420 Fout); in fll_factors()
470 unsigned int Fref, unsigned int Fout) in _wm8993_set_fll() argument
480 if (Fref == wm8993->fll_fref && Fout == wm8993->fll_fout) in _wm8993_set_fll()
484 if (Fout == 0) { in _wm8993_set_fll()
496 ret = fll_factors(&fll_div, Fref, Fout); in _wm8993_set_fll()
564 dev_dbg(codec->dev, "FLL enabled at %dHz->%dHz\n", Fref, Fout); in _wm8993_set_fll()
567 wm8993->fll_fout = Fout; in _wm8993_set_fll()
[all …]
Darizona.c1577 unsigned int Fout) in arizona_validate_fll() argument
1581 if (fll->fout && Fout != fll->fout) { in arizona_validate_fll()
1595 if (Fout * ARIZONA_FLL_MAX_OUTDIV < Fvco_min) { in arizona_validate_fll()
1597 Fout); in arizona_validate_fll()
1925 unsigned int Fref, unsigned int Fout) in arizona_set_fll_refclk() argument
1950 unsigned int Fref, unsigned int Fout) in arizona_set_fll() argument
1955 fll->sync_freq == Fref && fll->fout == Fout) in arizona_set_fll()
1958 if (Fout) { in arizona_set_fll()
1960 ret = arizona_validate_fll(fll, fll->ref_freq, Fout); in arizona_set_fll()
1965 ret = arizona_validate_fll(fll, Fref, Fout); in arizona_set_fll()
[all …]
Dwm8904.c1589 unsigned int Fout) in fll_factors() argument
1610 pr_debug("Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
1617 while (Fout * div < 90000000) { in fll_factors()
1621 Fout); in fll_factors()
1625 target = Fout * div; in fll_factors()
1672 unsigned int Fref, unsigned int Fout) in wm8904_set_fll() argument
1682 Fout == wm8904->fll_fout) in wm8904_set_fll()
1687 if (Fout == 0) { in wm8904_set_fll()
1708 ret = fll_factors(&fll_div, Fref, Fout); in wm8904_set_fll()
1716 Fout = 12000000; in wm8904_set_fll()
[all …]
Dwm8900.c689 unsigned int Fout) in fll_factors() argument
695 if (WARN_ON(!Fout)) in fll_factors()
700 target = Fout; in fll_factors()
709 " Fout=%u\n", target, Fref, Fout); in fll_factors()
713 div, Fref, Fout, target); in fll_factors()
747 if (WARN_ON(target != Fout * (fll_div->fllclk_div << 2)) || in fll_factors()
Dwm2200.c1862 unsigned int Fout) in fll_factors() argument
1883 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
1890 while (Fout * div < 90000000) { in fll_factors()
1894 Fout); in fll_factors()
1898 target = Fout * div; in fll_factors()
1939 unsigned int Fref, unsigned int Fout) in wm2200_set_fll() argument
1946 if (!Fout) { in wm2200_set_fll()
1968 ret = fll_factors(&factors, Fref, Fout); in wm2200_set_fll()
2051 wm2200->fll_fout = Fout; in wm2200_set_fll()
2053 dev_dbg(codec->dev, "FLL running %dHz->%dHz\n", Fref, Fout); in wm2200_set_fll()
Dwm8400.c874 unsigned int Fref, unsigned int Fout) in fll_factors() argument
880 while (Fout * factors->outdiv < 90000000 || in fll_factors()
881 Fout * factors->outdiv > 100000000) { in fll_factors()
886 Fout); in fll_factors()
890 target = Fout * factors->outdiv; in fll_factors()
935 Fref, Fout, in fll_factors()
Darizona.h246 unsigned int Fref, unsigned int Fout);
248 unsigned int Fref, unsigned int Fout);
Dwm8997.c924 unsigned int Fref, unsigned int Fout) in wm8997_set_fll() argument
930 return arizona_set_fll(&wm8997->fll[0], source, Fref, Fout); in wm8997_set_fll()
932 return arizona_set_fll(&wm8997->fll[1], source, Fref, Fout); in wm8997_set_fll()
935 Fout); in wm8997_set_fll()
938 Fout); in wm8997_set_fll()
Dwm8962.c2741 unsigned int Fout) in fll_factors() argument
2762 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
2769 while (Fout * div < 90000000) { in fll_factors()
2773 Fout); in fll_factors()
2777 target = Fout * div; in fll_factors()
2818 unsigned int Fref, unsigned int Fout) in wm8962_set_fll() argument
2828 Fout == wm8962->fll_fout) in wm8962_set_fll()
2831 if (Fout == 0) { in wm8962_set_fll()
2845 ret = fll_factors(&fll_div, Fref, Fout); in wm8962_set_fll()
2900 dev_dbg(codec->dev, "FLL configured for %dHz->%dHz\n", Fref, Fout); in wm8962_set_fll()
[all …]
Dwm8996.c1918 unsigned int Fout) in fll_factors() argument
1939 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
1956 while (Fout * div < 90000000) { in fll_factors()
1960 Fout); in fll_factors()
1964 target = Fout * div; in fll_factors()
2005 unsigned int Fref, unsigned int Fout) in wm8996_set_fll() argument
2015 Fout == wm8996->fll_fout) in wm8996_set_fll()
2018 if (Fout == 0) { in wm8996_set_fll()
2032 ret = fll_factors(&fll_div, Fref, Fout); in wm8996_set_fll()
2130 dev_dbg(codec->dev, "FLL configured for %dHz->%dHz\n", Fref, Fout); in wm8996_set_fll()
[all …]
Dwm5100.c1680 unsigned int Fout) in fll_factors() argument
1701 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors()
1708 while (Fout * div < 90000000) { in fll_factors()
1712 Fout); in fll_factors()
1716 target = Fout * div; in fll_factors()
1757 unsigned int Fref, unsigned int Fout) in wm5100_set_fll() argument
1781 if (!Fout) { in wm5100_set_fll()
1804 ret = fll_factors(&factors, Fref, Fout); in wm5100_set_fll()
1871 fll->fout = Fout; in wm5100_set_fll()
1874 Fref, Fout); in wm5100_set_fll()
Dwm8955.c147 int Fref, int Fout, struct pll_factors *pll) in wm8995_pll_factors() argument
152 dev_dbg(dev, "Fref=%u Fout=%u\n", Fref, Fout); in wm8995_pll_factors()
158 target = Fout * 4; in wm8995_pll_factors()
Dwm5102.c1672 unsigned int Fref, unsigned int Fout) in wm5102_set_fll() argument
1678 return arizona_set_fll(&wm5102->fll[0], source, Fref, Fout); in wm5102_set_fll()
1680 return arizona_set_fll(&wm5102->fll[1], source, Fref, Fout); in wm5102_set_fll()
1683 Fout); in wm5102_set_fll()
1686 Fout); in wm5102_set_fll()
Dwm5110.c1442 unsigned int Fref, unsigned int Fout) in wm5110_set_fll() argument
1448 return arizona_set_fll(&wm5110->fll[0], source, Fref, Fout); in wm5110_set_fll()
1450 return arizona_set_fll(&wm5110->fll[1], source, Fref, Fout); in wm5110_set_fll()
1453 Fout); in wm5110_set_fll()
1456 Fout); in wm5110_set_fll()