Lines Matching refs:clkevt_base
53 static void __iomem * clkevt_base; variable
63 writel(1, clkevt_base + TIMER_INTCLR); in integrator_timer_interrupt()
72 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_shutdown()
75 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_shutdown()
81 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & in clkevt_set_oneshot()
85 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_oneshot()
91 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_set_periodic()
94 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic()
97 writel(timer_reload, clkevt_base + TIMER_LOAD); in clkevt_set_periodic()
99 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic()
105 unsigned long ctrl = readl(clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
107 writel(ctrl & ~TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
108 writel(next, clkevt_base + TIMER_LOAD); in clkevt_set_next_event()
109 writel(ctrl | TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
140 clkevt_base = base; in integrator_clockevent_init()
150 writel(ctrl, clkevt_base + TIMER_CTRL); in integrator_clockevent_init()