Searched refs:Ndiv (Results 1 - 20 of 20) sorted by relevance

/linux-4.4.14/sound/soc/codecs/
H A Dwm8940.c530 unsigned int K, Ndiv, Nmod; pll_factors() local
532 Ndiv = target / source; pll_factors()
534 if (Ndiv > 12) { pll_factors()
538 Ndiv = target / source; pll_factors()
539 } else if (Ndiv < 3) { pll_factors()
543 Ndiv = target / source; pll_factors()
544 } else if (Ndiv < 6) { pll_factors()
548 Ndiv = target / source; pll_factors()
552 if ((Ndiv < 6) || (Ndiv > 12)) pll_factors()
555 Ndiv); pll_factors()
557 pll_div.n = Ndiv; pll_factors()
H A Dwm8804.c351 unsigned long int K, Ndiv, Nmod, tmp; pll_factors() local
376 Ndiv = target / source; pll_factors()
377 if (Ndiv < 5) { pll_factors()
380 Ndiv = target / source; pll_factors()
383 if (Ndiv < 5 || Ndiv > 13) { pll_factors()
385 __func__, Ndiv); pll_factors()
388 pll_div->n = Ndiv; pll_factors()
H A Dwm8974.c283 unsigned int K, Ndiv, Nmod; pll_factors() local
288 Ndiv = target / source; pll_factors()
289 if (Ndiv < 6) { pll_factors()
292 Ndiv = target / source; pll_factors()
296 if ((Ndiv < 6) || (Ndiv > 12)) pll_factors()
299 Ndiv); pll_factors()
301 pll_div->n = Ndiv; pll_factors()
H A Dwm8510.c283 unsigned int K, Ndiv, Nmod; pll_factors() local
285 Ndiv = target / source; pll_factors()
286 if (Ndiv < 6) { pll_factors()
289 Ndiv = target / source; pll_factors()
293 if ((Ndiv < 6) || (Ndiv > 12)) pll_factors()
296 Ndiv); pll_factors()
298 pll_div.n = Ndiv; pll_factors()
H A Dwm8960.c1006 unsigned int Ndiv; is_pll_freq_available() local
1013 Ndiv = target / source; is_pll_freq_available()
1015 if (Ndiv < 6) { is_pll_freq_available()
1017 Ndiv = target / source; is_pll_freq_available()
1020 if ((Ndiv < 6) || (Ndiv > 12)) is_pll_freq_available()
1034 unsigned int K, Ndiv, Nmod; pll_factors() local
1041 Ndiv = target / source; pll_factors()
1042 if (Ndiv < 6) { pll_factors()
1045 Ndiv = target / source; pll_factors()
1049 if ((Ndiv < 6) || (Ndiv > 12)) { pll_factors()
1050 pr_err("WM8960 PLL: Unsupported N=%d\n", Ndiv); pll_factors()
1054 pll_div->n = Ndiv; pll_factors()
H A Dwm8580.c373 unsigned int K, Ndiv, Nmod; pll_factors() local
397 Ndiv = target / source; pll_factors()
399 if (Ndiv < 5) { pll_factors()
402 Ndiv = target / source; pll_factors()
406 if ((Ndiv < 5) || (Ndiv > 13)) { pll_factors()
408 "WM8580 N=%u outside supported range\n", Ndiv); pll_factors()
412 pll_div->n = Ndiv; pll_factors()
H A Dwm8983.c757 unsigned long int K, Ndiv, Nmod; pll_factors() local
760 Ndiv = target / source; pll_factors()
761 if (Ndiv < 6) { pll_factors()
764 Ndiv = target / source; pll_factors()
767 if (Ndiv < 6 || Ndiv > 12) { pll_factors()
769 " the recommended range: %lu\n", __func__, Ndiv); pll_factors()
772 pll_div->n = Ndiv; pll_factors()
H A Dwm8985.c788 unsigned long int K, Ndiv, Nmod; pll_factors() local
791 Ndiv = target / source; pll_factors()
792 if (Ndiv < 6) { pll_factors()
795 Ndiv = target / source; pll_factors()
798 if (Ndiv < 6 || Ndiv > 12) { pll_factors()
800 " the recommended range: %lu\n", __func__, Ndiv); pll_factors()
803 pll_div->n = Ndiv; pll_factors()
H A Dwm8990.c901 unsigned int K, Ndiv, Nmod; pll_factors() local
904 Ndiv = target / source; pll_factors()
905 if (Ndiv < 6) { pll_factors()
908 Ndiv = target / source; pll_factors()
912 if ((Ndiv < 6) || (Ndiv > 12)) pll_factors()
914 "WM8990 N value outwith recommended range! N = %u\n", Ndiv); pll_factors()
916 pll_div->n = Ndiv; pll_factors()
H A Dwm8991.c883 unsigned int K, Ndiv, Nmod; pll_factors() local
886 Ndiv = target / source; pll_factors()
887 if (Ndiv < 6) { pll_factors()
890 Ndiv = target / source; pll_factors()
894 if ((Ndiv < 6) || (Ndiv > 12)) pll_factors()
896 "WM8991 N value outwith recommended range! N = %d\n", Ndiv); pll_factors()
898 pll_div->n = Ndiv; pll_factors()
H A Dwm8753.c711 unsigned int K, Ndiv, Nmod; pll_factors() local
713 Ndiv = target / source; pll_factors()
714 if (Ndiv < 6) { pll_factors()
717 Ndiv = target / source; pll_factors()
721 if ((Ndiv < 6) || (Ndiv > 12)) pll_factors()
723 "wm8753: unsupported N = %u\n", Ndiv); pll_factors()
725 pll_div->n = Ndiv; pll_factors()
H A Dwm9713.c728 unsigned int K, Ndiv, Nmod, target; pll_factors() local
758 Ndiv = target / source; pll_factors()
759 if ((Ndiv < 5) || (Ndiv > 12)) pll_factors()
762 Ndiv); pll_factors()
764 pll_div->n = Ndiv; pll_factors()
H A Dwm8955.c150 unsigned int K, Ndiv, Nmod, target; wm8995_pll_factors() local
171 Ndiv = target / Fref; wm8995_pll_factors()
173 pll->n = Ndiv; wm8995_pll_factors()
H A Dwm8900.c692 unsigned int K, Ndiv, Nmod, target; fll_factors() local
724 Ndiv = target / Fref; fll_factors()
731 fll_div->n = Ndiv / fll_div->fll_ratio; fll_factors()
H A Dwm8993.c389 unsigned int K, Ndiv, Nmod, target; fll_factors() local
442 Ndiv = target / Fref; fll_factors()
444 fll_div->n = Ndiv; fll_factors()
H A Dwm9081.c470 unsigned int K, Ndiv, Nmod, target; fll_factors() local
522 Ndiv = target / Fref; fll_factors()
524 fll_div->n = Ndiv; fll_factors()
H A Dwm8995.c1729 unsigned int K, Ndiv, Nmod; wm8995_get_fll_config() local
1772 Ndiv = freq_out / freq_in; wm8995_get_fll_config()
1774 fll->n = Ndiv; wm8995_get_fll_config()
H A Dwm8904.c1599 unsigned int K, Ndiv, Nmod, target; fll_factors() local
1651 Ndiv = target / Fref; fll_factors()
1653 fll_div->n = Ndiv; fll_factors()
H A Dwm8994.c2053 unsigned int K, Ndiv, Nmod, gcd_fll; wm8994_get_fll_config() local
2096 Ndiv = freq_out / freq_in; wm8994_get_fll_config()
2098 fll->n = Ndiv; wm8994_get_fll_config()
/linux-4.4.14/drivers/gpu/drm/sti/
H A Dsti_hdmi_tx3g0c55phy.c158 * PLLout = (Fin*Mdiv) / ((2 * Ndiv) / 2^Pdiv) enable_pll_rejection()

Completed in 493 milliseconds