Lines Matching refs:hypercall_msr
270 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_suspend() local
284 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
285 hypercall_msr.enable = 0; in hv_suspend()
286 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
294 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_resume() local
301 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
302 hypercall_msr.enable = 1; in hv_resume()
303 hypercall_msr.guest_physical_address = in hv_resume()
305 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
354 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_init() local
415 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
416 hypercall_msr.enable = 1; in hyperv_init()
417 hypercall_msr.guest_physical_address = vmalloc_to_pfn(hv_hypercall_pg); in hyperv_init()
418 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
454 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_cleanup() local
469 hypercall_msr.as_uint64 = 0; in hyperv_cleanup()
470 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_cleanup()
473 hypercall_msr.as_uint64 = 0; in hyperv_cleanup()
474 wrmsrl(HV_X64_MSR_REFERENCE_TSC, hypercall_msr.as_uint64); in hyperv_cleanup()
539 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_is_hyperv_initialized() local
552 hypercall_msr.as_uint64 = 0; in hv_is_hyperv_initialized()
553 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_is_hyperv_initialized()
555 return hypercall_msr.enable; in hv_is_hyperv_initialized()