Searched refs:last_load (Results 1 – 2 of 2) sorted by relevance
38 static uint32_t last_load; variable149 val1 = last_load; in elapsed()152 val2 = last_load; in elapsed()157 overflow_cyc += last_load; in elapsed()164 return (last_load - val2) + overflow_cyc; in elapsed()229 last_load = TIMER_STOPPED; in sys_clock_set_timeout()266 uint32_t last_load_ = last_load; in sys_clock_set_timeout()289 last_load = MIN_DELAY; in sys_clock_set_timeout()300 last_load = MAX_CYCLES; in sys_clock_set_timeout()302 last_load = delay; in sys_clock_set_timeout()[all …]
69 static uint32_t last_load; variable185 overflow_cycles += last_load; in elapsed()305 last_load = TIMER_STOPPED; in sys_clock_set_timeout()337 last_load = MIN_DELAY; in sys_clock_set_timeout()349 last_load = MIN(delay, MAX_CYCLES); in sys_clock_set_timeout()352 timer0_limit_register_set(last_load - 1); in sys_clock_set_timeout()430 last_load = CYC_PER_TICK; in sys_clock_driver_init()437 timer0_limit_register_set(last_load - 1); in sys_clock_driver_init()