Searched refs:cycle_diff_t (Results 1 – 2 of 2) sorted by relevance
28 #define TO_CYCLE_DIFF(x) ((cycle_diff_t)(x))32 #define cycle_diff_t unsigned long macro71 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()
80 #define cycle_diff_t unsigned long macro149 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()