Searched refs:TIMER_CNTVAL_REG (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/clocksource/
H A Dsun4i_timer.c38 #define TIMER_CNTVAL_REG(val) (0x10 * (val) + 0x18) macro
53 u32 old = readl(timer_base + TIMER_CNTVAL_REG(1)); sun4i_clkevt_sync()
55 while ((old - readl(timer_base + TIMER_CNTVAL_REG(1))) < TIMER_SYNC_TICKS) sun4i_clkevt_sync()
146 return ~readl(timer_base + TIMER_CNTVAL_REG(1)); sun4i_timer_sched_read()
185 clocksource_mmio_init(timer_base + TIMER_CNTVAL_REG(1), node->name, sun4i_timer_init()

Completed in 163 milliseconds