Home
last modified time | relevance | path

Searched refs:Kpart (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/sound/soc/codecs/
Dwm8510.c279 unsigned long long Kpart; in pll_factors() local
297 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
299 do_div(Kpart, source); in pll_factors()
301 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8974.c283 unsigned long long Kpart; in pll_factors() local
304 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
306 do_div(Kpart, source); in pll_factors()
308 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8940.c526 unsigned long long Kpart; in pll_factors() local
556 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
558 do_div(Kpart, source); in pll_factors()
560 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8804.c347 u64 Kpart; in pll_factors() local
388 Kpart = FIXED_PLL_SIZE * (u64)Nmod; in pll_factors()
390 do_div(Kpart, source); in pll_factors()
392 K = Kpart & 0xffffffff; in pll_factors()
Dwm8955.c146 u64 Kpart; in wm8955_pll_factors() local
175 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in wm8955_pll_factors()
177 do_div(Kpart, Fref); in wm8955_pll_factors()
179 K = Kpart & 0xFFFFFFFF; in wm8955_pll_factors()
Dwm8580.c403 u64 Kpart; in pll_factors() local
445 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
447 do_div(Kpart, source); in pll_factors()
449 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8983.c753 u64 Kpart; in pll_factors() local
772 Kpart = FIXED_PLL_SIZE * (u64)Nmod; in pll_factors()
774 do_div(Kpart, source); in pll_factors()
776 K = Kpart & 0xffffffff; in pll_factors()
Dwm8990.c896 u64 Kpart; in pll_factors() local
914 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
916 do_div(Kpart, source); in pll_factors()
918 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8985.c850 u64 Kpart; in pll_factors() local
869 Kpart = FIXED_PLL_SIZE * (u64)Nmod; in pll_factors()
871 do_div(Kpart, source); in pll_factors()
873 K = Kpart & 0xffffffff; in pll_factors()
Dwm8991.c888 u64 Kpart; in pll_factors() local
906 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
908 do_div(Kpart, source); in pll_factors()
910 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm9713.c755 u64 Kpart; in pll_factors() local
794 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
796 do_div(Kpart, source); in pll_factors()
798 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8900.c688 u64 Kpart; in fll_factors() local
732 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
734 do_div(Kpart, Fref); in fll_factors()
736 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm9081.c465 u64 Kpart; in fll_factors() local
525 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
527 do_div(Kpart, Fref); in fll_factors()
529 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm8400.c867 u64 Kpart; in fll_factors() local
912 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
914 do_div(Kpart, (Fref * factors->fratio)); in fll_factors()
916 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm8960.c1141 unsigned long long Kpart; in pll_factors() local
1164 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
1166 do_div(Kpart, source); in pll_factors()
1168 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8753.c705 u64 Kpart; in pll_factors() local
722 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
724 do_div(Kpart, source); in pll_factors()
726 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8993.c385 u64 Kpart; in fll_factors() local
446 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
448 do_div(Kpart, Fref); in fll_factors()
450 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm8350.c975 u64 Kpart; in fll_factors() local
1003 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
1004 do_div(Kpart, t2); in fll_factors()
1005 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm8995.c1726 u64 Kpart; in wm8995_get_fll_config() local
1777 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in wm8995_get_fll_config()
1779 do_div(Kpart, freq_in); in wm8995_get_fll_config()
1781 K = Kpart & 0xFFFFFFFF; in wm8995_get_fll_config()
Dwm8904.c1608 u64 Kpart; in fll_factors() local
1668 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
1670 do_div(Kpart, Fref); in fll_factors()
1672 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm8994.c2054 u64 Kpart; in wm8994_get_fll_config() local
2107 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in wm8994_get_fll_config()
2109 do_div(Kpart, freq_in); in wm8994_get_fll_config()
2111 K = Kpart & 0xFFFFFFFF; in wm8994_get_fll_config()