Lines Matching defs:handler
29 /* For a valid handler, return the actual function pointer; otherwise, 0. */
391 * Top-level EL3 interrupt handler.
399 ehf_handler_t handler;
402 * Top-level interrupt type handler from Interrupt Management Framework
435 handler = (ehf_handler_t) RAW_HANDLER(
437 if (handler == NULL) {
438 ERROR("No EL3 exception handler for priority 0x%x\n",
444 * Call registered handler. Pass the raw interrupt value to registered
447 ret = handler(intr_raw, flags, handle, cookie);
489 /* Register handler for EL3 interrupts */
496 * Register a handler at the supplied priority. Registration is allowed only if
497 * a handler hasn't been registered before, or one wasn't provided at build
498 * time. The priority for which the handler is being registered must also accord
501 void ehf_register_priority_handler(unsigned int pri, ehf_handler_t handler)
505 /* Sanity check for handler */
506 assert(handler != NULL);
509 assert((((uintptr_t) handler) & 3U) == 0U);
516 /* Return failure if a handler was already registered */
523 * Install handler, and retain the valid bit. We assume that the handler
527 (((uintptr_t) handler) | EHF_PRI_VALID_);
529 EHF_LOG("register pri=0x%x handler=%p\n", pri, handler);