Lines Matching refs:timer_base
38 static void __iomem *timer_base; variable
42 return ~readl(timer_base + TIMER0_VAL); in orion_read_timer()
60 return ~readl(timer_base + TIMER0_VAL); in orion_read_sched_clock()
72 writel(delta, timer_base + TIMER1_VAL); in orion_clkevt_next_event()
73 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_next_event()
82 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_shutdown()
90 writel(ticks_per_jiffy - 1, timer_base + TIMER1_RELOAD); in orion_clkevt_set_periodic()
91 writel(ticks_per_jiffy - 1, timer_base + TIMER1_VAL); in orion_clkevt_set_periodic()
92 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_set_periodic()
124 timer_base = of_iomap(np, 0); in orion_timer_init()
125 if (!timer_base) { in orion_timer_init()
152 writel(~0, timer_base + TIMER0_VAL); in orion_timer_init()
153 writel(~0, timer_base + TIMER0_RELOAD); in orion_timer_init()
154 atomic_io_modify(timer_base + TIMER_CTRL, in orion_timer_init()
158 ret = clocksource_mmio_init(timer_base + TIMER0_VAL, in orion_timer_init()