Searched refs:cyc_per_tick (Results 1 – 4 of 4) sorted by relevance
234 static __pinned_bss unsigned int cyc_per_tick; variable236 #define cyc_per_tick \ macro306 uint32_t dticks = (uint32_t)((now - last_count) / cyc_per_tick); in hpet_isr()308 last_count += (uint64_t)dticks * cyc_per_tick; in hpet_isr()313 uint64_t next = last_count + cyc_per_tick; in hpet_isr()370 uint64_t cyc = (last_tick + last_elapsed + ticks) * cyc_per_tick; in sys_clock_set_timeout()386 uint32_t ret = (uint32_t)((now - last_count) / cyc_per_tick); in sys_clock_elapsed()441 cyc_per_tick = hz / CONFIG_SYS_CLOCK_TICKS_PER_SEC; in sys_clock_driver_init()459 last_tick = hpet_counter_get() / cyc_per_tick; in sys_clock_driver_init()460 last_count = last_tick * cyc_per_tick; in sys_clock_driver_init()[all …]
16 static uint32_t cyc_per_tick; variable17 #define CYC_PER_TICK cyc_per_tick207 cyc_per_tick = sys_clock_hw_cycles_per_sec() / CONFIG_SYS_CLOCK_TICKS_PER_SEC; in sys_clock_driver_init()
90 uint64_t cyc_per_tick = k_ticks_to_cyc_near64(1); in message_dev_init() local92 uint64_t avg_cyc_per_event = cyc_per_tick * avg_ticks_per_event; in message_dev_init()
195 uint32_t cyc_per_tick = sys_clock_hw_cycles_per_sec() in do_test_using() local197 double expected_period_drift = ((double)actual_timeout.ticks * cyc_per_tick in do_test_using()