Lines Matching refs:base

74 void __init __sp804_clocksource_and_sched_clock_init(void __iomem *base,  in __sp804_clocksource_and_sched_clock_init()  argument
96 writel(0, base + TIMER_CTRL); in __sp804_clocksource_and_sched_clock_init()
97 writel(0xffffffff, base + TIMER_LOAD); in __sp804_clocksource_and_sched_clock_init()
98 writel(0xffffffff, base + TIMER_VALUE); in __sp804_clocksource_and_sched_clock_init()
100 base + TIMER_CTRL); in __sp804_clocksource_and_sched_clock_init()
102 clocksource_mmio_init(base + TIMER_VALUE, name, in __sp804_clocksource_and_sched_clock_init()
106 sched_clock_base = base; in __sp804_clocksource_and_sched_clock_init()
183 void __init __sp804_clockevents_init(void __iomem *base, unsigned int irq, struct clk *clk, const c… in __sp804_clockevents_init() argument
200 clkevt_base = base; in __sp804_clockevents_init()
206 writel(0, base + TIMER_CTRL); in __sp804_clockevents_init()
215 void __iomem *base; in sp804_of_init() local
221 base = of_iomap(np, 0); in sp804_of_init()
222 if (WARN_ON(!base)) in sp804_of_init()
226 writel(0, base + TIMER_CTRL); in sp804_of_init()
227 writel(0, base + TIMER_2_BASE + TIMER_CTRL); in sp804_of_init()
253 __sp804_clockevents_init(base + TIMER_2_BASE, irq, clk2, name); in sp804_of_init()
254 __sp804_clocksource_and_sched_clock_init(base, name, clk1, 1); in sp804_of_init()
256 __sp804_clockevents_init(base, irq, clk1 , name); in sp804_of_init()
257 __sp804_clocksource_and_sched_clock_init(base + TIMER_2_BASE, in sp804_of_init()
264 iounmap(base); in sp804_of_init()
271 void __iomem *base; in integrator_cp_of_init() local
276 base = of_iomap(np, 0); in integrator_cp_of_init()
277 if (WARN_ON(!base)) in integrator_cp_of_init()
284 writel(0, base + TIMER_CTRL); in integrator_cp_of_init()
290 __sp804_clocksource_and_sched_clock_init(base, name, clk, 0); in integrator_cp_of_init()
296 __sp804_clockevents_init(base, irq, clk, name); in integrator_cp_of_init()
302 iounmap(base); in integrator_cp_of_init()