Searched refs:IOEventSource (Results 1 - 19 of 19) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOEventSource.cpp37 #include <IOKit/IOEventSource.h>
42 OSDefineMetaClassAndAbstractStructors(IOEventSource, OSObject)
43 OSMetaClassDefineReservedUnused(IOEventSource, 0);
44 OSMetaClassDefineReservedUnused(IOEventSource, 1);
45 OSMetaClassDefineReservedUnused(IOEventSource, 2);
46 OSMetaClassDefineReservedUnused(IOEventSource, 3);
47 OSMetaClassDefineReservedUnused(IOEventSource, 4);
48 OSMetaClassDefineReservedUnused(IOEventSource, 5);
49 OSMetaClassDefineReservedUnused(IOEventSource, 6);
50 OSMetaClassDefineReservedUnused(IOEventSource,
[all...]
H A DIOPMPowerStateQueue.h33 #include <IOKit/IOEventSource.h>
39 class IOPMPowerStateQueue : public IOEventSource
H A DIOWorkLoop.cpp36 #include <IOKit/IOEventSource.h>
179 IOEventSource *event, *next;
216 IOReturn IOWorkLoop::addEventSource(IOEventSource *newEvent)
221 IOReturn IOWorkLoop::removeEventSource(IOEventSource *toRemove)
228 IOEventSource *event;
236 IOEventSource *event;
245 IOEventSource *event;
254 IOEventSource *event;
308 for (IOEventSource *evnt = eventChain; evnt; evnt = evnt->getNext()) {
431 IOEventSource *inEven
[all...]
H A DIOPMPowerStateQueue.cpp32 #define super IOEventSource
33 OSDefineMetaClassAndStructors(IOPMPowerStateQueue, IOEventSource);
87 if(!(super::init(owner, (IOEventSource::Action) action))) return false;
H A DIOCommandGate.cpp35 #define super IOEventSource
37 OSDefineMetaClassAndStructors(IOCommandGate, IOEventSource)
51 return super::init(inOwner, (IOEventSource::Action) inAction);
H A DIOCommandQueue.cpp46 #define super IOEventSource
48 OSDefineMetaClassAndStructors(IOCommandQueue, IOEventSource)
54 - initWithNext: (IOEventSource *) inNext
67 See also: initWithNext:owner:action:(IOEventSource)
H A DIODMAEventSource.cpp35 #define super IOEventSource
36 OSDefineMetaClassAndStructors(IODMAEventSource, IOEventSource);
H A DIOInterruptEventSource.cpp68 #define super IOEventSource
70 OSDefineMetaClassAndStructors(IOInterruptEventSource, IOEventSource)
H A DIOTimerEventSource.cpp55 #define super IOEventSource
56 OSDefineMetaClassAndStructors(IOTimerEventSource, IOEventSource)
138 if (!super::init(inOwner, (IOEventSource::Action) inAction) )
H A DIOServicePMPrivate.h529 class IOPMRequestQueue : public IOEventSource
551 class IOPMWorkQueue : public IOEventSource
H A DIOServicePM.cpp5789 OSDefineMetaClassAndStructors( IOPMRequestQueue, IOEventSource );
5804 if (!inAction || !IOEventSource::init(inOwner, (IOEventSourceAction)inAction))
5819 return IOEventSource::free();
5873 IOEventSource::signalWorkAvailable();
5883 OSDefineMetaClassAndStructors( IOPMWorkQueue, IOEventSource );
5900 !IOEventSource::init(inOwner, (IOEventSourceAction)0))
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOEventSource.h54 @class IOEventSource : public OSObject
56 @discussion The IOEventSource declares the abstract super class that all
65 anything at all. The IOEventSource is used for communicating events to the
72 The IOEventSource makes no attempt to maintain the consitency of it's internal data across multi-threading. It is assumed that the user of these basic tools will protect the data that these objects represent in some sort of device wide instance lock. For example the IOWorkLoop maintains the event chain by handing off change request to its own thread and thus single threading access to its state.
74 All subclasses of the IOEventSource are expected to implement the checkForWork() member function.
81 class IOEventSource : public OSObject class in inherits:OSObject
83 OSDeclareAbstractStructors(IOEventSource)
100 @discussion Backward compatibilty define for the old non-class scoped type definition. See $link IOEventSource::Action */
101 #define IOEventSourceAction IOEventSource::Action
106 IOEventSource *eventChainNex
[all...]
H A DIOPMEventSource.h33 #include <IOKit/IOEventSource.h>
41 class IOPMEventSource : public IOEventSource
H A DIOWorkLoop.h47 class IOEventSource;
109 IOEventSource *eventChain;
214 @param newEvent Pointer to IOEventSource subclass to add.
217 virtual IOReturn addEventSource(IOEventSource *newEvent);
221 @param toRemove Pointer to IOEventSource subclass to remove.
224 virtual IOReturn removeEventSource(IOEventSource *toRemove);
228 @discussion For all event sources in eventChain, call enable() function. See IOEventSource::enable().
234 @discussion For all event sources in eventChain, call disable() function. See IOEventSource::disable().
240 @discussion For all event sources (ES) for which IODynamicCast(IOInterruptEventSource, ES) is valid, in eventChain call enable() function. See IOEventSource::enable().
246 @discussion For all event sources (ES) for which IODynamicCast(IOInterruptEventSource, ES) is valid, in eventChain call disable() function. See IOEventSource
[all...]
H A DIOCommandQueue.h42 #include <IOKit/IOEventSource.h>
52 class IOCommandQueue : public IOEventSource
H A DIOCommandGate.h37 #include <IOKit/IOEventSource.h>
40 @class IOCommandGate : public IOEventSource
60 class IOCommandGate : public IOEventSource
88 @abstract Not used, $link IOEventSource::checkForWork(). */
115 compiler warning. Defaults to zero, see $link IOEventSource::setAction.
H A DIODMAEventSource.h35 #include <IOKit/IOEventSource.h>
39 class IODMAEventSource : public IOEventSource
H A DIOInterruptEventSource.h41 #include <IOKit/IOEventSource.h>
45 /*! @class IOInterruptEventSource : public IOEventSource
49 When the action method is called in the client member function will receive 2 arguments, (IOEventSource *) sender and (int) count, See $link IOInterruptEventSource::Action. Where sender will be reference to the interrupt that occurred and the count will be computed by the difference between the $link producerCount and $link consumerCount. This number may not be reliable as no attempt is made to adjust for around the world type problems but is provided for general information and statistic gathering.
59 class IOInterruptEventSource : public IOEventSource
H A DIOTimerEventSource.h47 #include <IOKit/IOEventSource.h>
51 @class IOTimerEventSource : public IOEventSource
59 class IOTimerEventSource : public IOEventSource
99 @abstract Have to implement it is mandatory in $link IOEventSource, but IOTimerEventSources don't actually use this work-loop mechanism. */
210 @result kIOReturnSuccess if everything is fine, kIOReturnNoResources if action hasn't been declared by init or IOEventSource::setAction (qqv). */

Completed in 128 milliseconds