Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c662 u64 f_period; in vivid_cap_update_frame_period() local
664 f_period = (u64)dev->timeperframe_vid_cap.numerator * 1000000000; in vivid_cap_update_frame_period()
667 do_div(f_period, dev->timeperframe_vid_cap.denominator); in vivid_cap_update_frame_period()
669 f_period >>= 1; in vivid_cap_update_frame_period()
674 dev->cap_frame_eof_offset = f_period * 9; in vivid_cap_update_frame_period()
676 dev->cap_frame_period = f_period; in vivid_cap_update_frame_period()