Lines Matching refs:base

47 	void __iomem *base;  member
56 writel_relaxed(TIMERn_CMD_STOP, ddata->base + TIMERn_CMD); in efm32_clock_event_shutdown()
65 writel_relaxed(TIMERn_CMD_STOP, ddata->base + TIMERn_CMD); in efm32_clock_event_set_oneshot()
70 ddata->base + TIMERn_CTRL); in efm32_clock_event_set_oneshot()
79 writel_relaxed(TIMERn_CMD_STOP, ddata->base + TIMERn_CMD); in efm32_clock_event_set_periodic()
80 writel_relaxed(ddata->periodic_top, ddata->base + TIMERn_TOP); in efm32_clock_event_set_periodic()
84 ddata->base + TIMERn_CTRL); in efm32_clock_event_set_periodic()
85 writel_relaxed(TIMERn_CMD_START, ddata->base + TIMERn_CMD); in efm32_clock_event_set_periodic()
95 writel_relaxed(TIMERn_CMD_STOP, ddata->base + TIMERn_CMD); in efm32_clock_event_set_next_event()
96 writel_relaxed(evt, ddata->base + TIMERn_CNT); in efm32_clock_event_set_next_event()
97 writel_relaxed(TIMERn_CMD_START, ddata->base + TIMERn_CMD); in efm32_clock_event_set_next_event()
106 writel_relaxed(TIMERn_IRQ_UF, ddata->base + TIMERn_IFC); in efm32_clock_event_handler()
135 void __iomem *base; in efm32_clocksource_init() local
154 base = of_iomap(np, 0); in efm32_clocksource_init()
155 if (!base) { in efm32_clocksource_init()
163 TIMERn_CTRL_MODE_UP, base + TIMERn_CTRL); in efm32_clocksource_init()
164 writel_relaxed(TIMERn_CMD_START, base + TIMERn_CMD); in efm32_clocksource_init()
166 ret = clocksource_mmio_init(base + TIMERn_CNT, "efm32 timer", in efm32_clocksource_init()
178 iounmap(base); in efm32_clocksource_init()
193 void __iomem *base; in efm32_clockevent_init() local
213 base = of_iomap(np, 0); in efm32_clockevent_init()
214 if (!base) { in efm32_clockevent_init()
227 writel_relaxed(TIMERn_IRQ_UF, base + TIMERn_IEN); in efm32_clockevent_init()
229 clock_event_ddata.base = base; in efm32_clockevent_init()
242 iounmap(base); in efm32_clockevent_init()