Home
last modified time | relevance | path

Searched refs:TIMER_CNTVAL_LO_REG (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clocksource/
H A Dtimer-sun5i.c31 #define TIMER_CNTVAL_LO_REG(val) (0x20 * (val) + 0x1c) macro
60 u32 old = readl(ce->base + TIMER_CNTVAL_LO_REG(1)); in sun5i_clkevt_sync()
62 while ((old - readl(ce->base + TIMER_CNTVAL_LO_REG(1))) < TIMER_SYNC_TICKS) in sun5i_clkevt_sync()
145 return ~readl(cs->base + TIMER_CNTVAL_LO_REG(1)); in sun5i_clksrc_read()