Home
last modified time | relevance | path

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

/drivers/clocksource/
Dhyperv_timer.c398 u64 tsc_msr; in suspend_hv_clock_tsc() local
401 tsc_msr = hv_get_register(HV_REGISTER_REFERENCE_TSC); in suspend_hv_clock_tsc()
402 tsc_msr &= ~BIT_ULL(0); in suspend_hv_clock_tsc()
403 hv_set_register(HV_REGISTER_REFERENCE_TSC, tsc_msr); in suspend_hv_clock_tsc()
410 u64 tsc_msr; in resume_hv_clock_tsc() local
413 tsc_msr = hv_get_register(HV_REGISTER_REFERENCE_TSC); in resume_hv_clock_tsc()
414 tsc_msr &= GENMASK_ULL(11, 0); in resume_hv_clock_tsc()
415 tsc_msr |= BIT_ULL(0) | (u64)phys_addr; in resume_hv_clock_tsc()
416 hv_set_register(HV_REGISTER_REFERENCE_TSC, tsc_msr); in resume_hv_clock_tsc()
498 u64 tsc_msr; in hv_init_tsc_clocksource() local
[all …]