/xnu-2782.1.97/iokit/IOKit/ |
H A D | IOTimerEventSource.h | 136 virtual IOReturn setTimeoutTicks(UInt32 ticks); 142 virtual IOReturn setTimeoutMS(UInt32 ms); 148 virtual IOReturn setTimeoutUS(UInt32 us); 155 virtual IOReturn setTimeout(UInt32 interval, 159 virtual IOReturn setTimeout(mach_timespec_t interval) 167 virtual IOReturn setTimeout(AbsoluteTime interval); 173 virtual IOReturn wakeAtTimeTicks(UInt32 ticks); 179 virtual IOReturn wakeAtTimeMS(UInt32 ms); 185 virtual IOReturn wakeAtTimeUS(UInt32 us); 192 virtual IOReturn wakeAtTim [all...] |
H A D | IOInterruptController.h | 80 virtual IOReturn registerInterrupt(IOService *nub, int source, 84 virtual IOReturn unregisterInterrupt(IOService *nub, int source); 86 virtual IOReturn getInterruptType(IOService *nub, int source, 89 virtual IOReturn enableInterrupt(IOService *nub, int source); 90 virtual IOReturn disableInterrupt(IOService *nub, int source); 91 virtual IOReturn causeInterrupt(IOService *nub, int source); 94 virtual IOReturn handleInterrupt(void *refCon, IOService *nub, 131 virtual IOReturn initInterruptController(IOInterruptController *parentController, OSData *parentSource); 133 virtual IOReturn registerInterrupt(IOService *nub, int source, 137 virtual IOReturn unregisterInterrup [all...] |
H A D | IOKernelReporters.h | 159 @result appropriate IOReturn code 172 IOReturn addChannel(uint64_t channelID, const char *channelName = NULL); 213 @result appropriate IOReturn code 240 IOReturn configureReport(IOReportChannelList *channelList, 252 @result appropriate IOReturn code 266 IOReturn updateReport(IOReportChannelList *channelList, 313 static IOReturn configureAllReports(OSSet *reporters, 328 @result IOReturn code 339 static IOReturn updateAllReports(OSSet *reporters, 441 @result IOReturn cod [all...] |
H A D | IOCommandGate.h | 81 typedef IOReturn (*Action)(OSObject *owner, 133 virtual IOReturn runCommand(void *arg0 = 0, void *arg1 = 0, 151 virtual IOReturn runAction(Action action, 165 virtual IOReturn attemptCommand(void *arg0 = 0, void *arg1 = 0, 182 virtual IOReturn attemptAction(Action action, 192 virtual IOReturn commandSleep(void *event, 218 virtual IOReturn commandSleep(void *event,
|
H A D | IOPolledInterface.h | 54 IOReturn status, 72 virtual IOReturn probe(IOService * target) = 0; 74 virtual IOReturn open( IOOptionBits state, IOMemoryDescriptor * buffer) = 0; 75 virtual IOReturn close(IOOptionBits state) = 0; 77 virtual IOReturn startIO(uint32_t operation, 83 virtual IOReturn checkForWork(void) = 0; 85 static IOReturn checkAllForWork(void);
|
H A D | IOSyncer.h | 43 IOReturn fResult; 56 virtual IOReturn wait(bool autoRelease = true) 58 virtual void signal(IOReturn res = kIOReturnSuccess,
|
H A D | IOUserClient.h | 65 typedef IOReturn (IOService::*IOMethod)(void * p1, void * p2, void * p3, 68 typedef IOReturn (IOService::*IOAsyncMethod)(OSAsyncReference asyncRef, 72 typedef IOReturn (IOService::*IOTrap)(void * p1, void * p2, void * p3, 154 typedef IOReturn (*IOExternalMethodAction)(OSObject * target, void * reference, 214 virtual IOReturn externalMethod( uint32_t selector, IOExternalMethodArguments * arguments, 217 virtual IOReturn registerNotificationPort( 255 static IOReturn sendAsyncResult(OSAsyncReference reference, 256 IOReturn result, void *args[], UInt32 numArgs); 261 static IOReturn sendAsyncResult64(OSAsyncReference64 reference, 262 IOReturn resul [all...] |
H A D | IODMAController.h | 50 virtual IOReturn initDMAChannel(IOService *provider, IODMAEventSource *dmaES, UInt32 *dmaIndex, UInt32 reqIndex) = 0; 51 virtual IOReturn startDMACommand(UInt32 dmaIndex, IODMACommand *dmaCommand, IODirection direction, 53 virtual IOReturn stopDMACommand(UInt32 dmaIndex, bool flush = false, uint64_t timeout = UINT64_MAX) = 0; 55 virtual void notifyDMACommand(IODMAEventSource *dmaES, IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount, AbsoluteTime timeStamp); 56 virtual IOReturn queryDMACommand(UInt32 dmaIndex, IODMACommand **dmaCommand, IOByteCount *transferCount, bool waitForIdle = false) = 0; 58 virtual IOReturn setFIFODepth(UInt32 dmaIndex, IOByteCount depth) = 0; 60 virtual IOReturn setDMAConfig(UInt32 dmaIndex, IOService *provider, UInt32 reqIndex) = 0;
|
H A D | IODMAEventSource.h | 46 typedef void (*Action)(OSObject *owner, IODMAEventSource *dmaES, IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount, AbsoluteTime timeStamp); 51 virtual void notifyDMACommand(IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount, AbsoluteTime timeStamp); 60 virtual IOReturn startDMACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount = 0, IOByteCount byteOffset = 0); 61 virtual IOReturn stopDMACommand(bool flush = false, uint64_t timeout = UINT64_MAX); 63 virtual IOReturn queryDMACommand(IODMACommand **dmaCommand, IOByteCount *transferCount, bool waitForIdle = false); 66 virtual IOReturn setFIFODepth(IOByteCount depth); 69 virtual IOReturn setDMAConfig(UInt32 dmaIndex);
|
H A D | IODMACommand.h | 220 static inline IOReturn weakWithSpecification 266 virtual IOReturn setMemoryDescriptor(const IOMemoryDescriptor *mem, 274 virtual IOReturn clearMemoryDescriptor(bool autoComplete = true); 288 @result An IOReturn code. */ 290 virtual IOReturn prepare(UInt64 offset = 0, UInt64 length = 0, bool flushCache = true, bool synchronize = true); 299 virtual IOReturn complete(bool invalidateCache = true, bool synchronize = true); 310 virtual IOReturn synchronize(IOOptionBits options); 320 virtual IOReturn genIOVMSegments(UInt64 *offset, 352 inline IOReturn gen32IOVMSegments(UInt64 *offset, 360 inline IOReturn gen64IOVMSegment [all...] |
H A D | IOService.h | 45 #include <IOKit/IOReturn.h> 170 typedef IOReturn (*IOServiceInterestHandler)( void * target, void * refCon, 405 virtual IOReturn configureReport(IOReportChannelList *channels, 419 virtual IOReturn updateReport(IOReportChannelList *channels, 661 IOReturn waitQuiet(mach_timespec_t * timeout) 670 IOReturn waitQuiet(uint64_t timeout = UINT64_MAX); 993 @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.*/ 995 virtual IOReturn callPlatformFunction( const OSSymbol * functionName, 1000 virtual IOReturn callPlatformFunction( const char * functionName, 1041 @result An IOReturn cod [all...] |
H A D | IOCatalogue.h | 171 IOReturn terminateDrivers( OSDictionary * matching ); 179 IOReturn terminateDriversForModule( OSString * moduleName, bool unload = true); 187 IOReturn terminateDriversForModule( const char * moduleName, bool unload = true); 233 IOReturn unloadModule( OSString * moduleName ) const; 235 IOReturn _removeDrivers(OSDictionary * matching); 236 IOReturn _terminateDrivers(OSDictionary * matching);
|
H A D | IOLocksPrivate.h | 43 #include <IOKit/IOReturn.h>
|
H A D | IOSubMemoryDescriptor.h | 84 virtual IOReturn prepare(IODirection forDirection = kIODirectionNone); 86 virtual IOReturn complete(IODirection forDirection = kIODirectionNone); 91 IOReturn redirect( task_t safeTask, bool redirect ); 93 virtual IOReturn setPurgeable( IOOptionBits newState,
|
/xnu-2782.1.97/iokit/IOKit/pwr_mgt/ |
H A D | IOPMPowerSourceList.h | 29 #include <IOKit/IOReturn.h> 48 IOReturn addToList(IOPMPowerSource *newPowerSource); 49 IOReturn removeFromList(IOPMPowerSource *theItem);
|
H A D | IOPMinformeeList.h | 30 #include <IOKit/IOReturn.h> 56 IOReturn addToList ( IOPMinformee * newInformee ); 57 IOReturn removeFromList ( IOService * theItem );
|
H A D | RootDomain.h | 129 typedef IOReturn (*IOPMSettingControllerCallback) 141 IOReturn acknowledgeSleepWakeNotification(void * ); 143 IOReturn vetoSleepWakeNotification(void * PMrefcon); 156 virtual IOReturn setAggressiveness( unsigned long, unsigned long ); 157 virtual IOReturn getAggressiveness( unsigned long, unsigned long * ); 159 virtual IOReturn sleepSystem( void ); 160 IOReturn sleepSystemOptions( OSDictionary *options ); 162 virtual IOReturn setProperties( OSObject * ); 177 IOReturn systemPowerEventOccurred( 181 IOReturn systemPowerEventOccurre [all...] |
/xnu-2782.1.97/iokit/IOKit/rtc/ |
H A D | IORTCController.h | 43 virtual IOReturn getRealTimeClock ( UInt8 * currentTime, IOByteCount * length ) = 0; 44 virtual IOReturn setRealTimeClock ( UInt8 * newTime ) = 0;
|
/xnu-2782.1.97/iokit/Kernel/ |
H A D | RootDomainUserClient.h | 54 IOReturn secureSleepSystem( uint32_t *return_code ); 56 IOReturn secureSleepSystemOptions( const void *inOptions, 60 IOReturn secureSetAggressiveness( unsigned long type, 64 IOReturn secureSetMaintenanceWakeCalendar( 68 IOReturn secureSetUserAssertionLevels(uint32_t assertionBitfield); 70 IOReturn secureGetSystemSleepType( uint32_t *sleepType ); 74 virtual IOReturn clientClose( void ); 76 virtual IOReturn externalMethod( uint32_t selector,
|
H A D | IOPolledInterface.cpp | 55 IOReturn 58 IOReturn err = kIOReturnNotReady;
|
H A D | IOReportLegend.cpp | 71 IOReturn 97 IOReturn 103 IOReturn res = kIOReturnError; 127 IOReturn 159 IOReturn 164 IOReturn res = kIOReturnError; 182 IOReturn 187 IOReturn res = kIOReturnError;
|
H A D | IOSubMemoryDescriptor.cpp | 37 IOReturn IOSubMemoryDescriptor::redirect( task_t safeTask, bool doRedirect ) 133 IOReturn IOSubMemoryDescriptor::setPurgeable( IOOptionBits newState, 136 IOReturn err; 143 IOReturn IOSubMemoryDescriptor::prepare( 146 IOReturn err; 153 IOReturn IOSubMemoryDescriptor::complete( 156 IOReturn err;
|
H A D | IOCommandGate.cpp | 32 #include <IOKit/IOReturn.h> 136 IOReturn IOCommandGate::runCommand(void *arg0, void *arg1, 142 IOReturn IOCommandGate::attemptCommand(void *arg0, void *arg1, 148 IOReturn IOCommandGate::runAction(Action inAction, 160 IOReturn res; 166 IOReturn res = sleepGate(&enabled, THREAD_ABORTSAFE); 201 IOReturn IOCommandGate::attemptAction(Action inAction, 205 IOReturn res; 239 IOReturn IOCommandGate::commandSleep(void *event, UInt32 interruptible) 247 IOReturn IOCommandGat [all...] |
/xnu-2782.1.97/iokit/IOKit/nvram/ |
H A D | IONVRAMController.h | 43 virtual IOReturn read(IOByteCount offset, UInt8 *buffer, 45 virtual IOReturn write(IOByteCount offset, UInt8 *buffer,
|
/xnu-2782.1.97/iokit/IOKit/platform/ |
H A D | AppleNMI.h | 64 virtual IOReturn initNMI(IOInterruptController *parentController, OSData *parentSource); 65 virtual IOReturn handleInterrupt(void *refCon, IOService *nub, int source); 68 virtual IOReturn powerStateWillChangeTo(IOPMPowerFlags, unsigned long, IOService*);
|