Searched refs:HPET_CYCLE_TO_US (Results 1 – 1 of 1) sorted by relevance
21 #define HPET_CYCLE_TO_US(cycle) ((uint64_t)(cycle)*hpet_clock_period_pico / PICOSECS_PER_USEC) macro172 return HPET_CYCLE_TO_US(sedi_hpet_get_main_counter()); in sedi_hpet_get_us()302 bsp_timers[timer_id].timeout = US_TO_HPET_CYCLE(microseconds + HPET_CYCLE_TO_US(1)); in sedi_hpet_config_timer()