/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 | wm8974.c | 283 unsigned int K, Ndiv, Nmod; in pll_factors() local 288 Ndiv = target / source; in pll_factors() 289 if (Ndiv < 6) { in pll_factors() 292 Ndiv = target / source; in pll_factors() 296 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 299 Ndiv); in pll_factors() 301 pll_div->n = Ndiv; in pll_factors()
|
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 | 1008 unsigned int Ndiv; in is_pll_freq_available() local 1015 Ndiv = target / source; in is_pll_freq_available() 1017 if (Ndiv < 6) { in is_pll_freq_available() 1019 Ndiv = target / source; in is_pll_freq_available() 1022 if ((Ndiv < 6) || (Ndiv > 12)) in is_pll_freq_available() 1036 unsigned int K, Ndiv, Nmod; in pll_factors() local 1043 Ndiv = target / source; in pll_factors() 1044 if (Ndiv < 6) { in pll_factors() 1047 Ndiv = target / source; in pll_factors() 1051 if ((Ndiv < 6) || (Ndiv > 12)) { in pll_factors() [all …]
|
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 | 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 | 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 | wm8985.c | 788 unsigned long int K, Ndiv, Nmod; in pll_factors() local 791 Ndiv = target / source; in pll_factors() 792 if (Ndiv < 6) { in pll_factors() 795 Ndiv = target / source; in pll_factors() 798 if (Ndiv < 6 || Ndiv > 12) { in pll_factors() 800 " the recommended range: %lu\n", __func__, Ndiv); in pll_factors() 803 pll_div->n = Ndiv; in pll_factors()
|
D | wm8991.c | 883 unsigned int K, Ndiv, Nmod; in pll_factors() local 886 Ndiv = target / source; in pll_factors() 887 if (Ndiv < 6) { in pll_factors() 890 Ndiv = target / source; in pll_factors() 894 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 896 "WM8991 N value outwith recommended range! N = %d\n", Ndiv); in pll_factors() 898 pll_div->n = Ndiv; in pll_factors()
|
D | wm8753.c | 711 unsigned int K, Ndiv, Nmod; in pll_factors() local 713 Ndiv = target / source; in pll_factors() 714 if (Ndiv < 6) { in pll_factors() 717 Ndiv = target / source; in pll_factors() 721 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors() 723 "wm8753: unsupported N = %u\n", Ndiv); in pll_factors() 725 pll_div->n = Ndiv; in pll_factors()
|
D | wm9713.c | 728 unsigned int K, Ndiv, Nmod, target; in pll_factors() local 758 Ndiv = target / source; in pll_factors() 759 if ((Ndiv < 5) || (Ndiv > 12)) in pll_factors() 762 Ndiv); in pll_factors() 764 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()
|