Lines Matching refs:clkevent
51 struct clock_event_device clkevent; member
66 rps->clkevent.event_handler(&rps->clkevent); in oxnas_rps_timer_irq()
90 container_of(evt, struct oxnas_rps_timer, clkevent); in oxnas_rps_timer_shutdown()
100 container_of(evt, struct oxnas_rps_timer, clkevent); in oxnas_rps_timer_set_periodic()
110 container_of(evt, struct oxnas_rps_timer, clkevent); in oxnas_rps_timer_set_oneshot()
121 container_of(evt, struct oxnas_rps_timer, clkevent); in oxnas_rps_timer_next_event()
149 rps->clkevent.name = "oxnas-rps"; in oxnas_rps_clockevent_init()
150 rps->clkevent.features = CLOCK_EVT_FEAT_PERIODIC | in oxnas_rps_clockevent_init()
153 rps->clkevent.tick_resume = oxnas_rps_timer_shutdown; in oxnas_rps_clockevent_init()
154 rps->clkevent.set_state_shutdown = oxnas_rps_timer_shutdown; in oxnas_rps_clockevent_init()
155 rps->clkevent.set_state_periodic = oxnas_rps_timer_set_periodic; in oxnas_rps_clockevent_init()
156 rps->clkevent.set_state_oneshot = oxnas_rps_timer_set_oneshot; in oxnas_rps_clockevent_init()
157 rps->clkevent.set_next_event = oxnas_rps_timer_next_event; in oxnas_rps_clockevent_init()
158 rps->clkevent.rating = 200; in oxnas_rps_clockevent_init()
159 rps->clkevent.cpumask = cpu_possible_mask; in oxnas_rps_clockevent_init()
160 rps->clkevent.irq = rps->irq; in oxnas_rps_clockevent_init()
161 clockevents_config_and_register(&rps->clkevent, in oxnas_rps_clockevent_init()