Home
last modified time | relevance | path

Searched refs:cycle_diff_t (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/drivers/timer/
Darm_arch_timer.c28 #define TO_CYCLE_DIFF(x) ((cycle_diff_t)(x))
32 #define cycle_diff_t unsigned long macro
71 last_cycle += (cycle_diff_t)delta_ticks * CYC_PER_TICK; in arm_arch_timer_compare_isr()
131 ticks = CLAMP(ticks, 0, (cycle_diff_t)-1 / 2 / CYC_PER_TICK); in sys_clock_set_timeout()
156 uint32_t delta_ticks = (cycle_diff_t)delta_cycles / CYC_PER_TICK; in sys_clock_elapsed()
Driscv_machine_timer.c80 #define cycle_diff_t unsigned long macro
149 uint32_t dticks = (cycle_diff_t)dcycles / CYC_PER_TICK; in timer_isr()
151 last_count += (cycle_diff_t)dticks * CYC_PER_TICK; in timer_isr()
187 ticks = CLAMP(ticks, 0, (cycle_diff_t)-1 / 2 / CYC_PER_TICK); in sys_clock_set_timeout()
206 uint32_t dticks = (cycle_diff_t)dcycles / CYC_PER_TICK; in sys_clock_elapsed()