Home
last modified time | relevance | path

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

/linux-6.1.9/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()
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()
Dwm8974.c275 unsigned long long Kpart; in pll_factors() local
296 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
298 do_div(Kpart, source); in pll_factors()
300 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()
Dwm8991.c880 u64 Kpart; in pll_factors() local
898 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
900 do_div(Kpart, source); in pll_factors()
902 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.c809 u64 Kpart; in pll_factors() local
827 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
829 do_div(Kpart, source); in pll_factors()
831 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8900.c682 u64 Kpart; in fll_factors() local
726 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
728 do_div(Kpart, Fref); in fll_factors()
730 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm8400.c855 u64 Kpart; in fll_factors() local
900 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
902 do_div(Kpart, (Fref * factors->fratio)); in fll_factors()
904 K = Kpart & 0xFFFFFFFF; in fll_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()
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()
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()
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()
Dwm8960.c1153 unsigned long long Kpart; in pll_factors() local
1176 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
1178 do_div(Kpart, source); in pll_factors()
1180 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8350.c976 u64 Kpart; in fll_factors() local
1004 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
1005 do_div(Kpart, t2); in fll_factors()
1006 K = Kpart & 0xFFFFFFFF; in fll_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()
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.c1587 u64 Kpart; in fll_factors() local
1647 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
1649 do_div(Kpart, Fref); in fll_factors()
1651 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm8994.c2125 u64 Kpart; in wm8994_get_fll_config() local
2178 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in wm8994_get_fll_config()
2180 do_div(Kpart, freq_in); in wm8994_get_fll_config()
2182 K = Kpart & 0xFFFFFFFF; in wm8994_get_fll_config()