Searched refs:cycle_now (Results 1 – 2 of 2) sorted by relevance
44 cycle_t cycle_now, cycle_delta; in timecounter_read_delta() local48 cycle_now = tc->cc->read(tc->cc); in timecounter_read_delta()51 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc->mask; in timecounter_read_delta()57 tc->cycle_last = cycle_now; in timecounter_read_delta()
210 cycle_t cycle_now, delta; in timekeeping_get_ns() local214 cycle_now = tkr->read(tkr->clock); in timekeeping_get_ns()217 delta = clocksource_delta(cycle_now, tkr->cycle_last, tkr->mask); in timekeeping_get_ns()465 cycle_t cycle_now, delta; in timekeeping_forward_now() local467 cycle_now = tk->tkr_mono.read(clock); in timekeeping_forward_now()468 delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask); in timekeeping_forward_now()469 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_forward_now()470 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_forward_now()1130 cycle_t cycle_now, cycle_delta; in timekeeping_resume() local1154 cycle_now = tk->tkr_mono.read(clock); in timekeeping_resume()[all …]