Lines Matching refs:ced
358 static int clockevents_replace(struct clock_event_device *ced) in clockevents_replace() argument
363 if (dev == ced || !clockevent_state_detached(dev)) in clockevents_replace()
378 list_del_init(&ced->list); in clockevents_replace()
386 static int __clockevents_try_unbind(struct clock_event_device *ced, int cpu) in __clockevents_try_unbind() argument
389 if (clockevent_state_detached(ced)) { in __clockevents_try_unbind()
390 list_del_init(&ced->list); in __clockevents_try_unbind()
394 return ced == per_cpu(tick_cpu_device, cpu).evtdev ? -EAGAIN : -EBUSY; in __clockevents_try_unbind()
417 static int clockevents_unbind(struct clock_event_device *ced, int cpu) in clockevents_unbind() argument
419 struct ce_unbind cu = { .ce = ced, .res = -ENODEV }; in clockevents_unbind()
428 int clockevents_unbind_device(struct clock_event_device *ced, int cpu) in clockevents_unbind_device() argument
433 ret = clockevents_unbind(ced, cpu); in clockevents_unbind_device()