Lines Matching refs:timer_base
35 static void __iomem *timer_base; variable
39 return ~readl(timer_base + TIMER0_VAL); in orion_read_timer()
57 return ~readl(timer_base + TIMER0_VAL); in orion_read_sched_clock()
69 writel(delta, timer_base + TIMER1_VAL); in orion_clkevt_next_event()
70 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_next_event()
79 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_shutdown()
87 writel(ticks_per_jiffy - 1, timer_base + TIMER1_RELOAD); in orion_clkevt_set_periodic()
88 writel(ticks_per_jiffy - 1, timer_base + TIMER1_VAL); in orion_clkevt_set_periodic()
89 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_set_periodic()
121 timer_base = of_iomap(np, 0); in orion_timer_init()
122 if (!timer_base) { in orion_timer_init()
150 writel(~0, timer_base + TIMER0_VAL); in orion_timer_init()
151 writel(~0, timer_base + TIMER0_RELOAD); in orion_timer_init()
152 atomic_io_modify(timer_base + TIMER_CTRL, in orion_timer_init()
156 ret = clocksource_mmio_init(timer_base + TIMER0_VAL, in orion_timer_init()