Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A 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()
H A Dwm8804.c346 u64 Kpart; in pll_factors() local
387 Kpart = FIXED_PLL_SIZE * (u64)Nmod; in pll_factors()
389 do_div(Kpart, source); in pll_factors()
391 K = Kpart & 0xffffffff; in pll_factors()
H A 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()
H A Dwm8940.c535 unsigned long long Kpart; in pll_factors() local
565 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
567 do_div(Kpart, source); in pll_factors()
569 K = Kpart & 0xFFFFFFFF; in pll_factors()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dwm8960.c1166 unsigned long long Kpart; in pll_factors() local
1189 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
1191 do_div(Kpart, source); in pll_factors()
1193 K = Kpart & 0xFFFFFFFF; in pll_factors()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()