Lines Matching refs:clkevt
34 struct clock_event_device clkevt; member
46 return container_of(c, struct clockevent_mps2, clkevt); in to_mps2_clkevt()
93 ce->clkevt.event_handler(&ce->clkevt); in mps2_timer_interrupt()
147 ce->clkevt.irq = irq; in mps2_clockevent_init()
148 ce->clkevt.name = name; in mps2_clockevent_init()
149 ce->clkevt.rating = 200; in mps2_clockevent_init()
150 ce->clkevt.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; in mps2_clockevent_init()
151 ce->clkevt.cpumask = cpu_possible_mask; in mps2_clockevent_init()
152 ce->clkevt.set_state_shutdown = mps2_timer_shutdown; in mps2_clockevent_init()
153 ce->clkevt.set_state_periodic = mps2_timer_set_periodic; in mps2_clockevent_init()
154 ce->clkevt.set_state_oneshot = mps2_timer_shutdown; in mps2_clockevent_init()
155 ce->clkevt.set_next_event = mps2_timer_set_next_event; in mps2_clockevent_init()
166 clockevents_config_and_register(&ce->clkevt, rate, 0xf, 0xffffffff); in mps2_clockevent_init()