Lines Matching refs:h
113 struct itr_handler *h = NULL; in interrupt_call_handlers() local
118 SLIST_FOREACH(h, &chip->handlers, link) { in interrupt_call_handlers()
119 if (h->it == itr_num) { in interrupt_call_handlers()
120 if (h->handler(h) == ITRR_HANDLED) in interrupt_call_handlers()
122 else if (!(h->flags & ITRF_SHARED)) in interrupt_call_handlers()
151 struct itr_handler *h = NULL; in add_configure_handler() local
156 SLIST_FOREACH(h, &hdl->chip->handlers, link) { in add_configure_handler()
157 if (h->it == hdl->it && in add_configure_handler()
159 !(h->flags & ITRF_SHARED))) { in add_configure_handler()
217 struct itr_handler *h = NULL; in interrupt_remove_handler() local
223 SLIST_FOREACH(h, &hdl->chip->handlers, link) in interrupt_remove_handler()
224 if (h == hdl) in interrupt_remove_handler()
226 if (!h) { in interrupt_remove_handler()
233 SLIST_FOREACH(h, &hdl->chip->handlers, link) { in interrupt_remove_handler()
234 if (h != hdl && h->it == hdl->it) { in interrupt_remove_handler()