Searched refs:host_ns (Results 1 – 1 of 1) sorted by relevance
41 int64_t host_ns = qemu_clock_get_ns(rtc_clock); in spapr_rtc_read() local47 guest_ns = host_ns + rtc->ns_offset; in spapr_rtc_read()103 int64_t host_ns; in rtas_set_time_of_day() local127 host_ns = qemu_clock_get_ns(rtc_clock); in rtas_set_time_of_day()129 rtc->ns_offset = (new_s * NANOSECONDS_PER_SECOND) - host_ns; in rtas_set_time_of_day()