Home
last modified time | relevance | path

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

/linux-3.4.99/sound/soc/codecs/
Dwm8974.c281 unsigned long long Kpart; in pll_factors() local
302 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
304 do_div(Kpart, source); in pll_factors()
306 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8510.c230 unsigned long long Kpart; in pll_factors() local
248 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
250 do_div(Kpart, source); in pll_factors()
252 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8940.c508 unsigned long long Kpart; in pll_factors() local
538 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
540 do_div(Kpart, source); in pll_factors()
542 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8804.c323 u64 Kpart; in pll_factors() local
363 Kpart = FIXED_PLL_SIZE * (u64)Nmod; in pll_factors()
365 do_div(Kpart, source); in pll_factors()
367 K = Kpart & 0xffffffff; in pll_factors()
Dwm8580.c320 u64 Kpart; in pll_factors() local
362 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
364 do_div(Kpart, source); in pll_factors()
366 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8955.c149 u64 Kpart; in wm8995_pll_factors() local
178 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in wm8995_pll_factors()
180 do_div(Kpart, Fref); in wm8995_pll_factors()
182 K = Kpart & 0xFFFFFFFF; in wm8995_pll_factors()
Dwm8960.c720 unsigned long long Kpart; in pll_factors() local
743 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
745 do_div(Kpart, source); in pll_factors()
747 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8983.c814 u64 Kpart; in pll_factors() local
833 Kpart = FIXED_PLL_SIZE * (u64)Nmod; in pll_factors()
835 do_div(Kpart, source); in pll_factors()
837 K = Kpart & 0xffffffff; in pll_factors()
Dwm8985.c792 u64 Kpart; in pll_factors() local
811 Kpart = FIXED_PLL_SIZE * (u64)Nmod; in pll_factors()
813 do_div(Kpart, source); in pll_factors()
815 K = Kpart & 0xffffffff; in pll_factors()
Dwm8991.c929 u64 Kpart; in pll_factors() local
947 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
949 do_div(Kpart, source); in pll_factors()
951 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8990.c946 u64 Kpart; in pll_factors() local
964 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
966 do_div(Kpart, source); in pll_factors()
968 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8900.c667 u64 Kpart; in fll_factors() local
710 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
712 do_div(Kpart, Fref); in fll_factors()
714 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm9081.c475 u64 Kpart; in fll_factors() local
535 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
537 do_div(Kpart, Fref); in fll_factors()
539 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm9713.c694 u64 Kpart; in pll_factors() local
733 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
735 do_div(Kpart, source); in pll_factors()
737 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8400.c931 u64 Kpart; in fll_factors() local
976 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
978 do_div(Kpart, (Fref * factors->fratio)); in fll_factors()
980 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm8753.c715 u64 Kpart; in pll_factors() local
732 Kpart = FIXED_PLL_SIZE * (long long)Nmod; in pll_factors()
734 do_div(Kpart, source); in pll_factors()
736 K = Kpart & 0xFFFFFFFF; in pll_factors()
Dwm8350.c1032 u64 Kpart; in fll_factors() local
1060 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
1061 do_div(Kpart, t2); in fll_factors()
1062 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm8993.c389 u64 Kpart; in fll_factors() local
450 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
452 do_div(Kpart, Fref); in fll_factors()
454 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm8995.c1741 u64 Kpart; in wm8995_get_fll_config() local
1792 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in wm8995_get_fll_config()
1794 do_div(Kpart, freq_in); in wm8995_get_fll_config()
1796 K = Kpart & 0xFFFFFFFF; in wm8995_get_fll_config()
Dwm8904.c1600 u64 Kpart; in fll_factors() local
1660 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in fll_factors()
1662 do_div(Kpart, Fref); in fll_factors()
1664 K = Kpart & 0xFFFFFFFF; in fll_factors()
Dwm8994.c2051 u64 Kpart; in wm8994_get_fll_config() local
2102 Kpart = FIXED_FLL_SIZE * (long long)Nmod; in wm8994_get_fll_config()
2104 do_div(Kpart, freq_in); in wm8994_get_fll_config()
2106 K = Kpart & 0xFFFFFFFF; in wm8994_get_fll_config()