Lines Matching refs:hypercall_msr

321 	union hv_x64_msr_hypercall_contents hypercall_msr;  in hv_suspend()  local
338 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
339 hypercall_msr.enable = 0; in hv_suspend()
340 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
348 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_resume() local
355 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
356 hypercall_msr.enable = 1; in hv_resume()
357 hypercall_msr.guest_physical_address = in hv_resume()
359 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
460 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_init() local
540 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
541 hypercall_msr.enable = 1; in hyperv_init()
557 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
560 src = memremap(hypercall_msr.guest_physical_address << PAGE_SHIFT, PAGE_SIZE, in hyperv_init()
568 hypercall_msr.guest_physical_address = vmalloc_to_pfn(hv_hypercall_pg); in hyperv_init()
569 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
652 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_cleanup() local
667 hypercall_msr.as_uint64 = hv_get_register(HV_X64_MSR_HYPERCALL); in hyperv_cleanup()
668 hypercall_msr.enable = 0; in hyperv_cleanup()
669 hv_set_register(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_cleanup()
711 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_is_hyperv_initialized() local
727 hypercall_msr.as_uint64 = 0; in hv_is_hyperv_initialized()
728 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_is_hyperv_initialized()
730 return hypercall_msr.enable; in hv_is_hyperv_initialized()