Home
last modified time | relevance | path

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

/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()
/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()
/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()