Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c664 f_period = (u64)dev->timeperframe_vid_cap.numerator * 1000000000; in vivid_cap_update_frame_period()
665 if (WARN_ON(dev->timeperframe_vid_cap.denominator == 0)) in vivid_cap_update_frame_period()
666 dev->timeperframe_vid_cap.denominator = 1; in vivid_cap_update_frame_period()
667 do_div(f_period, dev->timeperframe_vid_cap.denominator); in vivid_cap_update_frame_period()
842 numerator = dev->timeperframe_vid_cap.numerator; in vivid_thread_vid_cap()
843 denominator = dev->timeperframe_vid_cap.denominator; in vivid_thread_vid_cap()
Dvivid-vid-cap.c393 dev->timeperframe_vid_cap = webcam_intervals[dev->webcam_ival_idx]; in vivid_update_format_cap()
403 dev->timeperframe_vid_cap = (struct v4l2_fract) { 1001, 30000 }; in vivid_update_format_cap()
407 dev->timeperframe_vid_cap = (struct v4l2_fract) { 1000, 25000 }; in vivid_update_format_cap()
423 dev->timeperframe_vid_cap = (struct v4l2_fract) { in vivid_update_format_cap()
1901 fival->discrete = dev->timeperframe_vid_cap; in vidioc_enum_frameintervals()
1929 parm->parm.capture.timeperframe = dev->timeperframe_vid_cap; in vivid_vid_cap_g_parm()
1963 dev->timeperframe_vid_cap = tpf; in vivid_vid_cap_s_parm()
Dvivid-core.h400 struct v4l2_fract timeperframe_vid_cap; member