Searched refs:cycle_now (Results 1 – 4 of 4) sorted by relevance
33 u64 cycle_now, cycle_delta; in timecounter_read_delta() local37 cycle_now = tc->cc->read(tc->cc); in timecounter_read_delta()40 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc->mask; in timecounter_read_delta()47 tc->cycle_last = cycle_now; in timecounter_read_delta()
286 u64 cycle_now, delta; in timekeeping_get_delta() local289 cycle_now = tk_clock_read(tkr); in timekeeping_get_delta()292 delta = clocksource_delta(cycle_now, tkr->cycle_last, tkr->mask); in timekeeping_get_delta()796 u64 cycle_now, delta; in timekeeping_forward_now() local798 cycle_now = tk_clock_read(&tk->tkr_mono); in timekeeping_forward_now()799 delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask); in timekeeping_forward_now()800 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_forward_now()801 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_forward_now()1783 u64 cycle_now, nsec; in timekeeping_resume() local1806 cycle_now = tk_clock_read(&tk->tkr_mono); in timekeeping_resume()[all …]
835 u64 clocksource_stop_suspend_timing(struct clocksource *cs, u64 cycle_now) in clocksource_stop_suspend_timing() argument848 now = cycle_now; in clocksource_stop_suspend_timing()
120 u64 cycle_now; in __arch_get_hw_counter() local131 cycle_now = read_sysreg(CNTVCT); in __arch_get_hw_counter()133 return cycle_now; in __arch_get_hw_counter()