Searched refs:last_cycle (Results 1 – 3 of 3) sorted by relevance
66 static uint64_t last_cycle; variable99 uint64_t delta_cycles = curr_cycle - last_cycle; in arm_arch_timer_compare_isr()102 last_cycle += (cycle_diff_t)delta_ticks * CYC_PER_TICK; in arm_arch_timer_compare_isr()107 uint64_t next_cycle = last_cycle + CYC_PER_TICK; in arm_arch_timer_compare_isr()155 next_cycle = last_cycle + CYCLES_MAX; in sys_clock_set_timeout()158 if ((next_cycle - last_cycle) > CYCLES_MAX) { in sys_clock_set_timeout()159 next_cycle = last_cycle + CYCLES_MAX; in sys_clock_set_timeout()176 uint64_t delta_cycles = curr_cycle - last_cycle; in sys_clock_elapsed()222 arm_arch_timer_set_compare(last_cycle + CYC_PER_TICK); in smp_timer_init()241 last_cycle = last_tick * CYC_PER_TICK; in sys_clock_driver_init()[all …]
91 static uint64_t last_cycle; variable134 uint64_t delta_cycles = curr_cycle - last_cycle; in isr()137 last_cycle += (cycle_diff_t)delta_ticks * CYC_PER_TICK; in isr()142 uint64_t next_cycle = last_cycle + CYC_PER_TICK; in isr()163 next_cycle = last_cycle + CYCLES_MAX; in sys_clock_set_timeout()166 if ((next_cycle - last_cycle) > CYCLES_MAX) { in sys_clock_set_timeout()167 next_cycle = last_cycle + CYCLES_MAX; in sys_clock_set_timeout()179 if (next_cycle < last_cycle) { in sys_clock_set_timeout()195 uint64_t delta_cycles = curr_cycle - last_cycle; in sys_clock_elapsed()312 last_cycle = last_tick * CYC_PER_TICK; in sys_clock_driver_init()[all …]
33 static uint32_t last_cycle; variable64 uint32_t delta_cycles = curr_cycle - last_cycle; in ti_dmtimer_isr()67 last_cycle = curr_cycle; in ti_dmtimer_isr()127 uint32_t delta_cycles = curr_cycle - last_cycle; in sys_clock_elapsed()137 last_cycle = 0; in sys_clock_driver_init()