Lines Matching refs:ced
369 static int clockevents_replace(struct clock_event_device *ced) in clockevents_replace() argument
374 if (dev == ced || !clockevent_state_detached(dev)) in clockevents_replace()
389 list_del_init(&ced->list); in clockevents_replace()
397 static int __clockevents_try_unbind(struct clock_event_device *ced, int cpu) in __clockevents_try_unbind() argument
400 if (clockevent_state_detached(ced)) { in __clockevents_try_unbind()
401 list_del_init(&ced->list); in __clockevents_try_unbind()
405 return ced == per_cpu(tick_cpu_device, cpu).evtdev ? -EAGAIN : -EBUSY; in __clockevents_try_unbind()
428 static int clockevents_unbind(struct clock_event_device *ced, int cpu) in clockevents_unbind() argument
430 struct ce_unbind cu = { .ce = ced, .res = -ENODEV }; in clockevents_unbind()
439 int clockevents_unbind_device(struct clock_event_device *ced, int cpu) in clockevents_unbind_device() argument
444 ret = clockevents_unbind(ced, cpu); in clockevents_unbind_device()