Lines Matching refs:base

75 void __init sp804_timer_disable(void __iomem *base)  in sp804_timer_disable()  argument
77 writel(0, base + TIMER_CTRL); in sp804_timer_disable()
80 void __init __sp804_clocksource_and_sched_clock_init(void __iomem *base, in __sp804_clocksource_and_sched_clock_init() argument
102 writel(0, base + TIMER_CTRL); in __sp804_clocksource_and_sched_clock_init()
103 writel(0xffffffff, base + TIMER_LOAD); in __sp804_clocksource_and_sched_clock_init()
104 writel(0xffffffff, base + TIMER_VALUE); in __sp804_clocksource_and_sched_clock_init()
106 base + TIMER_CTRL); in __sp804_clocksource_and_sched_clock_init()
108 clocksource_mmio_init(base + TIMER_VALUE, name, in __sp804_clocksource_and_sched_clock_init()
112 sched_clock_base = base; in __sp804_clocksource_and_sched_clock_init()
189 void __init __sp804_clockevents_init(void __iomem *base, unsigned int irq, struct clk *clk, const c… in __sp804_clockevents_init() argument
206 clkevt_base = base; in __sp804_clockevents_init()
212 writel(0, base + TIMER_CTRL); in __sp804_clockevents_init()
221 void __iomem *base; in sp804_of_init() local
227 base = of_iomap(np, 0); in sp804_of_init()
228 if (WARN_ON(!base)) in sp804_of_init()
232 writel(0, base + TIMER_CTRL); in sp804_of_init()
233 writel(0, base + TIMER_2_BASE + TIMER_CTRL); in sp804_of_init()
259 __sp804_clockevents_init(base + TIMER_2_BASE, irq, clk2, name); in sp804_of_init()
260 __sp804_clocksource_and_sched_clock_init(base, name, clk1, 1); in sp804_of_init()
262 __sp804_clockevents_init(base, irq, clk1 , name); in sp804_of_init()
263 __sp804_clocksource_and_sched_clock_init(base + TIMER_2_BASE, in sp804_of_init()
270 iounmap(base); in sp804_of_init()
277 void __iomem *base; in integrator_cp_of_init() local
282 base = of_iomap(np, 0); in integrator_cp_of_init()
283 if (WARN_ON(!base)) in integrator_cp_of_init()
290 writel(0, base + TIMER_CTRL); in integrator_cp_of_init()
296 __sp804_clocksource_and_sched_clock_init(base, name, clk, 0); in integrator_cp_of_init()
302 __sp804_clockevents_init(base, irq, clk, name); in integrator_cp_of_init()
308 iounmap(base); in integrator_cp_of_init()