Lines Matching full:next

224 		struct lll_event *next;  in lll_disable()  local
228 next = ull_prepare_dequeue_iter(&idx); in lll_disable()
229 while (next) { in lll_disable()
230 if (!next->is_aborted && in lll_disable()
231 (!param || (param == next->prepare_param.param))) { in lll_disable()
232 next->is_aborted = 1; in lll_disable()
233 next->abort_cb(&next->prepare_param, in lll_disable()
234 next->prepare_param.param); in lll_disable()
245 next = ull_prepare_dequeue_iter(&idx); in lll_disable()
272 struct lll_event *next; in lll_done() local
277 next = ull_prepare_dequeue_get(); in lll_done()
278 LL_ASSERT(!param || next); in lll_done()
339 int lll_is_abort_cb(void *next, void *curr, lll_prepare_cb_t *resume_cb) in lll_is_abort_cb() argument
527 struct lll_event *next; in lll_prepare_resolve() local
534 /* Store the next prepare for deferred call */ in lll_prepare_resolve()
535 next = ull_prepare_enqueue(is_abort_cb, abort_cb, prepare_param, in lll_prepare_resolve()
537 LL_ASSERT(next); in lll_prepare_resolve()
547 ret = preempt_ticker_start(next, ticker_start_op_cb); in lll_prepare_resolve()
552 next = NULL; in lll_prepare_resolve()
561 next = p; in lll_prepare_resolve()
568 if (next) { in lll_prepare_resolve()
575 next = resume_enqueue(resume_cb); in lll_prepare_resolve()
576 LL_ASSERT(next); in lll_prepare_resolve()
606 /* Find next prepare needing preempt timeout to be setup */ in lll_prepare_resolve()
714 struct lll_event *next; in preempt() local
725 next = ull_prepare_dequeue_iter(&idx); in preempt()
726 if (!next) { in preempt()
731 while (next && (next->is_aborted || next->is_resume)) { in preempt()
732 next = ull_prepare_dequeue_iter(&idx); in preempt()
736 if (!next) { in preempt()
741 if (next != param) { in preempt()
745 ret = preempt_ticker_start(next, ticker_start_next_op_cb); in preempt()
753 err = event.curr.is_abort_cb(next->prepare_param.param, in preempt()
758 next->is_aborted = 1; in preempt()
759 next->abort_cb(&next->prepare_param, next->prepare_param.param); in preempt()