Lines Matching refs:clkevt_base
61 static void __iomem * clkevt_base; variable
71 writel(1, clkevt_base + TIMER_INTCLR); in integrator_timer_interrupt()
80 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_shutdown()
83 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_shutdown()
89 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & in clkevt_set_oneshot()
93 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_oneshot()
99 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_set_periodic()
102 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic()
105 writel(timer_reload, clkevt_base + TIMER_LOAD); in clkevt_set_periodic()
107 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic()
113 unsigned long ctrl = readl(clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
115 writel(ctrl & ~TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
116 writel(next, clkevt_base + TIMER_LOAD); in clkevt_set_next_event()
117 writel(ctrl | TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
147 clkevt_base = base; in integrator_clockevent_init()
157 writel(ctrl, clkevt_base + TIMER_CTRL); in integrator_clockevent_init()