Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/x86/
H A 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/include/clocksource/
H A Dhyperv_timer.h76 scale = READ_ONCE(tsc_pg->tsc_scale); in hv_read_tsc_page_tsc()
/linux/arch/x86/coco/sev/
H A Dcore.c987 vmsa->tsc_scale = snp_tsc_scale; in wakeup_cpu_via_vmgexit()
2154 __func__, tsc_resp->status, tsc_resp->tsc_scale, tsc_resp->tsc_offset, in snp_get_tsc_info()
2158 snp_tsc_scale = tsc_resp->tsc_scale; in snp_get_tsc_info()
/linux/arch/x86/include/asm/
H A Dsev.h220 u64 tsc_scale; member
H A Dsvm.h428 u64 tsc_scale; member
/linux/arch/x86/kvm/
H A Dhyperv.c587 return mul_u64_u64_shr(tsc, hv->tsc_ref.tsc_scale, 64) in get_time_ref_counter()
1134 tsc_ref->tsc_scale = in compute_tsc_page_parameters()
1142 mul_u64_u64_shr(hv_clock->tsc_timestamp, tsc_ref->tsc_scale, 64); in compute_tsc_page_parameters()
/linux/include/hyperv/
H A Dhvgdk_mini.h581 volatile u64 tsc_scale; member
/linux/tools/arch/x86/kcpuid/
H A Dcpuid.csv837 0x8000000a, 0, edx, 4, tsc_scale , MSR based TSC rate control