Lines Matching refs:clkevent
62 struct clock_event_device clkevent; member
77 rps->clkevent.event_handler(&rps->clkevent); in oxnas_rps_timer_irq()
101 container_of(evt, struct oxnas_rps_timer, clkevent); in oxnas_rps_timer_shutdown()
111 container_of(evt, struct oxnas_rps_timer, clkevent); in oxnas_rps_timer_set_periodic()
121 container_of(evt, struct oxnas_rps_timer, clkevent); in oxnas_rps_timer_set_oneshot()
132 container_of(evt, struct oxnas_rps_timer, clkevent); in oxnas_rps_timer_next_event()
160 rps->clkevent.name = "oxnas-rps"; in oxnas_rps_clockevent_init()
161 rps->clkevent.features = CLOCK_EVT_FEAT_PERIODIC | in oxnas_rps_clockevent_init()
164 rps->clkevent.tick_resume = oxnas_rps_timer_shutdown; in oxnas_rps_clockevent_init()
165 rps->clkevent.set_state_shutdown = oxnas_rps_timer_shutdown; in oxnas_rps_clockevent_init()
166 rps->clkevent.set_state_periodic = oxnas_rps_timer_set_periodic; in oxnas_rps_clockevent_init()
167 rps->clkevent.set_state_oneshot = oxnas_rps_timer_set_oneshot; in oxnas_rps_clockevent_init()
168 rps->clkevent.set_next_event = oxnas_rps_timer_next_event; in oxnas_rps_clockevent_init()
169 rps->clkevent.rating = 200; in oxnas_rps_clockevent_init()
170 rps->clkevent.cpumask = cpu_possible_mask; in oxnas_rps_clockevent_init()
171 rps->clkevent.irq = rps->irq; in oxnas_rps_clockevent_init()
172 clockevents_config_and_register(&rps->clkevent, in oxnas_rps_clockevent_init()