Home
last modified time | relevance | path

Searched refs:clock_pair (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ptp/
H A Dptp_kvm_x86.c21 static struct kvm_clock_pairing *clock_pair; variable
36 clock_pair = page_address(p); in kvm_arch_ptp_init()
37 ret = set_memory_decrypted((unsigned long)clock_pair, 1); in kvm_arch_ptp_init()
40 clock_pair = NULL; in kvm_arch_ptp_init()
44 clock_pair = &clock_pair_glbl; in kvm_arch_ptp_init()
47 clock_pair_gpa = slow_virt_to_phys(clock_pair); in kvm_arch_ptp_init()
71 WARN_ON(set_memory_encrypted((unsigned long)clock_pair, 1)); in kvm_arch_ptp_exit()
72 free_page((unsigned long)clock_pair); in kvm_arch_ptp_exit()
73 clock_pair = NULL; in kvm_arch_ptp_exit()
89 ts->tv_sec = clock_pair->sec; in kvm_arch_ptp_get_clock()
[all …]