Home
last modified time | relevance | path

Searched refs:common_clkevt (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clocksource/
H A Dtimer-sp804.c141 static struct sp804_clkevt *common_clkevt; variable
151 writel(1, common_clkevt->intclr); in sp804_timer_interrupt()
160 writel(0, common_clkevt->ctrl); in evt_timer_shutdown()
175 writel(common_clkevt->reload, common_clkevt->load); in sp804_set_periodic()
176 writel(ctrl, common_clkevt->ctrl); in sp804_set_periodic()
186 writel(next, common_clkevt->load); in sp804_set_next_event()
187 writel(ctrl, common_clkevt->ctrl); in sp804_set_next_event()
214 common_clkevt = sp804_clkevt_get(base); in sp804_clockevents_init()
215 common_clkevt->reload = DIV_ROUND_CLOSEST(rate, HZ); in sp804_clockevents_init()
220 writel(0, common_clkevt->ctrl); in sp804_clockevents_init()