Searched refs:cycle_now (Results 1 – 3 of 3) 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()1792 u64 cycle_now, nsec; in timekeeping_resume() local1815 cycle_now = tk_clock_read(&tk->tkr_mono); in timekeeping_resume()[all …]
824 u64 clocksource_stop_suspend_timing(struct clocksource *cs, u64 cycle_now) in clocksource_stop_suspend_timing() argument837 now = cycle_now; in clocksource_stop_suspend_timing()