Lines Matching refs:x2
611 u32 x1, x2; in uvc_video_clock_update() local
629 x2 = last->dev_stc - delta_stc; in uvc_video_clock_update()
630 if (x1 == x2) in uvc_video_clock_update()
638 y = (u64)(y2 - y1) * (1ULL << 31) + (u64)y1 * (u64)x2 in uvc_video_clock_update()
640 y = div_u64(y, x2 - x1); in uvc_video_clock_update()
649 x1, x2, y1, y2, clock->sof_offset); in uvc_video_clock_update()
653 x2 = (uvc_video_clock_host_sof(last) + 2048) << 16; in uvc_video_clock_update()
654 if (x2 < x1) in uvc_video_clock_update()
655 x2 += 2048 << 16; in uvc_video_clock_update()
656 if (x1 == x2) in uvc_video_clock_update()
668 mean = (x1 + x2) / 2; in uvc_video_clock_update()
674 y = (u64)(y2 - y1) * (u64)sof + (u64)y1 * (u64)x2 in uvc_video_clock_update()
676 y = div_u64(y, x2 - x1); in uvc_video_clock_update()
694 x2, last->host_sof, last->dev_sof, y1, y2); in uvc_video_clock_update()