Lines Matching refs:clkevt_base
66 static void __iomem * clkevt_base; variable
76 writel(1, clkevt_base + TIMER_INTCLR); in integrator_timer_interrupt()
85 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_shutdown()
88 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_shutdown()
94 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & in clkevt_set_oneshot()
98 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_oneshot()
104 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_set_periodic()
107 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic()
110 writel(timer_reload, clkevt_base + TIMER_LOAD); in clkevt_set_periodic()
112 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic()
118 unsigned long ctrl = readl(clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
120 writel(ctrl & ~TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
121 writel(next, clkevt_base + TIMER_LOAD); in clkevt_set_next_event()
122 writel(ctrl | TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
153 clkevt_base = base; in integrator_clockevent_init()
163 writel(ctrl, clkevt_base + TIMER_CTRL); in integrator_clockevent_init()