Lines Matching refs:hypercall_msr

305 	union hv_x64_msr_hypercall_contents hypercall_msr;  in hv_suspend()  local
322 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
323 hypercall_msr.enable = 0; in hv_suspend()
324 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
332 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_resume() local
339 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
340 hypercall_msr.enable = 1; in hv_resume()
341 hypercall_msr.guest_physical_address = in hv_resume()
343 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
444 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_init() local
524 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
525 hypercall_msr.enable = 1; in hyperv_init()
541 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
544 src = memremap(hypercall_msr.guest_physical_address << PAGE_SHIFT, PAGE_SIZE, in hyperv_init()
552 hypercall_msr.guest_physical_address = vmalloc_to_pfn(hv_hypercall_pg); in hyperv_init()
553 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
638 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_cleanup() local
653 hypercall_msr.as_uint64 = hv_get_register(HV_X64_MSR_HYPERCALL); in hyperv_cleanup()
654 hypercall_msr.enable = 0; in hyperv_cleanup()
655 hv_set_register(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_cleanup()
697 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_is_hyperv_initialized() local
713 hypercall_msr.as_uint64 = 0; in hv_is_hyperv_initialized()
714 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_is_hyperv_initialized()
716 return hypercall_msr.enable; in hv_is_hyperv_initialized()