Lines Matching refs:hypercall_msr
363 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_suspend() local
380 rdmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
381 hypercall_msr.enable = 0; in hv_suspend()
382 wrmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
390 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_resume() local
397 rdmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
398 hypercall_msr.enable = 1; in hv_resume()
399 hypercall_msr.guest_physical_address = in hv_resume()
401 wrmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
454 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_init() local
532 rdmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
533 hypercall_msr.enable = 1; in hyperv_init()
549 wrmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
552 src = memremap(hypercall_msr.guest_physical_address << PAGE_SHIFT, PAGE_SIZE, in hyperv_init()
561 hypercall_msr.guest_physical_address = vmalloc_to_pfn(hv_hypercall_pg); in hyperv_init()
562 wrmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
628 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_cleanup() local
647 hypercall_msr.as_uint64 = hv_get_msr(HV_X64_MSR_HYPERCALL); in hyperv_cleanup()
648 hypercall_msr.enable = 0; in hyperv_cleanup()
649 hv_set_msr(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_cleanup()
691 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_is_hyperv_initialized() local
707 hypercall_msr.as_uint64 = 0; in hv_is_hyperv_initialized()
708 rdmsrq(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_is_hyperv_initialized()
710 return hypercall_msr.enable; in hv_is_hyperv_initialized()