Home
last modified time | relevance | path

Searched refs:Ndiv (Results 1 – 19 of 19) sorted by relevance

/sound/soc/codecs/
Dwm8940.c530 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 …]
Dwm8510.c283 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()
Dwm8960.c1019 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 …]
Dwm8974.c288 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()
Dwm8804.c351 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()
Dwm8580.c373 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()
Dwm8983.c757 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()
Dwm8990.c901 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()
Dwm8991.c893 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()
Dwm8985.c854 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()
Dwm8753.c710 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()
Dwm9713.c756 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()
Dwm8955.c150 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()
Dwm8900.c692 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()
Dwm9081.c470 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()
Dwm8993.c389 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()
Dwm8995.c1729 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()
Dwm8904.c1599 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()
Dwm8994.c2053 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()