Lines Matching refs:hv_clock
1042 static bool compute_tsc_page_parameters(struct pvclock_vcpu_time_info *hv_clock,
1047 if (!(hv_clock->flags & PVCLOCK_TSC_STABLE_BIT))
1056 max_mul = 100ull << (32 - hv_clock->tsc_shift);
1057 if (hv_clock->tsc_to_system_mul >= max_mul)
1065 mul_u64_u32_div(1ULL << (32 + hv_clock->tsc_shift),
1066 hv_clock->tsc_to_system_mul,
1069 tsc_ref->tsc_offset = hv_clock->system_time;
1072 mul_u64_u64_shr(hv_clock->tsc_timestamp, tsc_ref->tsc_scale, 64);
1077 struct pvclock_vcpu_time_info *hv_clock)
1111 if (!compute_tsc_page_parameters(hv_clock, &hv->tsc_ref))