Searched refs:timeperframe_vid_cap (Results 1 – 3 of 3) sorted by relevance
661 f_period = (u64)dev->timeperframe_vid_cap.numerator * 1000000000; in vivid_cap_update_frame_period()662 if (WARN_ON(dev->timeperframe_vid_cap.denominator == 0)) in vivid_cap_update_frame_period()663 dev->timeperframe_vid_cap.denominator = 1; in vivid_cap_update_frame_period()664 do_div(f_period, dev->timeperframe_vid_cap.denominator); in vivid_cap_update_frame_period()836 numerator = dev->timeperframe_vid_cap.numerator; in vivid_thread_vid_cap()837 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()1893 fival->discrete = dev->timeperframe_vid_cap; in vidioc_enum_frameintervals()1921 parm->parm.capture.timeperframe = dev->timeperframe_vid_cap; in vivid_vid_cap_g_parm()1955 dev->timeperframe_vid_cap = tpf; in vivid_vid_cap_s_parm()
399 struct v4l2_fract timeperframe_vid_cap; member