Searched refs:us_per_frame (Results 1 – 3 of 3) sorted by relevance
391 u64 us_per_frame, fps; in venc_s_parm() local406 us_per_frame = timeperframe->numerator * (u64)USEC_PER_SEC; in venc_s_parm()407 do_div(us_per_frame, timeperframe->denominator); in venc_s_parm()409 if (!us_per_frame) in venc_s_parm()413 do_div(fps, us_per_frame); in venc_s_parm()
444 u64 us_per_frame, fps; in vdec_s_parm() local458 us_per_frame = timeperframe->numerator * (u64)USEC_PER_SEC; in vdec_s_parm()459 do_div(us_per_frame, timeperframe->denominator); in vdec_s_parm()461 if (!us_per_frame) in vdec_s_parm()465 do_div(fps, us_per_frame); in vdec_s_parm()
3789 unsigned int us_per_frame; in dwc2_hcd_get_future_frame_number() local3796 us_per_frame = (hprt & HPRT0_SPD_MASK) ? 1000 : 125; in dwc2_hcd_get_future_frame_number()3808 DIV_ROUND_UP(interval * us, us_per_frame); in dwc2_hcd_get_future_frame_number()