Lines Matching refs:ced
364 static int clockevents_replace(struct clock_event_device *ced) in clockevents_replace() argument
369 if (dev == ced || !clockevent_state_detached(dev)) in clockevents_replace()
384 list_del_init(&ced->list); in clockevents_replace()
392 static int __clockevents_try_unbind(struct clock_event_device *ced, int cpu) in __clockevents_try_unbind() argument
395 if (clockevent_state_detached(ced)) { in __clockevents_try_unbind()
396 list_del_init(&ced->list); in __clockevents_try_unbind()
400 return ced == per_cpu(tick_cpu_device, cpu).evtdev ? -EAGAIN : -EBUSY; in __clockevents_try_unbind()
423 static int clockevents_unbind(struct clock_event_device *ced, int cpu) in clockevents_unbind() argument
425 struct ce_unbind cu = { .ce = ced, .res = -ENODEV }; in clockevents_unbind()
434 int clockevents_unbind_device(struct clock_event_device *ced, int cpu) in clockevents_unbind_device() argument
439 ret = clockevents_unbind(ced, cpu); in clockevents_unbind_device()