Home
last modified time | relevance | path

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

/drivers/media/platform/qcom/venus/
Dvenc.c396 u64 us_per_frame, fps; in venc_s_parm() local
411 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()
Dvdec.c467 u64 us_per_frame, fps; in vdec_s_parm() local
481 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()
/drivers/usb/dwc2/
Dhcd.c3795 unsigned int us_per_frame; in dwc2_hcd_get_future_frame_number() local
3802 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()