Lines Matching refs:uint64_t
25 #define cycle_diff_t uint64_t
51 #define CYCLES_MAX_1 ((uint64_t)INT32_MAX * (uint64_t)CYC_PER_TICK)
52 #define CYCLES_MAX_2 ((uint64_t)CYCLE_DIFF_MAX)
59 static uint64_t cycles_max;
66 static uint64_t last_cycle;
67 static uint64_t last_tick;
98 uint64_t curr_cycle = arm_arch_timer_count(); in arm_arch_timer_compare_isr()
99 uint64_t delta_cycles = curr_cycle - last_cycle; in arm_arch_timer_compare_isr()
107 uint64_t next_cycle = last_cycle + CYC_PER_TICK; in arm_arch_timer_compare_isr()
152 uint64_t next_cycle; in sys_clock_set_timeout()
175 uint64_t curr_cycle = arm_arch_timer_count(); in sys_clock_elapsed()
176 uint64_t delta_cycles = curr_cycle - last_cycle; in sys_clock_elapsed()
189 uint64_t sys_clock_cycle_get_64(void) in sys_clock_cycle_get_64()
201 uint64_t start_cycles = arm_arch_timer_count(); in arch_busy_wait()
203 uint64_t cycles_to_wait = sys_clock_hw_cycles_per_sec() / USEC_PER_SEC * usec_to_wait; in arch_busy_wait()
206 uint64_t current_cycles = arm_arch_timer_count(); in arch_busy_wait()