Lines Matching refs:nub
63 IOReturn IOInterruptController::registerInterrupt(IOService *nub, int source,
79 interruptSources = nub->_interruptSources;
89 IODTGetInterruptOptions(nub, source, &options);
93 (getInterruptType(nub, source, &interruptType) == kIOReturnSuccess) &&
122 // Save the nub and source for the original consumer.
123 originalNub = vector->nub;
176 vector->nub = vector->sharedController;
198 error = vector->sharedController->registerInterrupt(nub, source, target,
206 vector->nub = nub;
223 IOReturn IOInterruptController::unregisterInterrupt(IOService *nub, int source)
230 interruptSources = nub->_interruptSources;
245 disableInterrupt(nub, source);
255 vector->nub = 0;
265 IOReturn IOInterruptController::getInterruptType(IOService *nub, int source,
275 interruptSources = nub->_interruptSources;
285 IOReturn IOInterruptController::enableInterrupt(IOService *nub, int source)
292 interruptSources = nub->_interruptSources;
320 IOReturn IOInterruptController::disableInterrupt(IOService *nub, int source)
327 interruptSources = nub->_interruptSources;
348 IOReturn IOInterruptController::causeInterrupt(IOService *nub, int source)
355 interruptSources = nub->_interruptSources;
370 IOReturn IOInterruptController::handleInterrupt(void *refCon, IOService *nub,
436 // Set provider to this so enable/disable nub stuff works.
439 // Allocate the IOInterruptSource so this can act like a nub.
490 IOReturn IOSharedInterruptController::registerInterrupt(IOService *nub,
502 interruptSources = nub->_interruptSources;
540 vector->nub = nub;
558 IOReturn IOSharedInterruptController::unregisterInterrupt(IOService *nub,
567 interruptSources = nub->_interruptSources;
582 disableInterrupt(nub, source);
589 vector->nub = 0;
610 IOReturn IOSharedInterruptController::getInterruptType(IOService */*nub*/,
617 IOReturn IOSharedInterruptController::enableInterrupt(IOService *nub,
626 interruptSources = nub->_interruptSources;
649 IOReturn IOSharedInterruptController::disableInterrupt(IOService *nub,
658 interruptSources = nub->_interruptSources;
691 IOService * nub,
713 vector->nub, vector->source);
723 nub->disableInterrupt(0);