Searched refs:cached_icr (Results 1 – 2 of 2) sorted by relevance
105 static uint32_t cached_icr = CYCLES_PER_TICK; variable164 ccr = cached_icr; in timer_count()201 cached_icr = TIMER_STOPPED; in sys_clock_set_timeout()225 temp += (cached_icr - ccr); in sys_clock_set_timeout()230 cached_icr = full_cycles + partial_cycles; in sys_clock_set_timeout()232 temp = cached_icr; in sys_clock_set_timeout()263 ticks += cached_icr - ccr; in sys_clock_elapsed()286 cycles = cached_icr; in xec_rtos_timer_isr()287 cached_icr = MAX_TICKS * CYCLES_PER_TICK; in xec_rtos_timer_isr()316 timer_restart(cached_icr); in xec_rtos_timer_isr()[all …]
80 static uint32_t cached_icr = CYCLES_PER_TICK; variable117 total_cycles += (cached_icr - ccr); in sys_clock_set_timeout()119 cached_icr = full_cycles + partial_cycles; in sys_clock_set_timeout()120 x86_write_loapic(LOAPIC_TIMER_ICR, cached_icr); in sys_clock_set_timeout()133 ticks += cached_icr - ccr; in sys_clock_elapsed()163 cycles = cached_icr; in isr()164 cached_icr = MAX_TICKS * CYCLES_PER_TICK; in isr()180 x86_write_loapic(LOAPIC_TIMER_ICR, cached_icr); in isr()213 ret = total_cycles + (cached_icr - ccr); in sys_clock_cycle_get_32()242 x86_write_loapic(LOAPIC_TIMER_ICR, cached_icr); in sys_clock_driver_init()