Searched refs:TIMER_REG_GET (Results 1 – 1 of 1) sorted by relevance
42 #define TIMER_REG_GET(offs) (DEVICE_MMIO_TOPLEVEL_GET(timer_regs) + offs) macro56 ctrl = sys_read32(TIMER_REG_GET(TIMER_CTRL)); in arm_arch_timer_set_compare()58 sys_write32(ctrl, TIMER_REG_GET(TIMER_CTRL)); in arm_arch_timer_set_compare()60 sys_write32(lower, TIMER_REG_GET(TIMER_CMP_LOWER)); in arm_arch_timer_set_compare()61 sys_write32(upper, TIMER_REG_GET(TIMER_CMP_UPPER)); in arm_arch_timer_set_compare()65 sys_write32(ctrl, TIMER_REG_GET(TIMER_CTRL)); in arm_arch_timer_set_compare()82 return (uint8_t)(sys_read32(TIMER_REG_GET(TIMER_ISR)) & TIMER_ISR_EVENT_FLAG); in arm_arch_timer_get_int_status()87 sys_write32(TIMER_ISR_EVENT_FLAG, TIMER_REG_GET(TIMER_ISR)); in arm_arch_timer_clear_int_status()96 ctrl = sys_read32(TIMER_REG_GET(TIMER_CTRL)); in arm_arch_timer_enable()103 sys_write32(ctrl, TIMER_REG_GET(TIMER_CTRL)); in arm_arch_timer_enable()[all …]