Lines Matching refs:clkevt

111 	struct sp804_clkevt *clkevt;  in sp804_clocksource_and_sched_clock_init()  local
117 clkevt = sp804_clkevt_get(base); in sp804_clocksource_and_sched_clock_init()
119 writel(0, clkevt->ctrl); in sp804_clocksource_and_sched_clock_init()
120 writel(0xffffffff, clkevt->load); in sp804_clocksource_and_sched_clock_init()
121 writel(0xffffffff, clkevt->value); in sp804_clocksource_and_sched_clock_init()
122 if (clkevt->width == 64) { in sp804_clocksource_and_sched_clock_init()
123 writel(0xffffffff, clkevt->load_h); in sp804_clocksource_and_sched_clock_init()
124 writel(0xffffffff, clkevt->value_h); in sp804_clocksource_and_sched_clock_init()
127 clkevt->ctrl); in sp804_clocksource_and_sched_clock_init()
129 clocksource_mmio_init(clkevt->value, name, in sp804_clocksource_and_sched_clock_init()
133 sched_clkevt = clkevt; in sp804_clocksource_and_sched_clock_init()
236 struct sp804_clkevt *clkevt; in sp804_clkevt_init() local
239 clkevt = &sp804_clkevt[i]; in sp804_clkevt_init()
240 clkevt->base = timer_base; in sp804_clkevt_init()
241 clkevt->load = timer_base + timer->load; in sp804_clkevt_init()
242 clkevt->load_h = timer_base + timer->load_h; in sp804_clkevt_init()
243 clkevt->value = timer_base + timer->value; in sp804_clkevt_init()
244 clkevt->value_h = timer_base + timer->value_h; in sp804_clkevt_init()
245 clkevt->ctrl = timer_base + timer->ctrl; in sp804_clkevt_init()
246 clkevt->intclr = timer_base + timer->intclr; in sp804_clkevt_init()
247 clkevt->width = timer->width; in sp804_clkevt_init()