Lines Matching refs:hypercall_msr
241 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_suspend() local
258 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
259 hypercall_msr.enable = 0; in hv_suspend()
260 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
268 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_resume() local
275 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
276 hypercall_msr.enable = 1; in hv_resume()
277 hypercall_msr.guest_physical_address = in hv_resume()
279 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
346 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_init() local
391 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
392 hypercall_msr.enable = 1; in hyperv_init()
408 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
412 src = memremap(hypercall_msr.guest_physical_address << PAGE_SHIFT, PAGE_SIZE, in hyperv_init()
419 hypercall_msr.guest_physical_address = vmalloc_to_pfn(hv_hypercall_pg); in hyperv_init()
420 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
473 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_cleanup() local
488 hypercall_msr.as_uint64 = 0; in hyperv_cleanup()
489 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_cleanup()
492 hypercall_msr.as_uint64 = 0; in hyperv_cleanup()
493 wrmsrl(HV_X64_MSR_REFERENCE_TSC, hypercall_msr.as_uint64); in hyperv_cleanup()
530 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_is_hyperv_initialized() local
543 hypercall_msr.as_uint64 = 0; in hv_is_hyperv_initialized()
544 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_is_hyperv_initialized()
546 return hypercall_msr.enable; in hv_is_hyperv_initialized()