Searched refs:timeperframe_vid_cap (Results 1 – 3 of 3) sorted by relevance
663 f_period = (u64)dev->timeperframe_vid_cap.numerator * 1000000000; in vivid_cap_update_frame_period()664 if (WARN_ON(dev->timeperframe_vid_cap.denominator == 0)) in vivid_cap_update_frame_period()665 dev->timeperframe_vid_cap.denominator = 1; in vivid_cap_update_frame_period()666 do_div(f_period, dev->timeperframe_vid_cap.denominator); in vivid_cap_update_frame_period()838 numerator = dev->timeperframe_vid_cap.numerator; in vivid_thread_vid_cap()839 denominator = dev->timeperframe_vid_cap.denominator; in vivid_thread_vid_cap()
392 dev->timeperframe_vid_cap = webcam_intervals[dev->webcam_ival_idx]; in vivid_update_format_cap()402 dev->timeperframe_vid_cap = (struct v4l2_fract) { 1001, 30000 }; in vivid_update_format_cap()406 dev->timeperframe_vid_cap = (struct v4l2_fract) { 1000, 25000 }; in vivid_update_format_cap()422 dev->timeperframe_vid_cap = (struct v4l2_fract) { in vivid_update_format_cap()1889 fival->discrete = dev->timeperframe_vid_cap; in vidioc_enum_frameintervals()1917 parm->parm.capture.timeperframe = dev->timeperframe_vid_cap; in vivid_vid_cap_g_parm()1951 dev->timeperframe_vid_cap = tpf; in vivid_vid_cap_s_parm()
401 struct v4l2_fract timeperframe_vid_cap; member