Home
last modified time | relevance | path

Searched refs:frac (Results 1 – 5 of 5) sorted by relevance

/arch/sh/kernel/cpu/sh2a/
Dfpu.c205 int frac; in denormal_subf1() local
218 frac = (ix & 0x007fffff) | 0x00800000; in denormal_subf1()
219 frac -= iy; in denormal_subf1()
220 while (frac < 0x00800000) { in denormal_subf1()
222 return frac; in denormal_subf1()
223 frac <<= 1; in denormal_subf1()
226 return (exp << 23) | (frac & 0x007fffff); in denormal_subf1()
232 int frac; in denormal_addf1() local
245 frac = (ix & 0x007fffff) | 0x00800000; in denormal_addf1()
246 frac += iy; in denormal_addf1()
[all …]
/arch/mips/ath79/
Dclock.c222 u32 frac, u32 out_div) in ar934x_get_pll_freq() argument
234 do_div(t, ref_div * frac); in ar934x_get_pll_freq()
247 u32 pll, out_div, ref_div, nint, nfrac, frac, clk_ctrl, postdiv; in ar934x_clocks_init() local
270 frac = 1 << 18; in ar934x_clocks_init()
281 frac = 1 << 6; in ar934x_clocks_init()
285 nfrac, frac, out_div); in ar934x_clocks_init()
297 frac = 1 << 18; in ar934x_clocks_init()
308 frac = 1 << 10; in ar934x_clocks_init()
312 nfrac, frac, out_div); in ar934x_clocks_init()
363 u32 pll, out_div, ref_div, nint, frac, clk_ctrl, postdiv; in qca955x_clocks_init() local
[all …]
/arch/powerpc/include/asm/
Dcputime.h162 unsigned int frac; in cputime_to_timespec() local
164 frac = do_div(x, tb_ticks_per_sec); in cputime_to_timespec()
166 x = (u64) frac * 1000000000; in cputime_to_timespec()
186 unsigned int frac; in cputime_to_timeval() local
188 frac = do_div(x, tb_ticks_per_sec); in cputime_to_timeval()
190 x = (u64) frac * 1000000; in cputime_to_timeval()
/arch/powerpc/kernel/
Dvecemu.c39 unsigned int mant, frac; in eexp2() local
73 asm("mulhwu %0,%1,%2" : "=r" (frac) in eexp2()
75 asm("mulhwu %0,%1,%2" : "=r" (frac) : "r" (frac), "r" (mant)); in eexp2()
76 mant += frac; in eexp2()
93 int exp, mant, lz, frac; in elog2() local
133 asm("mulhwu %0,%1,%2" : "=r" (frac) in elog2()
135 exp += frac; in elog2()
/arch/alpha/kernel/
Dtraps.c700 unsigned long frac = (s_mem >> 0) & 0x7fffff; in s_mem_to_reg() local
718 return (sign << 63) | (exp << 52) | (frac << 29); in s_mem_to_reg()