Lines Matching refs:source
63 IOReturn IOInterruptController::registerInterrupt(IOService *nub, int source,
80 vectorData = interruptSources[source].vectorData;
87 // Check if the interrupt source can/should be shared.
89 IODTGetInterruptOptions(nub, source, &options);
93 (getInterruptType(nub, source, &interruptType) == kIOReturnSuccess) &&
122 // Save the nub and source for the original consumer.
124 originalSource = vector->source;
177 vector->source = 0;
198 error = vector->sharedController->registerInterrupt(nub, source, target,
207 vector->source = source;
223 IOReturn IOInterruptController::unregisterInterrupt(IOService *nub, int source)
231 vectorData = interruptSources[source].vectorData;
244 // Soft disable the source.
245 disableInterrupt(nub, source);
247 // Turn the source off at hardware.
256 vector->source = 0;
265 IOReturn IOInterruptController::getInterruptType(IOService *nub, int source,
276 vectorData = interruptSources[source].vectorData;
285 IOReturn IOInterruptController::enableInterrupt(IOService *nub, int source)
293 vectorData = interruptSources[source].vectorData;
320 IOReturn IOInterruptController::disableInterrupt(IOService *nub, int source)
328 vectorData = interruptSources[source].vectorData;
348 IOReturn IOInterruptController::causeInterrupt(IOService *nub, int source)
356 vectorData = interruptSources[source].vectorData;
371 int source)
491 int source,
535 interruptSources[source].interruptController = this;
536 interruptSources[source].vectorData = vectorData;
541 vector->source = source;
559 int source)
568 vectorData = interruptSources[source].vectorData;
581 // Soft disable the source and the controller too.
582 disableInterrupt(nub, source);
590 vector->source = 0;
611 int /*source*/,
618 int source)
627 vectorData = interruptSources[source].vectorData;
650 int source)
659 vectorData = interruptSources[source].vectorData;
692 int /*source*/)
713 vector->nub, vector->source);