Lines Matching refs:hypercall_msr

319 	union hv_x64_msr_hypercall_contents hypercall_msr;  in hv_suspend()  local
336 rdmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
337 hypercall_msr.enable = 0; in hv_suspend()
338 wrmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
346 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_resume() local
353 rdmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
354 hypercall_msr.enable = 1; in hv_resume()
355 hypercall_msr.guest_physical_address = in hv_resume()
357 wrmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
406 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_init() local
486 rdmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
487 hypercall_msr.enable = 1; in hyperv_init()
503 wrmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
506 src = memremap(hypercall_msr.guest_physical_address << PAGE_SHIFT, PAGE_SIZE, in hyperv_init()
514 hypercall_msr.guest_physical_address = vmalloc_to_pfn(hv_hypercall_pg); in hyperv_init()
515 wrmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
596 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_cleanup() local
611 hypercall_msr.as_uint64 = hv_get_msr(HV_X64_MSR_HYPERCALL); in hyperv_cleanup()
612 hypercall_msr.enable = 0; in hyperv_cleanup()
613 hv_set_msr(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_cleanup()
655 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_is_hyperv_initialized() local
671 hypercall_msr.as_uint64 = 0; in hv_is_hyperv_initialized()
672 rdmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_is_hyperv_initialized()
674 return hypercall_msr.enable; in hv_is_hyperv_initialized()