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

Lines Matching refs:IOReturn

45 #include <IOKit/IOReturn.h>
159 typedef IOReturn (*IOServiceInterestHandler)( void * target, void * refCon,
601 virtual IOReturn waitQuiet( mach_timespec_t * timeout = 0 );
889 @result An IOReturn code; <code>kIOReturnSuccess</code> if the function was successfully executed, <code>kIOReturnUnsupported</code> if a service to execute the function could not be found. Other return codes may be returned by the function.*/
891 virtual IOReturn callPlatformFunction( const OSSymbol * functionName,
896 virtual IOReturn callPlatformFunction( const char * functionName,
937 @result An IOReturn code; <code>kIOReturnSuccess</code> is necessary for the IOService object to be successfully used, otherwise the registration process for the object is halted. */
939 virtual IOReturn getResources( void );
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,
1000 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source is not valid). */
1002 virtual IOReturn unregisterInterrupt(int source);
1008 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source is not valid). */
1010 virtual IOReturn getInterruptType(int source, int *interruptType);
1016 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source is not valid). */
1018 virtual IOReturn enableInterrupt(int source);
1024 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source is not valid). */
1026 virtual IOReturn disableInterrupt(int source);
1032 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source is not valid). */
1034 virtual IOReturn causeInterrupt(int source);
1040 @result An IOReturn code. */
1042 virtual IOReturn requestProbe( IOOptionBits options );
1052 @result An IOReturn code defined by the message type. */
1054 virtual IOReturn message( UInt32 type, IOService * provider,
1065 virtual IOReturn messageClient( UInt32 messageType, OSObject * client,
1075 virtual IOReturn messageClients( UInt32 type,
1092 virtual IOReturn acknowledgeNotification( IONotificationRef notification,
1107 virtual IOReturn newUserClient( task_t owningTask, void * securityID,
1111 virtual IOReturn newUserClient( task_t owningTask, void * securityID,
1117 @abstract Supplies a programmer-friendly string from an IOReturn code.
1118 @discussion Strings are available for the standard return codes in <code>IOReturn.h</code> in IOService, while subclasses may implement this method to interpret family dependent return codes.
1119 @param rtn The IOReturn code.
1122 virtual const char * stringFromReturn( IOReturn rtn );
1125 @abstract Translates an IOReturn code to a BSD <code>errno</code>.
1126 @discussion BSD defines its own return codes for its functions in <code>sys/errno.h</code>, and I/O Kit families may need to supply compliant results in BSD shims. Results are available for the standard return codes in <code>IOReturn.h</code> in IOService, while subclasses may implement this method to interpret family dependent return codes.
1127 @param rtn The IOReturn code.
1130 virtual int errnoFromReturn( IOReturn rtn );
1147 static IOReturn catalogNewDrivers( OSOrderedSet * newTables );
1148 static IOReturn waitMatchIdle( UInt32 ms );
1189 virtual IOReturn waitForState( UInt32 mask, UInt32 value,
1206 virtual IOReturn resolveInterrupt(IOService *nub, int source);
1207 virtual IOReturn lookupInterrupt(int source, bool resolve, IOInterruptController **interruptController);
1257 virtual IOReturn registerPowerDriver (
1283 virtual IOReturn deRegisterInterestedDriver ( IOService * theDriver );
1298 virtual IOReturn acknowledgePowerChange ( IOService * whichDriver );
1311 virtual IOReturn acknowledgeSetPowerState ( void );
1317 IOReturn powerDomainWillChangeTo (
1325 IOReturn powerDomainDidChangeTo (
1333 virtual IOReturn requestPowerDomainState (
1347 virtual IOReturn makeUsable ( void );
1354 virtual IOReturn temporaryPowerClampOn ( void );
1368 virtual IOReturn changePowerStateTo ( unsigned long ordinal );
1417 virtual IOReturn setAggressiveness (
1427 virtual IOReturn getAggressiveness (
1435 virtual IOReturn systemWake ( void );
1441 virtual IOReturn temperatureCriticalForZone ( IOService * whichZone );
1449 virtual IOReturn youAreRoot ( void );
1454 virtual IOReturn setPowerParent (
1466 virtual IOReturn addPowerChild ( IOService * theChild );
1473 virtual IOReturn removePowerChild ( IOPowerConnection * theChild );
1501 virtual IOReturn setIdleTimerPeriod ( unsigned long );
1530 IOReturn serializedAllowPowerChange2 ( unsigned long );
1535 IOReturn serializedCancelPowerChange2 ( unsigned long );
1552 virtual IOReturn setPowerState (
1611 virtual IOReturn powerStateWillChangeTo (
1629 virtual IOReturn powerStateDidChangeTo (
1645 virtual IOReturn newTemperature ( long currentTemp, IOService * whichZone );
1653 virtual IOReturn allowPowerChange ( unsigned long refcon );
1654 virtual IOReturn cancelPowerChange ( unsigned long refcon );
1669 IOReturn changePowerStateToPriv ( unsigned long ordinal );
1683 IOReturn powerOverrideOnPriv ( void );
1694 IOReturn powerOverrideOffPriv ( void );
1708 IOReturn enqueuePowerChange ( unsigned long, unsigned long, unsigned long, IOPowerConnection *, unsigned long );
1710 IOReturn notifyAll ( bool is_prechange );
1740 IOReturn startSettleTimer ( unsigned long delay );
1741 IOReturn changeState ( void );
1742 IOReturn ask_parent ( unsigned long requestedState );
1749 static IOReturn actionAckTimerExpired(OSObject *, void *, void *, void *, void * );
1750 static IOReturn actionDriverCalloutDone(OSObject *, void *, void *, void *, void * );
1788 IOReturn start_parent_change( const changeNoteItem * changeNote );