Lines Matching refs:x2
619 u32 x1, x2; in uvc_video_clock_update() local
640 x2 = last->dev_stc - delta_stc; in uvc_video_clock_update()
641 if (x1 == x2) in uvc_video_clock_update()
649 y = (u64)(y2 - y1) * (1ULL << 31) + (u64)y1 * (u64)x2 in uvc_video_clock_update()
651 y = div_u64(y, x2 - x1); in uvc_video_clock_update()
660 x1, x2, y1, y2, clock->sof_offset); in uvc_video_clock_update()
664 x2 = (uvc_video_clock_host_sof(last) + 2048) << 16; in uvc_video_clock_update()
665 if (x2 < x1) in uvc_video_clock_update()
666 x2 += 2048 << 16; in uvc_video_clock_update()
667 if (x1 == x2) in uvc_video_clock_update()
679 mean = (x1 + x2) / 2; in uvc_video_clock_update()
685 y = (u64)(y2 - y1) * (u64)sof + (u64)y1 * (u64)x2 in uvc_video_clock_update()
687 y = div_u64(y, x2 - x1); in uvc_video_clock_update()
705 x2, last->host_sof, last->dev_sof, y1, y2); in uvc_video_clock_update()