Searched refs:TIMER_CNTVAL_REG (Results 1 – 1 of 1) sorted by relevance
38 #define TIMER_CNTVAL_REG(val) (0x10 * (val) + 0x18) macro53 u32 old = readl(timer_base + TIMER_CNTVAL_REG(1)); in sun4i_clkevt_sync()55 while ((old - readl(timer_base + TIMER_CNTVAL_REG(1))) < TIMER_SYNC_TICKS) in sun4i_clkevt_sync()146 return ~readl(timer_base + TIMER_CNTVAL_REG(1)); in sun4i_timer_sched_read()185 clocksource_mmio_init(timer_base + TIMER_CNTVAL_REG(1), node->name, in sun4i_timer_init()