/sound/soc/codecs/ |
D | wm8940.c | 530 unsigned int K, Ndiv, Nmod; in pll_factors() local 532 Ndiv = target / source; in pll_factors() 534 if (Ndiv > 12) { in pll_factors() 538 Ndiv = target / source; in pll_factors() 539 } else if (Ndiv < 3) { in pll_factors() 543 Ndiv = target / source; in pll_factors() 544 } else if (Ndiv < 6) { in pll_factors() 548 Ndiv = target / source; in pll_factors() 552 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 555 Ndiv); in pll_factors() [all …]
|
D | wm8510.c | 283 unsigned int K, Ndiv, Nmod; in pll_factors() local 285 Ndiv = target / source; in pll_factors() 286 if (Ndiv < 6) { in pll_factors() 289 Ndiv = target / source; in pll_factors() 293 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 296 Ndiv); in pll_factors() 298 pll_div.n = Ndiv; in pll_factors()
|
D | wm8960.c | 1019 unsigned int Ndiv; in is_pll_freq_available() local 1026 Ndiv = target / source; in is_pll_freq_available() 1028 if (Ndiv < 6) { in is_pll_freq_available() 1030 Ndiv = target / source; in is_pll_freq_available() 1033 if ((Ndiv < 6) || (Ndiv > 12)) in is_pll_freq_available() 1047 unsigned int K, Ndiv, Nmod; in pll_factors() local 1054 Ndiv = target / source; in pll_factors() 1055 if (Ndiv < 6) { in pll_factors() 1058 Ndiv = target / source; in pll_factors() 1062 if ((Ndiv < 6) || (Ndiv > 12)) { in pll_factors() [all …]
|
D | wm8974.c | 288 unsigned int K, Ndiv, Nmod; in pll_factors() local 293 Ndiv = target / source; in pll_factors() 294 if (Ndiv < 6) { in pll_factors() 297 Ndiv = target / source; in pll_factors() 301 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 304 Ndiv); in pll_factors() 306 pll_div->n = Ndiv; in pll_factors()
|
D | wm8804.c | 351 unsigned long int K, Ndiv, Nmod, tmp; in pll_factors() local 376 Ndiv = target / source; in pll_factors() 377 if (Ndiv < 5) { in pll_factors() 380 Ndiv = target / source; in pll_factors() 383 if (Ndiv < 5 || Ndiv > 13) { in pll_factors() 385 __func__, Ndiv); in pll_factors() 388 pll_div->n = Ndiv; in pll_factors()
|
D | wm8580.c | 373 unsigned int K, Ndiv, Nmod; in pll_factors() local 397 Ndiv = target / source; in pll_factors() 399 if (Ndiv < 5) { in pll_factors() 402 Ndiv = target / source; in pll_factors() 406 if ((Ndiv < 5) || (Ndiv > 13)) { in pll_factors() 408 "WM8580 N=%u outside supported range\n", Ndiv); in pll_factors() 412 pll_div->n = Ndiv; in pll_factors()
|
D | wm8983.c | 757 unsigned long int K, Ndiv, Nmod; in pll_factors() local 760 Ndiv = target / source; in pll_factors() 761 if (Ndiv < 6) { in pll_factors() 764 Ndiv = target / source; in pll_factors() 767 if (Ndiv < 6 || Ndiv > 12) { in pll_factors() 769 " the recommended range: %lu\n", __func__, Ndiv); in pll_factors() 772 pll_div->n = Ndiv; in pll_factors()
|
D | wm8990.c | 901 unsigned int K, Ndiv, Nmod; in pll_factors() local 904 Ndiv = target / source; in pll_factors() 905 if (Ndiv < 6) { in pll_factors() 908 Ndiv = target / source; in pll_factors() 912 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 914 "WM8990 N value outwith recommended range! N = %u\n", Ndiv); in pll_factors() 916 pll_div->n = Ndiv; in pll_factors()
|
D | wm8991.c | 893 unsigned int K, Ndiv, Nmod; in pll_factors() local 896 Ndiv = target / source; in pll_factors() 897 if (Ndiv < 6) { in pll_factors() 900 Ndiv = target / source; in pll_factors() 904 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 906 "WM8991 N value outwith recommended range! N = %d\n", Ndiv); in pll_factors() 908 pll_div->n = Ndiv; in pll_factors()
|
D | wm8985.c | 854 unsigned long int K, Ndiv, Nmod; in pll_factors() local 857 Ndiv = target / source; in pll_factors() 858 if (Ndiv < 6) { in pll_factors() 861 Ndiv = target / source; in pll_factors() 864 if (Ndiv < 6 || Ndiv > 12) { in pll_factors() 866 " the recommended range: %lu\n", __func__, Ndiv); in pll_factors() 869 pll_div->n = Ndiv; in pll_factors()
|
D | wm8753.c | 710 unsigned int K, Ndiv, Nmod; in pll_factors() local 712 Ndiv = target / source; in pll_factors() 713 if (Ndiv < 6) { in pll_factors() 716 Ndiv = target / source; in pll_factors() 720 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 722 "wm8753: unsupported N = %u\n", Ndiv); in pll_factors() 724 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 | 150 unsigned int K, Ndiv, Nmod, target; in wm8995_pll_factors() local 171 Ndiv = target / Fref; in wm8995_pll_factors() 173 pll->n = Ndiv; in wm8995_pll_factors()
|
D | wm8900.c | 692 unsigned int K, Ndiv, Nmod, target; in fll_factors() local 724 Ndiv = target / Fref; in fll_factors() 731 fll_div->n = Ndiv / fll_div->fll_ratio; in fll_factors()
|
D | wm9081.c | 470 unsigned int K, Ndiv, Nmod, target; in fll_factors() local 522 Ndiv = target / Fref; in fll_factors() 524 fll_div->n = Ndiv; in fll_factors()
|
D | wm8993.c | 389 unsigned int K, Ndiv, Nmod, target; in fll_factors() local 442 Ndiv = target / Fref; in fll_factors() 444 fll_div->n = Ndiv; in fll_factors()
|
D | wm8995.c | 1729 unsigned int K, Ndiv, Nmod; in wm8995_get_fll_config() local 1772 Ndiv = freq_out / freq_in; in wm8995_get_fll_config() 1774 fll->n = Ndiv; in wm8995_get_fll_config()
|
D | wm8904.c | 1599 unsigned int K, Ndiv, Nmod, target; in fll_factors() local 1651 Ndiv = target / Fref; in fll_factors() 1653 fll_div->n = Ndiv; in fll_factors()
|
D | wm8994.c | 2053 unsigned int K, Ndiv, Nmod, gcd_fll; in wm8994_get_fll_config() local 2096 Ndiv = freq_out / freq_in; in wm8994_get_fll_config() 2098 fll->n = Ndiv; in wm8994_get_fll_config()
|