Home
last modified time | relevance | path

Searched refs:div_result (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/powerpc/include/asm/
Dtime.h39 struct div_result { struct
194 unsigned divisor, struct div_result *dr);
/Linux-v4.19/drivers/video/fbdev/
Dpxa168fb.c249 u64 div_result; in set_clock_divider() local
274 div_result = 1000000000000ll; in set_clock_divider()
275 do_div(div_result, m->pixclock); in set_clock_divider()
276 needed_pixclk = (u32)div_result; in set_clock_divider()
570 u64 div_result; in pxa168fb_init_mode() local
596 div_result = 1000000000000ll; in pxa168fb_init_mode()
597 do_div(div_result, total_w * total_h * refresh); in pxa168fb_init_mode()
598 var->pixclock = (u32)div_result; in pxa168fb_init_mode()
/Linux-v4.19/drivers/video/fbdev/mmp/fb/
Dmmpfb.c241 u64 div_result = 1000000000000ll; in fbmode_to_mmpmode() local
247 do_div(div_result, videomode->pixclock); in fbmode_to_mmpmode()
248 mode->pixclock_freq = (u32)div_result; in fbmode_to_mmpmode()
266 u64 div_result = 1000000000000ll; in mmpmode_to_fbmode() local
273 do_div(div_result, mode->pixclock_freq); in mmpmode_to_fbmode()
274 videomode->pixclock = (u32)div_result; in mmpmode_to_fbmode()
/Linux-v4.19/arch/powerpc/kernel/
Dtime.c168 struct div_result res; in calc_cputime_factors()
1070 struct div_result res; in time_init()
1146 unsigned divisor, struct div_result *dr) in div128_by_32()