Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c538 u64 f_period; in vivid_cap_update_frame_period() local
540 f_period = (u64)dev->timeperframe_vid_cap.numerator * 1000000000; in vivid_cap_update_frame_period()
543 do_div(f_period, dev->timeperframe_vid_cap.denominator); in vivid_cap_update_frame_period()
545 f_period >>= 1; in vivid_cap_update_frame_period()
550 dev->cap_frame_eof_offset = f_period * 9; in vivid_cap_update_frame_period()
552 dev->cap_frame_period = f_period; in vivid_cap_update_frame_period()