Lines Matching refs:ced
359 static int clockevents_replace(struct clock_event_device *ced) in clockevents_replace() argument
364 if (dev == ced || !clockevent_state_detached(dev)) in clockevents_replace()
379 list_del_init(&ced->list); in clockevents_replace()
387 static int __clockevents_try_unbind(struct clock_event_device *ced, int cpu) in __clockevents_try_unbind() argument
390 if (clockevent_state_detached(ced)) { in __clockevents_try_unbind()
391 list_del_init(&ced->list); in __clockevents_try_unbind()
395 return ced == per_cpu(tick_cpu_device, cpu).evtdev ? -EAGAIN : -EBUSY; in __clockevents_try_unbind()
418 static int clockevents_unbind(struct clock_event_device *ced, int cpu) in clockevents_unbind() argument
420 struct ce_unbind cu = { .ce = ced, .res = -ENODEV }; in clockevents_unbind()
429 int clockevents_unbind_device(struct clock_event_device *ced, int cpu) in clockevents_unbind_device() argument
434 ret = clockevents_unbind(ced, cpu); in clockevents_unbind_device()