Home
last modified time | relevance | path

Searched refs:tsc_scale (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dhyperv_clock.c15 volatile u64 tsc_scale; member
81 return mul_u64_u64_shr64(rdtsc(), tsc_page->tsc_scale) + tsc_page->tsc_offset; in get_tscpage_ts()
103 u64 tsc_scale, tsc_offset; in guest_main() local
117 GUEST_ASSERT(tsc_page->tsc_scale == 0); in guest_main()
150 tsc_scale = tsc_page->tsc_scale; in guest_main()
153 GUEST_ASSERT(tsc_page->tsc_scale == tsc_scale); in guest_main()
171 GUEST_ASSERT(tsc_page->tsc_scale == 0); in guest_main()
/linux-6.12.1/include/clocksource/
Dhyperv_timer.h74 scale = READ_ONCE(tsc_pg->tsc_scale); in hv_read_tsc_page_tsc()
/linux-6.12.1/include/asm-generic/
Dhyperv-tlfs.h101 volatile u64 tsc_scale; member
/linux-6.12.1/arch/x86/kvm/
Dhyperv.c583 return mul_u64_u64_shr(tsc, hv->tsc_ref.tsc_scale, 64) in get_time_ref_counter()
1131 tsc_ref->tsc_scale = in compute_tsc_page_parameters()
1139 mul_u64_u64_shr(hv_clock->tsc_timestamp, tsc_ref->tsc_scale, 64); in compute_tsc_page_parameters()
/linux-6.12.1/tools/arch/x86/kcpuid/
Dcpuid.csv834 0x8000000a, 0, edx, 4, tsc_scale , MSR based TSC rate control