• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/

Lines Matching refs:source

141 				   IOService * nub, int source );
985 @discussion This method installs a C function interrupt handler to be called at primary interrupt time for a device's interrupt. Only one handler may be installed per interrupt source. IOInterruptEventSource provides a work loop based abstraction for interrupt delivery that may be more appropriate for work loop based drivers.
986 @param source The index of the interrupt source in the device.
988 @param handler The C function to be called at primary interrupt time when the interrupt occurs. The handler should process the interrupt by clearing the interrupt, or by disabling the source.
990 @result An IOReturn code.<br><code>kIOReturnNoInterrupt</code> is returned if the source is not valid; <code>kIOReturnNoResources</code> is returned if the interrupt already has an installed handler. */
992 virtual IOReturn registerInterrupt(int source, OSObject *target,
999 @param source The index of the interrupt source in the device.
1000 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source is not valid). */
1002 virtual IOReturn unregisterInterrupt(int source);
1006 @param source The index of the interrupt source in the device.
1007 @param interruptType The interrupt type for the interrupt source will be stored here by <code>getInterruptType</code>.<br> <code>kIOInterruptTypeEdge</code> will be returned for edge-trigggered sources.<br><code>kIOInterruptTypeLevel</code> will be returned for level-trigggered sources.
1008 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source is not valid). */
1010 virtual IOReturn getInterruptType(int source, int *interruptType);
1014 @discussion It is the caller's responsiblity to keep track of the enable state of the interrupt source.
1015 @param source The index of the interrupt source in the device.
1016 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source is not valid). */
1018 virtual IOReturn enableInterrupt(int source);
1022 @discussion If the interrupt routine is running, the call will block until the routine completes. It is the caller's responsiblity to keep track of the enable state of the interrupt source.
1023 @param source The index of the interrupt source in the device.
1024 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source is not valid). */
1026 virtual IOReturn disableInterrupt(int source);
1031 @param source The index of the interrupt source in the device.
1032 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source is not valid). */
1034 virtual IOReturn causeInterrupt(int source);
1206 virtual IOReturn resolveInterrupt(IOService *nub, int source);
1207 virtual IOReturn lookupInterrupt(int source, bool resolve, IOInterruptController **interruptController);