Lines Matching refs:ced

33 	struct clock_event_device	ced;  member
76 static int jcore_pit_set_state_shutdown(struct clock_event_device *ced) in jcore_pit_set_state_shutdown() argument
78 struct jcore_pit *pit = container_of(ced, struct jcore_pit, ced); in jcore_pit_set_state_shutdown()
83 static int jcore_pit_set_state_oneshot(struct clock_event_device *ced) in jcore_pit_set_state_oneshot() argument
85 struct jcore_pit *pit = container_of(ced, struct jcore_pit, ced); in jcore_pit_set_state_oneshot()
90 static int jcore_pit_set_state_periodic(struct clock_event_device *ced) in jcore_pit_set_state_periodic() argument
92 struct jcore_pit *pit = container_of(ced, struct jcore_pit, ced); in jcore_pit_set_state_periodic()
98 struct clock_event_device *ced) in jcore_pit_set_next_event() argument
100 struct jcore_pit *pit = container_of(ced, struct jcore_pit, ced); in jcore_pit_set_next_event()
116 clockevents_config_and_register(&pit->ced, freq, 1, ULONG_MAX); in jcore_pit_local_init()
125 if (clockevent_state_oneshot(&pit->ced)) in jcore_timer_interrupt()
128 pit->ced.event_handler(&pit->ced); in jcore_timer_interrupt()
224 pit->ced.name = "jcore_pit"; in jcore_pit_init()
225 pit->ced.features = CLOCK_EVT_FEAT_PERIODIC in jcore_pit_init()
228 pit->ced.cpumask = cpumask_of(cpu); in jcore_pit_init()
229 pit->ced.rating = 400; in jcore_pit_init()
230 pit->ced.irq = pit_irq; in jcore_pit_init()
231 pit->ced.set_state_shutdown = jcore_pit_set_state_shutdown; in jcore_pit_init()
232 pit->ced.set_state_periodic = jcore_pit_set_state_periodic; in jcore_pit_init()
233 pit->ced.set_state_oneshot = jcore_pit_set_state_oneshot; in jcore_pit_init()
234 pit->ced.set_next_event = jcore_pit_set_next_event; in jcore_pit_init()