Home | History | Annotate | Download | only in ee

Lines Matching refs:dispatcher

87 	struct _ipl_dispatcher *dispatcher;
106 SLIST_FOREACH(dispatcher, &__intc_dispatcher_head, link) {
107 if (dispatcher->bit & dispatch) {
108 KDASSERT(dispatcher->func);
109 (*dispatcher->func)(dispatcher->arg);
110 dispatch &= ~dispatcher->bit;
162 struct _ipl_dispatcher *dispatcher = &__intc_dispatcher[ch];
167 KDASSERT(dispatcher->func == NULL);
170 dispatcher->func = func;
171 dispatcher->arg = arg;
172 dispatcher->ipl = ipl;
173 dispatcher->channel = ch;
174 dispatcher->bit = bit = (1 << ch);
184 SLIST_INSERT_HEAD(&__intc_dispatcher_head, dispatcher, link);
189 SLIST_INSERT_AFTER(d, dispatcher, link);
209 struct _ipl_dispatcher *dispatcher = &__intc_dispatcher[ch];
216 dispatcher->func = NULL;
218 SLIST_REMOVE(&__intc_dispatcher_head, dispatcher,
221 bit = dispatcher->bit;