/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 | arizona.c | 1832 unsigned int Fout) in arizona_validate_fll() argument 1836 if (fll->fout && Fout != fll->fout) { in arizona_validate_fll() 1850 if (Fout * ARIZONA_FLL_MAX_OUTDIV < Fvco_min) { in arizona_validate_fll() 1852 Fout); in arizona_validate_fll() 2198 unsigned int Fref, unsigned int Fout) in arizona_set_fll_refclk() argument 2223 unsigned int Fref, unsigned int Fout) in arizona_set_fll() argument 2228 fll->sync_freq == Fref && fll->fout == Fout) in arizona_set_fll() 2231 if (Fout) { in arizona_set_fll() 2233 ret = arizona_validate_fll(fll, fll->ref_freq, Fout); in arizona_set_fll() 2238 ret = arizona_validate_fll(fll, Fref, Fout); in arizona_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 | 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 | 926 unsigned int Fref, unsigned int Fout) in wm8997_set_fll() argument 932 return arizona_set_fll(&wm8997->fll[0], source, Fref, Fout); in wm8997_set_fll() 934 return arizona_set_fll(&wm8997->fll[1], source, Fref, Fout); in wm8997_set_fll() 937 Fout); in wm8997_set_fll() 940 Fout); in wm8997_set_fll()
|
D | arizona.h | 293 unsigned int Fref, unsigned int Fout); 295 unsigned int Fref, unsigned int Fout);
|
D | wm8996.c | 1918 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() 2132 dev_dbg(codec->dev, "FLL configured for %dHz->%dHz\n", Fref, Fout); in wm8996_set_fll() [all …]
|
D | wm8962.c | 2737 unsigned int Fout) in fll_factors() argument 2758 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors() 2765 while (Fout * div < 90000000) { in fll_factors() 2769 Fout); in fll_factors() 2773 target = Fout * div; in fll_factors() 2814 unsigned int Fref, unsigned int Fout) in wm8962_set_fll() argument 2824 Fout == wm8962->fll_fout) in wm8962_set_fll() 2827 if (Fout == 0) { in wm8962_set_fll() 2841 ret = fll_factors(&fll_div, Fref, Fout); in wm8962_set_fll() 2896 dev_dbg(codec->dev, "FLL configured for %dHz->%dHz\n", Fref, Fout); in wm8962_set_fll() [all …]
|
D | wm5100.c | 1681 unsigned int Fout) in fll_factors() argument 1702 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); in fll_factors() 1709 while (Fout * div < 90000000) { in fll_factors() 1713 Fout); in fll_factors() 1717 target = Fout * div; in fll_factors() 1758 unsigned int Fref, unsigned int Fout) in wm5100_set_fll() argument 1783 if (!Fout) { in wm5100_set_fll() 1806 ret = fll_factors(&factors, Fref, Fout); in wm5100_set_fll() 1873 fll->fout = Fout; in wm5100_set_fll() 1876 Fref, Fout); in wm5100_set_fll()
|
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 | wm8998.c | 1286 unsigned int Fref, unsigned int Fout) in wm8998_set_fll() argument 1292 return arizona_set_fll(&wm8998->fll[0], source, Fref, Fout); in wm8998_set_fll() 1294 return arizona_set_fll(&wm8998->fll[1], source, Fref, Fout); in wm8998_set_fll() 1297 Fout); in wm8998_set_fll() 1300 Fout); in wm8998_set_fll()
|
D | wm5102.c | 1718 unsigned int Fref, unsigned int Fout) in wm5102_set_fll() argument 1724 return arizona_set_fll(&wm5102->fll[0], source, Fref, Fout); in wm5102_set_fll() 1726 return arizona_set_fll(&wm5102->fll[1], source, Fref, Fout); in wm5102_set_fll() 1729 Fout); in wm5102_set_fll() 1732 Fout); in wm5102_set_fll()
|
D | wm5110.c | 1848 unsigned int Fref, unsigned int Fout) in wm5110_set_fll() argument 1854 return arizona_set_fll(&wm5110->fll[0], source, Fref, Fout); in wm5110_set_fll() 1856 return arizona_set_fll(&wm5110->fll[1], source, Fref, Fout); in wm5110_set_fll() 1859 Fout); in wm5110_set_fll() 1862 Fout); in wm5110_set_fll()
|