Lines Matching defs:ced
86 struct clock_event_device *ced)
88 struct timer_of *to = to_timer_of(ced);
99 static int ostm_shutdown(struct clock_event_device *ced)
101 struct timer_of *to = to_timer_of(ced);
107 static int ostm_set_periodic(struct clock_event_device *ced)
109 struct timer_of *to = to_timer_of(ced);
111 if (clockevent_state_oneshot(ced) || clockevent_state_periodic(ced))
121 static int ostm_set_oneshot(struct clock_event_device *ced)
123 struct timer_of *to = to_timer_of(ced);
132 struct clock_event_device *ced = dev_id;
134 if (clockevent_state_oneshot(ced))
135 ostm_timer_stop(to_timer_of(ced));
138 if (ced->event_handler)
139 ced->event_handler(ced);
146 struct clock_event_device *ced = &to->clkevt;
148 ced->features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC;
149 ced->set_state_shutdown = ostm_shutdown;
150 ced->set_state_periodic = ostm_set_periodic;
151 ced->set_state_oneshot = ostm_set_oneshot;
152 ced->set_next_event = ostm_clock_event_next;
153 ced->shift = 32;
154 ced->rating = 300;
155 ced->cpumask = cpumask_of(0);
156 clockevents_config_and_register(ced, timer_of_rate(to), 0xf,