Searched refs:hyp_clock (Results 1 – 1 of 1) sorted by relevance
40 } hyp_clock; variable45 struct hyp_trace_clock *hyp_clock; in __hyp_clock_work() local50 hyp_clock = container_of(dwork, struct hyp_trace_clock, work); in __hyp_clock_work()55 delta_boot = boot - hyp_clock->boot; in __hyp_clock_work()56 delta_cycles = snap.cycles - hyp_clock->cycles; in __hyp_clock_work()59 if (hyp_clock->mult) { in __hyp_clock_work()62 if (WARN_ON_ONCE(cur >= hyp_clock->cyc_overflow64)) { in __hyp_clock_work()63 __uint128_t tmp = (__uint128_t)cur * hyp_clock->mult; in __hyp_clock_work()65 cur = tmp >> hyp_clock->shift; in __hyp_clock_work()67 cur *= hyp_clock->mult; in __hyp_clock_work()[all …]