/sound/soc/codecs/ |
D | wm9081.c | 467 unsigned int Fout) in fll_factors() argument 487 pr_debug("Fref=%u Fout=%u\n", Fref, Fout); in fll_factors() 494 target = Fout * 2; in fll_factors() 500 Fout); in fll_factors() 550 unsigned int Fref, unsigned int Fout) in wm9081_set_fll() argument 559 if (Fref == wm9081->fll_fref && Fout == wm9081->fll_fout) in wm9081_set_fll() 563 if (Fout == 0) { in wm9081_set_fll() 571 ret = fll_factors(&fll_div, Fref, Fout); in wm9081_set_fll() 632 dev_dbg(codec->dev, "FLL enabled at %dHz->%dHz\n", Fref, Fout); in wm9081_set_fll() 635 wm9081->fll_fout = Fout; in wm9081_set_fll()
|
D | wm8993.c | 386 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 …]
|
D | wm8904.c | 1596 unsigned int Fout) in fll_factors() argument 1617 pr_debug("Fref=%u Fout=%u\n", Fref, Fout); in fll_factors() 1624 while (Fout * div < 90000000) { in fll_factors() 1628 Fout); in fll_factors() 1632 target = Fout * div; in fll_factors() 1679 unsigned int Fref, unsigned int Fout) in wm8904_set_fll() argument 1689 Fout == wm8904->fll_fout) in wm8904_set_fll() 1694 if (Fout == 0) { in wm8904_set_fll() 1715 ret = fll_factors(&fll_div, Fref, Fout); in wm8904_set_fll() 1723 Fout = 12000000; in wm8904_set_fll() [all …]
|
D | wm8900.c | 689 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()
|
D | wm2200.c | 1861 unsigned int Fout) in fll_factors() argument 1882 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors() 1889 while (Fout * div < 90000000) { in fll_factors() 1893 Fout); in fll_factors() 1897 target = Fout * div; in fll_factors() 1938 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() 2052 wm2200->fll_fout = Fout; in wm2200_set_fll() 2054 dev_dbg(codec->dev, "FLL running %dHz->%dHz\n", Fref, Fout); in wm2200_set_fll()
|
D | arizona.c | 2020 unsigned int Fout) in arizona_validate_fll() argument 2024 if (fll->fout && Fout != fll->fout) { in arizona_validate_fll() 2038 if (Fout * ARIZONA_FLL_MAX_OUTDIV < Fvco_min) { in arizona_validate_fll() 2040 Fout); in arizona_validate_fll() 2470 unsigned int Fref, unsigned int Fout) in arizona_set_fll_refclk() argument 2495 unsigned int Fref, unsigned int Fout) in arizona_set_fll() argument 2500 fll->sync_freq == Fref && fll->fout == Fout) in arizona_set_fll() 2503 if (Fout) { in arizona_set_fll() 2505 ret = arizona_validate_fll(fll, fll->ref_freq, Fout); in arizona_set_fll() 2510 ret = arizona_validate_fll(fll, Fref, Fout); in arizona_set_fll() [all …]
|
D | wm8400.c | 870 unsigned int Fref, unsigned int Fout) in fll_factors() argument 876 while (Fout * factors->outdiv < 90000000 || in fll_factors() 877 Fout * factors->outdiv > 100000000) { in fll_factors() 882 Fout); in fll_factors() 886 target = Fout * factors->outdiv; in fll_factors() 931 Fref, Fout, in fll_factors()
|
D | wm8997.c | 931 unsigned int Fref, unsigned int Fout) in wm8997_set_fll() argument 937 return arizona_set_fll(&wm8997->fll[0], source, Fref, Fout); in wm8997_set_fll() 939 return arizona_set_fll(&wm8997->fll[1], source, Fref, Fout); in wm8997_set_fll() 942 Fout); in wm8997_set_fll() 945 Fout); in wm8997_set_fll()
|
D | wm8962.c | 2736 unsigned int Fout) in fll_factors() argument 2757 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors() 2764 while (Fout * div < 90000000) { in fll_factors() 2768 Fout); in fll_factors() 2772 target = Fout * div; in fll_factors() 2813 unsigned int Fref, unsigned int Fout) in wm8962_set_fll() argument 2823 Fout == wm8962->fll_fout) in wm8962_set_fll() 2826 if (Fout == 0) { in wm8962_set_fll() 2840 ret = fll_factors(&fll_div, Fref, Fout); in wm8962_set_fll() 2895 dev_dbg(codec->dev, "FLL configured for %dHz->%dHz\n", Fref, Fout); in wm8962_set_fll() [all …]
|
D | wm8996.c | 1919 unsigned int Fout) in fll_factors() argument 1940 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors() 1957 while (Fout * div < 90000000) { in fll_factors() 1961 Fout); in fll_factors() 1965 target = Fout * div; in fll_factors() 2006 unsigned int Fref, unsigned int Fout) in wm8996_set_fll() argument 2016 Fout == wm8996->fll_fout) in wm8996_set_fll() 2019 if (Fout == 0) { in wm8996_set_fll() 2033 ret = fll_factors(&fll_div, Fref, Fout); in wm8996_set_fll() 2133 dev_dbg(codec->dev, "FLL configured for %dHz->%dHz\n", Fref, Fout); in wm8996_set_fll() [all …]
|
D | wm5100.c | 1682 unsigned int Fout) in fll_factors() argument 1703 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors() 1710 while (Fout * div < 90000000) { in fll_factors() 1714 Fout); in fll_factors() 1718 target = Fout * div; in fll_factors() 1759 unsigned int Fref, unsigned int Fout) in wm5100_set_fll() argument 1784 if (!Fout) { in wm5100_set_fll() 1807 ret = fll_factors(&factors, Fref, Fout); in wm5100_set_fll() 1874 fll->fout = Fout; in wm5100_set_fll() 1877 Fref, Fout); in wm5100_set_fll()
|
D | arizona.h | 309 unsigned int Fref, unsigned int Fout); 311 unsigned int Fref, unsigned int Fout);
|
D | wm8955.c | 147 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()
|
D | cs47l24.c | 933 unsigned int Fref, unsigned int Fout) in cs47l24_set_fll() argument 939 return arizona_set_fll(&cs47l24->fll[0], source, Fref, Fout); in cs47l24_set_fll() 941 return arizona_set_fll(&cs47l24->fll[1], source, Fref, Fout); in cs47l24_set_fll() 944 Fout); in cs47l24_set_fll() 947 Fout); in cs47l24_set_fll()
|
D | wm8998.c | 1299 unsigned int Fref, unsigned int Fout) in wm8998_set_fll() argument 1305 return arizona_set_fll(&wm8998->fll[0], source, Fref, Fout); in wm8998_set_fll() 1307 return arizona_set_fll(&wm8998->fll[1], source, Fref, Fout); in wm8998_set_fll() 1310 Fout); in wm8998_set_fll() 1313 Fout); in wm8998_set_fll()
|
D | wm5102.c | 1738 unsigned int Fref, unsigned int Fout) in wm5102_set_fll() argument 1744 return arizona_set_fll(&wm5102->fll[0], source, Fref, Fout); in wm5102_set_fll() 1746 return arizona_set_fll(&wm5102->fll[1], source, Fref, Fout); in wm5102_set_fll() 1749 Fout); in wm5102_set_fll() 1752 Fout); in wm5102_set_fll()
|
D | wm5110.c | 2036 unsigned int Fref, unsigned int Fout) in wm5110_set_fll() argument 2042 return arizona_set_fll(&wm5110->fll[0], source, Fref, Fout); in wm5110_set_fll() 2044 return arizona_set_fll(&wm5110->fll[1], source, Fref, Fout); in wm5110_set_fll() 2047 Fout); in wm5110_set_fll() 2050 Fout); in wm5110_set_fll()
|