Lines Matching defs:handler
605 * mess. If the current handler includes an expiry handler then
606 * we invoke the expiry handler, and providing it is happy the
608 * invoking the handler and checking the drive DMA status. We
617 ide_handler_t *handler;
625 handler = hwif->handler;
627 if (handler == NULL || hwif->req_gen != hwif->req_gen_timer) {
651 hwif->handler = NULL;
655 * the handler() function, which means we need to
664 startstop = handler(drive);
673 startstop = handler(drive);
746 * ide_intr - default IDE interrupt handler
751 * This is the default IRQ handler for the IDE layer. You should
756 * a command. hwif->cur_dev is the drive and hwif->handler is
757 * the IRQ handler to call. As we issue a command the handlers
758 * step through multiple states, reassigning the handler to the
765 * The handler eventually returns ide_stopped to indicate the
775 ide_handler_t *handler;
793 handler = hwif->handler;
795 if (handler == NULL || hwif->polling) {
836 hwif->handler = NULL;
848 /* service this interrupt, may set handler for next interrupt */
849 startstop = handler(drive);
853 * Note that handler() may have set things up for another
860 BUG_ON(hwif->handler);