Lines Matching refs:tsc_msr
439 union hv_reference_tsc_msr tsc_msr; in suspend_hv_clock_tsc() local
442 tsc_msr.as_uint64 = hv_get_register(HV_REGISTER_REFERENCE_TSC); in suspend_hv_clock_tsc()
443 tsc_msr.enable = 0; in suspend_hv_clock_tsc()
444 hv_set_register(HV_REGISTER_REFERENCE_TSC, tsc_msr.as_uint64); in suspend_hv_clock_tsc()
450 union hv_reference_tsc_msr tsc_msr; in resume_hv_clock_tsc() local
453 tsc_msr.as_uint64 = hv_get_register(HV_REGISTER_REFERENCE_TSC); in resume_hv_clock_tsc()
454 tsc_msr.enable = 1; in resume_hv_clock_tsc()
455 tsc_msr.pfn = tsc_pfn; in resume_hv_clock_tsc()
456 hv_set_register(HV_REGISTER_REFERENCE_TSC, tsc_msr.as_uint64); in resume_hv_clock_tsc()
522 union hv_reference_tsc_msr tsc_msr; in hv_init_tsc_clocksource() local
558 tsc_msr.as_uint64 = hv_get_register(HV_REGISTER_REFERENCE_TSC); in hv_init_tsc_clocksource()
560 tsc_pfn = tsc_msr.pfn; in hv_init_tsc_clocksource()
563 tsc_msr.enable = 1; in hv_init_tsc_clocksource()
564 tsc_msr.pfn = tsc_pfn; in hv_init_tsc_clocksource()
565 hv_set_register(HV_REGISTER_REFERENCE_TSC, tsc_msr.as_uint64); in hv_init_tsc_clocksource()