Searched refs:TIMER_CNTVAL_REG (Results 1 – 1 of 1) sorted by relevance
38 #define TIMER_CNTVAL_REG(val) (0x10 * (val) + 0x18) macro50 u32 old = readl(base + TIMER_CNTVAL_REG(1)); in sun4i_clkevt_sync()52 while ((old - readl(base + TIMER_CNTVAL_REG(1))) < TIMER_SYNC_TICKS) in sun4i_clkevt_sync()165 return ~readl(timer_of_base(&to) + TIMER_CNTVAL_REG(1)); in sun4i_timer_sched_read()193 ret = clocksource_mmio_init(timer_of_base(&to) + TIMER_CNTVAL_REG(1), in sun4i_timer_init()