Searched refs:us_per_frame (Results 1 – 3 of 3) sorted by relevance
396 u64 us_per_frame, fps; in venc_s_parm() local411 us_per_frame = timeperframe->numerator * (u64)USEC_PER_SEC; in venc_s_parm()412 do_div(us_per_frame, timeperframe->denominator); in venc_s_parm()414 if (!us_per_frame) in venc_s_parm()418 do_div(fps, us_per_frame); in venc_s_parm()
467 u64 us_per_frame, fps; in vdec_s_parm() local481 us_per_frame = timeperframe->numerator * (u64)USEC_PER_SEC; in vdec_s_parm()482 do_div(us_per_frame, timeperframe->denominator); in vdec_s_parm()484 if (!us_per_frame) in vdec_s_parm()488 do_div(fps, us_per_frame); in vdec_s_parm()
3795 unsigned int us_per_frame; in dwc2_hcd_get_future_frame_number() local3802 us_per_frame = (hprt & HPRT0_SPD_MASK) ? 1000 : 125; in dwc2_hcd_get_future_frame_number()3814 DIV_ROUND_UP(interval * us, us_per_frame); in dwc2_hcd_get_future_frame_number()