Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dtime.h36 struct div_result { struct
124 unsigned divisor, struct div_result *dr);
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dpxa168fb.c245 u64 div_result; in set_clock_divider() local
270 div_result = 1000000000000ll; in set_clock_divider()
271 do_div(div_result, m->pixclock); in set_clock_divider()
272 needed_pixclk = (u32)div_result; in set_clock_divider()
562 u64 div_result; in pxa168fb_init_mode() local
588 div_result = 1000000000000ll; in pxa168fb_init_mode()
589 do_div(div_result, total_w * total_h * refresh); in pxa168fb_init_mode()
590 var->pixclock = (u32)div_result; in pxa168fb_init_mode()
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/fb/
Dmmpfb.c226 u64 div_result = 1000000000000ll; in fbmode_to_mmpmode() local
232 do_div(div_result, videomode->pixclock); in fbmode_to_mmpmode()
233 mode->pixclock_freq = (u32)div_result; in fbmode_to_mmpmode()
251 u64 div_result = 1000000000000ll; in mmpmode_to_fbmode() local
258 do_div(div_result, mode->pixclock_freq); in mmpmode_to_fbmode()
259 videomode->pixclock = (u32)div_result; in mmpmode_to_fbmode()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dtime.c157 struct div_result res; in calc_cputime_factors()
1037 struct div_result res; in time_init()
1107 unsigned divisor, struct div_result *dr) in div128_by_32()