Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/vivid/
Dvivid-kthread-cap.c660 f_period = (u64)dev->timeperframe_vid_cap.numerator * 1000000000; in vivid_cap_update_frame_period()
661 if (WARN_ON(dev->timeperframe_vid_cap.denominator == 0)) in vivid_cap_update_frame_period()
662 dev->timeperframe_vid_cap.denominator = 1; in vivid_cap_update_frame_period()
663 do_div(f_period, dev->timeperframe_vid_cap.denominator); in vivid_cap_update_frame_period()
810 numerator = dev->timeperframe_vid_cap.numerator; in vivid_thread_vid_cap()
811 denominator = dev->timeperframe_vid_cap.denominator; in vivid_thread_vid_cap()
Dvivid-vid-cap.c395 dev->timeperframe_vid_cap = webcam_intervals[dev->webcam_ival_idx]; in vivid_update_format_cap()
405 dev->timeperframe_vid_cap = (struct v4l2_fract) { 1001, 30000 }; in vivid_update_format_cap()
409 dev->timeperframe_vid_cap = (struct v4l2_fract) { 1000, 25000 }; in vivid_update_format_cap()
425 dev->timeperframe_vid_cap = (struct v4l2_fract) { in vivid_update_format_cap()
1851 fival->discrete = dev->timeperframe_vid_cap; in vidioc_enum_frameintervals()
1879 parm->parm.capture.timeperframe = dev->timeperframe_vid_cap; in vivid_vid_cap_g_parm()
1913 dev->timeperframe_vid_cap = tpf; in vivid_vid_cap_s_parm()
Dvivid-core.h382 struct v4l2_fract timeperframe_vid_cap; member