Lines Matching refs:hypercall_msr

261 	union hv_x64_msr_hypercall_contents hypercall_msr;  in hv_suspend()  local
275 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
276 hypercall_msr.enable = 0; in hv_suspend()
277 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
285 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_resume() local
292 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
293 hypercall_msr.enable = 1; in hv_resume()
294 hypercall_msr.guest_physical_address = in hv_resume()
296 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
326 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_init() local
387 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
388 hypercall_msr.enable = 1; in hyperv_init()
389 hypercall_msr.guest_physical_address = vmalloc_to_pfn(hv_hypercall_pg); in hyperv_init()
390 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
421 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_cleanup() local
436 hypercall_msr.as_uint64 = 0; in hyperv_cleanup()
437 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_cleanup()
440 hypercall_msr.as_uint64 = 0; in hyperv_cleanup()
441 wrmsrl(HV_X64_MSR_REFERENCE_TSC, hypercall_msr.as_uint64); in hyperv_cleanup()
506 union hv_x64_msr_hypercall_contents hypercall_msr; in hv_is_hyperv_initialized() local
519 hypercall_msr.as_uint64 = 0; in hv_is_hyperv_initialized()
520 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_is_hyperv_initialized()
522 return hypercall_msr.enable; in hv_is_hyperv_initialized()