Searched refs:IT8XXX2_EXT_CNTOX (Results 1 – 2 of 2) sorted by relevance
153 uint32_t start = IT8XXX2_EXT_CNTOX(BUSY_WAIT_H_TIMER); in arch_busy_wait()163 if ((IT8XXX2_EXT_CNTOX(BUSY_WAIT_H_TIMER) - start) >= usec_to_wait) { in arch_busy_wait()191 uint32_t dticks = (~(IT8XXX2_EXT_CNTOX(FREE_RUN_TIMER)) - in evt_timer_isr()261 now = ~(IT8XXX2_EXT_CNTOX(FREE_RUN_TIMER)); in sys_clock_set_timeout()297 uint32_t dticks = (~(IT8XXX2_EXT_CNTOX(FREE_RUN_TIMER)) - in sys_clock_elapsed()317 uint32_t dticks = ~(IT8XXX2_EXT_CNTOX(FREE_RUN_TIMER)); in sys_clock_cycle_get_32()
423 #define IT8XXX2_EXT_CNTOX(n) ECREG_u32(IT8XXX2_EXT_TIMER_BASE + 0x38 + \ macro