Searched refs:IOReturn (Results 1 - 25 of 94) sorted by relevance

1234

/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOTimerEventSource.h140 virtual IOReturn setTimeoutTicks(UInt32 ticks);
146 virtual IOReturn setTimeoutMS(UInt32 ms);
152 virtual IOReturn setTimeoutUS(UInt32 us);
159 virtual IOReturn setTimeout(UInt32 interval,
166 virtual IOReturn setTimeout(mach_timespec_t interval);
172 virtual IOReturn setTimeout(AbsoluteTime interval);
178 virtual IOReturn wakeAtTimeTicks(UInt32 ticks);
184 virtual IOReturn wakeAtTimeMS(UInt32 ms);
190 virtual IOReturn wakeAtTimeUS(UInt32 us);
197 virtual IOReturn wakeAtTim
[all...]
H A DIOInterruptController.h75 virtual IOReturn registerInterrupt(IOService *nub, int source,
79 virtual IOReturn unregisterInterrupt(IOService *nub, int source);
81 virtual IOReturn getInterruptType(IOService *nub, int source,
84 virtual IOReturn enableInterrupt(IOService *nub, int source);
85 virtual IOReturn disableInterrupt(IOService *nub, int source);
86 virtual IOReturn causeInterrupt(IOService *nub, int source);
89 virtual IOReturn handleInterrupt(void *refCon, IOService *nub,
126 virtual IOReturn initInterruptController(IOInterruptController *parentController, OSData *parentSource);
128 virtual IOReturn registerInterrupt(IOService *nub, int source,
132 virtual IOReturn unregisterInterrup
[all...]
H A DIOPolledInterface.h52 IOReturn status,
70 virtual IOReturn probe(IOService * target) = 0;
72 virtual IOReturn open( IOOptionBits state, IOMemoryDescriptor * buffer) = 0;
73 virtual IOReturn close(IOOptionBits state) = 0;
75 virtual IOReturn startIO(uint32_t operation,
81 virtual IOReturn checkForWork(void) = 0;
83 static IOReturn checkAllForWork(void);
H A DIOSyncer.h45 IOReturn fResult;
58 virtual IOReturn wait(bool autoRelease = true)
60 virtual void signal(IOReturn res = kIOReturnSuccess,
H A DIOCommandGate.h81 typedef IOReturn (*Action)(OSObject *owner,
137 virtual IOReturn runCommand(void *arg0 = 0, void *arg1 = 0,
155 virtual IOReturn runAction(Action action,
169 virtual IOReturn attemptCommand(void *arg0 = 0, void *arg1 = 0,
186 virtual IOReturn attemptAction(Action action,
196 virtual IOReturn commandSleep(void *event,
H A DIONVRAM.h91 virtual IOReturn initOFVariables(void);
93 virtual IOReturn syncOFVariables(void);
111 virtual IOReturn readNVRAMPropertyType0(IORegistryEntry *entry,
114 virtual IOReturn writeNVRAMPropertyType0(IORegistryEntry *entry,
121 virtual IOReturn readNVRAMPropertyType1(IORegistryEntry *entry,
124 virtual IOReturn writeNVRAMPropertyType1(IORegistryEntry *entry,
140 virtual IOReturn setProperties(OSObject *properties);
142 virtual IOReturn readXPRAM(IOByteCount offset, UInt8 *buffer,
144 virtual IOReturn writeXPRAM(IOByteCount offset, UInt8 *buffer,
147 virtual IOReturn readNVRAMPropert
[all...]
H A DIODMAController.h50 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, mach_timespec_t * timeout = 0) = 0;
55 virtual void notifyDMACommand(IODMAEventSource *dmaES, IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount);
56 virtual IOReturn queryDMACommand(UInt32 dmaIndex, IODMACommand **dmaCommand, IOByteCount *transferCount, bool waitForIdle = false) = 0;
H A DIODMAEventSource.h46 typedef void (*Action)(OSObject *owner, IODMAEventSource *dmaES, IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount);
51 virtual void notifyDMACommand(IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount);
60 virtual IOReturn startDMACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount = 0, IOByteCount byteOffset = 0);
61 virtual IOReturn stopDMACommand(bool flush = false, mach_timespec_t *timeout = 0);
63 virtual IOReturn queryDMACommand(IODMACommand **dmaCommand, IOByteCount *transferCount, bool waitForIdle = false);
H A DIOWorkLoop.h41 #include <IOKit/IOReturn.h>
78 typedef IOReturn (*Action)(OSObject *target,
153 virtual IOReturn _maintRequest(void *command, void *data, void *, void *);
217 virtual IOReturn addEventSource(IOEventSource *newEvent);
224 virtual IOReturn removeEventSource(IOEventSource *toRemove);
276 virtual IOReturn runAction(Action action, OSObject *target,
H A DIOCPU.h85 virtual IOReturn setProperties(OSObject *properties);
131 virtual IOReturn initCPUInterruptController(int sources);
136 virtual IOReturn registerInterrupt(IOService *nub, int source,
141 virtual IOReturn getInterruptType(IOService *nub, int source,
144 virtual IOReturn enableInterrupt(IOService *nub, int source);
145 virtual IOReturn disableInterrupt(IOService *nub, int source);
146 virtual IOReturn causeInterrupt(IOService *nub, int source);
148 virtual IOReturn handleInterrupt(void *refCon, IOService *nub,
H A DIODMACommand.h220 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 DIOUserClient.h58 typedef IOReturn (IOService::*IOMethod)(void * p1, void * p2, void * p3,
61 typedef IOReturn (IOService::*IOAsyncMethod)(OSAsyncReference asyncRef,
65 typedef IOReturn (IOService::*IOTrap)(void * p1, void * p2, void * p3,
138 typedef IOReturn (*IOExternalMethodAction)(OSObject * target, void * reference,
182 virtual IOReturn externalMethod( uint32_t selector, IOExternalMethodArguments * arguments,
205 static IOReturn sendAsyncResult(OSAsyncReference reference,
206 IOReturn result, void *args[], UInt32 numArgs);
211 static IOReturn sendAsyncResult64(OSAsyncReference64 reference,
212 IOReturn result, io_user_reference_t args[], UInt32 numArgs);
222 static IOReturn clientHasPrivileg
[all...]
H A DIOLocksPrivate.h43 #include <IOKit/IOReturn.h>
H A DIOService.h45 #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 registerInterrup
[all...]
H A DIOPlatformExpert.h126 virtual IOReturn getNubResources( IOService * nub );
141 virtual IOReturn getConsoleInfo( PE_Video * consoleInfo );
142 virtual IOReturn setConsoleInfo( PE_Video * consoleInfo, unsigned int op );
146 virtual IOReturn registerInterruptController(OSSymbol *name, IOInterruptController *interruptController);
151 virtual IOReturn callPlatformFunction(const OSSymbol *functionName,
213 virtual IOReturn getNubResources( IOService * nub );
222 /* virtual */ IOReturn readXPRAM(IOByteCount offset, UInt8 * buffer,
225 /* virtual */ IOReturn writeXPRAM(IOByteCount offset, UInt8 * buffer,
228 virtual IOReturn readNVRAMProperty(
232 virtual IOReturn writeNVRAMPropert
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/pwr_mgt/
H A DIOPMPowerSourceList.h29 #include <IOKit/IOReturn.h>
48 IOReturn addToList(IOPMPowerSource *newPowerSource);
49 IOReturn removeFromList(IOPMPowerSource *theItem);
H A DIOPMinformeeList.h30 #include <IOKit/IOReturn.h>
56 IOReturn addToList ( IOPMinformee * newInformee );
57 IOReturn removeFromList ( IOService * theItem );
H A DRootDomain.h78 typedef IOReturn (*IOPMSettingControllerCallback) \
91 IOReturn acknowledgeSleepWakeNotification(void * );
93 IOReturn vetoSleepWakeNotification(void * PMrefcon);
95 IOReturn rootDomainRestart ( void );
97 IOReturn rootDomainShutdown ( void );
112 virtual IOReturn setAggressiveness ( unsigned long, unsigned long );
113 virtual IOReturn youAreRoot ( void );
115 virtual IOReturn sleepSystem ( void );
116 IOReturn sleepSystemOptions ( OSDictionary *options );
118 virtual IOReturn setPropertie
[all...]
H A DIOPMPagingPlexus.h58 virtual IOReturn setAggressiveness ( unsigned long, unsigned long );
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/rtc/
H A DIORTCController.h43 virtual IOReturn getRealTimeClock ( UInt8 * currentTime, IOByteCount * length ) = 0;
44 virtual IOReturn setRealTimeClock ( UInt8 * newTime ) = 0;
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DRootDomainUserClient.h53 IOReturn secureSleepSystem( uint32_t *return_code );
55 IOReturn secureSleepSystemOptions( void *p1, void *p2, void *p3,
58 IOReturn secureSetAggressiveness( unsigned long type,
64 virtual IOReturn clientClose( void );
H A DIOCommandGate.cpp32 #include <IOKit/IOReturn.h>
109 IOReturn IOCommandGate::runCommand(void *arg0, void *arg1,
115 IOReturn IOCommandGate::attemptCommand(void *arg0, void *arg1,
121 IOReturn IOCommandGate::runAction(Action inAction,
136 IOReturn res;
142 IOReturn res = sleepGate(&enabled, THREAD_ABORTSAFE);
164 IOReturn IOCommandGate::attemptAction(Action inAction,
168 IOReturn res;
192 IOReturn IOCommandGate::commandSleep(void *event, UInt32 interruptible)
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/nvram/
H A DIONVRAMController.h43 virtual IOReturn read(IOByteCount offset, UInt8 *buffer,
45 virtual IOReturn write(IOByteCount offset, UInt8 *buffer,
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/platform/
H A DAppleNMI.h64 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*);
/macosx-10.5.8/xnu-1228.15.4/iokit/Drivers/platform/drvAppleNVRAM/
H A DAppleNVRAM.h51 virtual IOReturn read(IOByteCount offset, UInt8 *buffer,
53 virtual IOReturn write(IOByteCount offset, UInt8 *buffer,

Completed in 119 milliseconds

1234