Lines Matching refs:x2
666 u32 x1, x2; in uvc_video_clock_update() local
693 x2 = last->dev_stc - delta_stc; in uvc_video_clock_update()
694 if (x1 == x2) in uvc_video_clock_update()
702 y = (u64)(y2 - y1) * (1ULL << 31) + (u64)y1 * (u64)x2 in uvc_video_clock_update()
704 y = div_u64(y, x2 - x1); in uvc_video_clock_update()
713 x1, x2, y1, y2, clock->sof_offset); in uvc_video_clock_update()
717 x2 = (uvc_video_clock_host_sof(last) + 2048) << 16; in uvc_video_clock_update()
718 if (x2 < x1) in uvc_video_clock_update()
719 x2 += 2048 << 16; in uvc_video_clock_update()
720 if (x1 == x2) in uvc_video_clock_update()
731 mean = (x1 + x2) / 2; in uvc_video_clock_update()
737 y = (u64)(y2 - y1) * (u64)sof + (u64)y1 * (u64)x2 in uvc_video_clock_update()
739 y = div_u64(y, x2 - x1); in uvc_video_clock_update()
749 x2, last->host_sof, last->dev_sof, y1, y2); in uvc_video_clock_update()