/Linux-v6.6/sound/soc/codecs/ |
D | wm8940.c | 536 unsigned int K, Ndiv, Nmod; in pll_factors() local 538 Ndiv = target / source; in pll_factors() 540 if (Ndiv > 12) { in pll_factors() 544 Ndiv = target / source; in pll_factors() 545 } else if (Ndiv < 3) { in pll_factors() 549 Ndiv = target / source; in pll_factors() 550 } else if (Ndiv < 6) { in pll_factors() 554 Ndiv = target / source; in pll_factors() 558 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 561 Ndiv); in pll_factors() [all …]
|
D | wm8510.c | 280 unsigned int K, Ndiv, Nmod; in pll_factors() local 282 Ndiv = target / source; in pll_factors() 283 if (Ndiv < 6) { in pll_factors() 286 Ndiv = target / source; in pll_factors() 290 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 293 Ndiv); in pll_factors() 295 pll_div.n = Ndiv; in pll_factors()
|
D | wm8804.c | 348 unsigned long int K, Ndiv, Nmod, tmp; in pll_factors() local 373 Ndiv = target / source; in pll_factors() 374 if (Ndiv < 5) { in pll_factors() 377 Ndiv = target / source; in pll_factors() 380 if (Ndiv < 5 || Ndiv > 13) { in pll_factors() 382 __func__, Ndiv); in pll_factors() 385 pll_div->n = Ndiv; in pll_factors()
|
D | wm8974.c | 276 unsigned int K, Ndiv, Nmod; in pll_factors() local 281 Ndiv = target / source; in pll_factors() 282 if (Ndiv < 6) { in pll_factors() 285 Ndiv = target / source; in pll_factors() 289 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 292 Ndiv); in pll_factors() 294 pll_div->n = Ndiv; in pll_factors()
|
D | wm8960.c | 1139 unsigned int Ndiv; in is_pll_freq_available() local 1146 Ndiv = target / source; in is_pll_freq_available() 1148 if (Ndiv < 6) { in is_pll_freq_available() 1150 Ndiv = target / source; in is_pll_freq_available() 1153 if ((Ndiv < 6) || (Ndiv > 12)) in is_pll_freq_available() 1167 unsigned int K, Ndiv, Nmod; in pll_factors() local 1174 Ndiv = target / source; in pll_factors() 1175 if (Ndiv < 6) { in pll_factors() 1178 Ndiv = target / source; in pll_factors() 1182 if ((Ndiv < 6) || (Ndiv > 12)) { in pll_factors() [all …]
|
D | wm8580.c | 404 unsigned int K, Ndiv, Nmod; in pll_factors() local 428 Ndiv = target / source; in pll_factors() 430 if (Ndiv < 5) { in pll_factors() 433 Ndiv = target / source; in pll_factors() 437 if ((Ndiv < 5) || (Ndiv > 13)) { in pll_factors() 439 "WM8580 N=%u outside supported range\n", Ndiv); in pll_factors() 443 pll_div->n = Ndiv; in pll_factors()
|
D | wm8983.c | 754 unsigned long int K, Ndiv, Nmod; in pll_factors() local 757 Ndiv = target / source; in pll_factors() 758 if (Ndiv < 6) { in pll_factors() 761 Ndiv = target / source; in pll_factors() 764 if (Ndiv < 6 || Ndiv > 12) { in pll_factors() 766 " the recommended range: %lu\n", __func__, Ndiv); in pll_factors() 769 pll_div->n = Ndiv; in pll_factors()
|
D | wm8990.c | 810 unsigned int K, Ndiv, Nmod; in pll_factors() local 813 Ndiv = target / source; in pll_factors() 814 if (Ndiv < 6) { in pll_factors() 817 Ndiv = target / source; in pll_factors() 821 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 823 "WM8990 N value outwith recommended range! N = %u\n", Ndiv); in pll_factors() 825 pll_div->n = Ndiv; in pll_factors()
|
D | wm8991.c | 881 unsigned int K, Ndiv, Nmod; in pll_factors() local 884 Ndiv = target / source; in pll_factors() 885 if (Ndiv < 6) { in pll_factors() 888 Ndiv = target / source; in pll_factors() 892 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 894 "WM8991 N value outwith recommended range! N = %d\n", Ndiv); in pll_factors() 896 pll_div->n = Ndiv; in pll_factors()
|
D | wm8985.c | 851 unsigned long int K, Ndiv, Nmod; in pll_factors() local 854 Ndiv = target / source; in pll_factors() 855 if (Ndiv < 6) { in pll_factors() 858 Ndiv = target / source; in pll_factors() 861 if (Ndiv < 6 || Ndiv > 12) { in pll_factors() 863 " the recommended range: %lu\n", __func__, Ndiv); in pll_factors() 866 pll_div->n = Ndiv; in pll_factors()
|
D | wm8753.c | 706 unsigned int K, Ndiv, Nmod; in pll_factors() local 708 Ndiv = target / source; in pll_factors() 709 if (Ndiv < 6) { in pll_factors() 712 Ndiv = target / source; in pll_factors() 716 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 718 "wm8753: unsupported N = %u\n", Ndiv); in pll_factors() 720 pll_div->n = Ndiv; in pll_factors()
|
D | wm9713.c | 756 unsigned int K, Ndiv, Nmod, target; in pll_factors() local 786 Ndiv = target / source; in pll_factors() 787 if ((Ndiv < 5) || (Ndiv > 12)) in pll_factors() 790 Ndiv); in pll_factors() 792 pll_div->n = Ndiv; in pll_factors()
|
D | wm8955.c | 147 unsigned int K, Ndiv, Nmod, target; in wm8955_pll_factors() local 168 Ndiv = target / Fref; in wm8955_pll_factors() 170 pll->n = Ndiv; in wm8955_pll_factors()
|
D | wm8900.c | 683 unsigned int K, Ndiv, Nmod, target; in fll_factors() local 715 Ndiv = target / Fref; in fll_factors() 722 fll_div->n = Ndiv / fll_div->fll_ratio; in fll_factors()
|
D | wm9081.c | 466 unsigned int K, Ndiv, Nmod, target; in fll_factors() local 518 Ndiv = target / Fref; in fll_factors() 520 fll_div->n = Ndiv; in fll_factors()
|
D | wm8993.c | 386 unsigned int K, Ndiv, Nmod, target; in fll_factors() local 439 Ndiv = target / Fref; in fll_factors() 441 fll_div->n = Ndiv; in fll_factors()
|
D | wm8995.c | 1727 unsigned int K, Ndiv, Nmod; in wm8995_get_fll_config() local 1770 Ndiv = freq_out / freq_in; in wm8995_get_fll_config() 1772 fll->n = Ndiv; in wm8995_get_fll_config()
|
D | wm8904.c | 1588 unsigned int K, Ndiv, Nmod, target; in fll_factors() local 1640 Ndiv = target / Fref; in fll_factors() 1642 fll_div->n = Ndiv; in fll_factors()
|
D | wm8994.c | 2126 unsigned int K, Ndiv, Nmod, gcd_fll; in wm8994_get_fll_config() local 2169 Ndiv = freq_out / freq_in; in wm8994_get_fll_config() 2171 fll->n = Ndiv; in wm8994_get_fll_config()
|