Lines Matching defs:handler
38 interrupt_type_handler_t handler;
153 assert(intr_type_descs[type].handler != NULL);
171 assert(intr_type_descs[type].handler != NULL);
183 * This function registers a handler for the 'type' of interrupt specified. It
188 interrupt_type_handler_t handler,
193 /* Validate the 'handler' parameter */
194 if (handler == NULL)
201 /* Check if a handler has already been registered */
202 if (intr_type_descs[type].handler != NULL)
209 /* Save the handler */
210 intr_type_descs[type].handler = handler;
217 * handler for the interrupt type (if registered). It returns NULL if the
218 * interrupt type is not supported or its handler has not been registered.
225 return intr_type_descs[type].handler;