Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clocksource/
H A Dtimer-armada-370-xp.c63 #define TIMER0_VAL_OFF 0x0014 macro
96 return ~readl(timer_base + TIMER0_VAL_OFF); in armada_370_xp_read_sched_clock()
114 writel(delta, local_base + TIMER0_VAL_OFF); in armada_370_xp_clkevt_next_event()
143 writel(ticks_per_jiffy - 1, local_base + TIMER0_VAL_OFF); in armada_370_xp_clkevt_set_periodic()
220 writel(0xffffffff, timer_base + TIMER0_VAL_OFF); in armada_370_xp_timer_resume()
233 return ~readl(timer_base + TIMER0_VAL_OFF); in armada_370_delay_timer_read()
279 writel(0xffffffff, timer_base + TIMER0_VAL_OFF); in armada_370_xp_timer_common_init()
294 res = clocksource_mmio_init(timer_base + TIMER0_VAL_OFF, in armada_370_xp_timer_common_init()
/openbmc/linux/arch/arm/plat-orion/
H A Dtime.c41 #define TIMER0_VAL_OFF 0x0014 macro
67 return ~readl(timer_base + TIMER0_VAL_OFF); in orion_read_sched_clock()
188 return ~readl(timer_base + TIMER0_VAL_OFF); in orion_delay_timer_read()
221 writel(0xffffffff, timer_base + TIMER0_VAL_OFF); in orion_time_init()
227 clocksource_mmio_init(timer_base + TIMER0_VAL_OFF, "orion_clocksource", in orion_time_init()