Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hv/
H A Dhv_util.c299 static inline u64 reftime_to_ns(u64 reftime) in reftime_to_ns() argument
301 return (reftime - WLTIMEDELTA) * 100; in reftime_to_ns()
311 u64 newtime, reftime, timediff_adj; in hv_get_adj_host_time() local
316 reftime = hv_read_reference_counter(); in hv_get_adj_host_time()
324 timediff_adj = reftime - host_ts.ref_time; in hv_get_adj_host_time()
360 static inline void adj_guesttime(u64 hosttime, u64 reftime, u8 adj_flags) in adj_guesttime() argument
382 host_ts.host_time += (cur_reftime - reftime); in adj_guesttime()