Lines Matching refs:cycle_now
286 u64 cycle_now, delta; in timekeeping_get_delta() local
289 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() local
798 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() local
1815 cycle_now = tk_clock_read(&tk->tkr_mono); in timekeeping_resume()
1816 nsec = clocksource_stop_suspend_timing(clock, cycle_now); in timekeeping_resume()
1831 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_resume()
1832 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_resume()
1855 u64 cycle_now; in timekeeping_suspend() local
1880 cycle_now = tk->tkr_mono.cycle_last; in timekeeping_suspend()
1881 clocksource_start_suspend_timing(curr_clock, cycle_now); in timekeeping_suspend()