Searched refs:div_result (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/arch/powerpc/include/asm/ |
D | time.h | 40 struct div_result { struct 98 unsigned divisor, struct div_result *dr);
|
/linux-6.6.21/drivers/video/fbdev/ |
D | pxa168fb.c | 245 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() 560 u64 div_result; in pxa168fb_init_mode() local 586 div_result = 1000000000000ll; in pxa168fb_init_mode() 587 do_div(div_result, total_w * total_h * refresh); in pxa168fb_init_mode() 588 var->pixclock = (u32)div_result; in pxa168fb_init_mode()
|
/linux-6.6.21/drivers/video/fbdev/mmp/fb/ |
D | mmpfb.c | 226 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.6.21/drivers/usb/gadget/function/ |
D | u_audio.c | 160 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.6.21/arch/powerpc/kernel/ |
D | time.c | 885 struct div_result res; in time_init() 957 unsigned divisor, struct div_result *dr) in div128_by_32()
|