Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/include/asm/
Dtime.h40 struct div_result { struct
98 unsigned divisor, struct div_result *dr);
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/usb/gadget/function/
Du_audio.c160 residue_frames_mil, div_result; in u_audio_iso_complete() local
203 div_result = pitched_rate_mil; in u_audio_iso_complete()
204 do_div(div_result, uac->p_interval); in u_audio_iso_complete()
205 do_div(div_result, 1000000); in u_audio_iso_complete()
206 frames = (unsigned int) div_result; in u_audio_iso_complete()
229 div_result = uac->p_residue_mil; in u_audio_iso_complete()
230 do_div(div_result, uac->p_interval); in u_audio_iso_complete()
231 do_div(div_result, 1000000); in u_audio_iso_complete()
232 if ((unsigned int) div_result >= uac->p_framesize) { in u_audio_iso_complete()
/linux-6.1.9/arch/powerpc/kernel/
Dtime.c162 struct div_result res; in calc_cputime_factors()
903 struct div_result res; in time_init()
972 unsigned divisor, struct div_result *dr) in div128_by_32()