Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c562 u64 f_period; in vivid_cap_update_frame_period() local
564 f_period = (u64)dev->timeperframe_vid_cap.numerator * 1000000000; in vivid_cap_update_frame_period()
567 do_div(f_period, dev->timeperframe_vid_cap.denominator); in vivid_cap_update_frame_period()
569 f_period >>= 1; in vivid_cap_update_frame_period()
574 dev->cap_frame_eof_offset = f_period * 9; in vivid_cap_update_frame_period()
576 dev->cap_frame_period = f_period; in vivid_cap_update_frame_period()