Searched refs:bsp_timers (Results 1 – 1 of 1) sorted by relevance
53 static hpet_timer_ctx_t bsp_timers[SEDI_HPET_SOC_TIMER_NUM]; variable266 if (bsp_timers[timer_id].callback) { in sedi_hpet_timer_int_handler()267 bsp_timers[timer_id].callback(bsp_timers[timer_id].param); in sedi_hpet_timer_int_handler()270 if (bsp_timers[timer_id].one_shot) { in sedi_hpet_timer_int_handler()273 bsp_timers[timer_id].expires = in sedi_hpet_timer_int_handler()274 sedi_hpet_get_main_counter() + bsp_timers[timer_id].timeout; in sedi_hpet_timer_int_handler()276 sedi_hpet_set_comparator(timer_id, bsp_timers[timer_id].expires); in sedi_hpet_timer_int_handler()286 DBG_CHECK(bsp_timers[timer_id].valid == 0, SEDI_DRIVER_ERROR_BUSY); in sedi_hpet_config_timer()289 bsp_timers[timer_id].valid = 1; in sedi_hpet_config_timer()290 bsp_timers[timer_id].start = 0; in sedi_hpet_config_timer()[all …]