Lines Matching refs:ced
43 struct clock_event_device ced; member
171 p->ced.event_handler(&p->ced); in sh_mtu2_interrupt()
175 static struct sh_mtu2_priv *ced_to_sh_mtu2(struct clock_event_device *ced) in ced_to_sh_mtu2() argument
177 return container_of(ced, struct sh_mtu2_priv, ced); in ced_to_sh_mtu2()
181 struct clock_event_device *ced) in sh_mtu2_clock_event_mode() argument
183 struct sh_mtu2_priv *p = ced_to_sh_mtu2(ced); in sh_mtu2_clock_event_mode()
187 switch (ced->mode) { in sh_mtu2_clock_event_mode()
214 struct clock_event_device *ced = &p->ced; in sh_mtu2_register_clockevent() local
217 memset(ced, 0, sizeof(*ced)); in sh_mtu2_register_clockevent()
219 ced->name = name; in sh_mtu2_register_clockevent()
220 ced->features = CLOCK_EVT_FEAT_PERIODIC; in sh_mtu2_register_clockevent()
221 ced->rating = rating; in sh_mtu2_register_clockevent()
222 ced->cpumask = cpumask_of(0); in sh_mtu2_register_clockevent()
223 ced->set_mode = sh_mtu2_clock_event_mode; in sh_mtu2_register_clockevent()
226 clockevents_register_device(ced); in sh_mtu2_register_clockevent()