Lines Matching refs:ced
360 static int clockevents_replace(struct clock_event_device *ced) in clockevents_replace() argument
365 if (dev == ced || dev->state != CLOCK_EVT_STATE_DETACHED) in clockevents_replace()
380 list_del_init(&ced->list); in clockevents_replace()
388 static int __clockevents_try_unbind(struct clock_event_device *ced, int cpu) in __clockevents_try_unbind() argument
391 if (ced->state == CLOCK_EVT_STATE_DETACHED) { in __clockevents_try_unbind()
392 list_del_init(&ced->list); in __clockevents_try_unbind()
396 return ced == per_cpu(tick_cpu_device, cpu).evtdev ? -EAGAIN : -EBUSY; in __clockevents_try_unbind()
419 static int clockevents_unbind(struct clock_event_device *ced, int cpu) in clockevents_unbind() argument
421 struct ce_unbind cu = { .ce = ced, .res = -ENODEV }; in clockevents_unbind()
430 int clockevents_unbind_device(struct clock_event_device *ced, int cpu) in clockevents_unbind_device() argument
435 ret = clockevents_unbind(ced, cpu); in clockevents_unbind_device()