Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/qcom/venus/
Dvenc.c391 u64 us_per_frame, fps; in venc_s_parm() local
406 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()
Dvdec.c444 u64 us_per_frame, fps; in vdec_s_parm() local
458 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()
/linux-6.1.9/drivers/usb/dwc2/
Dhcd.c3789 unsigned int us_per_frame; in dwc2_hcd_get_future_frame_number() local
3796 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()