Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/codecs/
Dwm8940.c527 unsigned int K, Ndiv, Nmod; in pll_factors() local
529 Ndiv = target / source; in pll_factors()
531 if (Ndiv > 12) { in pll_factors()
535 Ndiv = target / source; in pll_factors()
536 } else if (Ndiv < 3) { in pll_factors()
540 Ndiv = target / source; in pll_factors()
541 } else if (Ndiv < 6) { in pll_factors()
545 Ndiv = target / source; in pll_factors()
549 if ((Ndiv < 6) || (Ndiv > 12)) in pll_factors()
552 Ndiv); in pll_factors()
[all …]
Dwm8510.c280 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()
Dwm8974.c276 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()
Dwm8804.c348 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()
Dwm8960.c1126 unsigned int Ndiv; in is_pll_freq_available() local
1133 Ndiv = target / source; in is_pll_freq_available()
1135 if (Ndiv < 6) { in is_pll_freq_available()
1137 Ndiv = target / source; in is_pll_freq_available()
1140 if ((Ndiv < 6) || (Ndiv > 12)) in is_pll_freq_available()
1154 unsigned int K, Ndiv, Nmod; in pll_factors() local
1161 Ndiv = target / source; in pll_factors()
1162 if (Ndiv < 6) { in pll_factors()
1165 Ndiv = target / source; in pll_factors()
1169 if ((Ndiv < 6) || (Ndiv > 12)) { in pll_factors()
[all …]
Dwm8580.c404 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()
Dwm8991.c881 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()
Dwm8983.c754 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()
Dwm8990.c810 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()
Dwm8985.c851 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()
Dwm8753.c706 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()
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.c147 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()
Dwm8900.c683 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()
Dwm9081.c466 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()
Dwm8993.c386 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()
Dwm8995.c1727 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()
Dwm8904.c1588 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()
Dwm8994.c2126 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()