Lines Matching refs:base
83 static struct sp804_clkevt * __init sp804_clkevt_get(void __iomem *base)
88 if (sp804_clkevt[i].base == base)
105 static int __init sp804_clocksource_and_sched_clock_init(void __iomem *base,
117 clkevt = sp804_clkevt_get(base);
204 static int __init sp804_clockevents_init(void __iomem *base, unsigned int irq,
214 common_clkevt = sp804_clkevt_get(base);
230 static void __init sp804_clkevt_init(struct sp804_timer *timer, void __iomem *base)
238 timer_base = base + timer->timer_base[i];
240 clkevt->base = timer_base;
254 void __iomem *base;
267 base = of_iomap(np, 0);
268 if (!base)
271 timer1_base = base + timer->timer_base[0];
272 timer2_base = base + timer->timer_base[1];
297 sp804_clkevt_init(timer, base);
325 iounmap(base);
344 void __iomem *base;
349 base = of_iomap(np, 0);
350 if (!base) {
362 writel(0, base + arm_sp804_timer.ctrl);
367 sp804_clkevt_init(&arm_sp804_timer, base);
370 ret = sp804_clocksource_and_sched_clock_init(base,
379 ret = sp804_clockevents_init(base, irq, clk, name);
387 iounmap(base);