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

/xnu-2782.1.97/iokit/Kernel/
H A DIOEventSource.cpp37 #include <IOKit/IOEventSource.h>
42 OSDefineMetaClassAndAbstractStructors(IOEventSource, OSObject)
44 OSMetaClassDefineReservedUnused(IOEventSource, 0);
45 OSMetaClassDefineReservedUnused(IOEventSource, 1);
46 OSMetaClassDefineReservedUnused(IOEventSource, 2);
47 OSMetaClassDefineReservedUnused(IOEventSource, 3);
48 OSMetaClassDefineReservedUnused(IOEventSource, 4);
49 OSMetaClassDefineReservedUnused(IOEventSource, 5);
50 OSMetaClassDefineReservedUnused(IOEventSource, 6);
51 OSMetaClassDefineReservedUnused(IOEventSource,
[all...]
H A DIOPMPowerStateQueue.h32 #include <IOKit/IOEventSource.h>
38 class IOPMPowerStateQueue : public IOEventSource
H A DIOWorkLoop.cpp31 #include <IOKit/IOEventSource.h>
235 IOEventSource *event, *next;
283 IOReturn IOWorkLoop::addEventSource(IOEventSource *newEvent)
288 IOReturn IOWorkLoop::removeEventSource(IOEventSource *toRemove)
295 IOEventSource *event;
306 IOEventSource *event;
319 IOEventSource *event;
328 IOEventSource *event;
357 for (IOEventSource *evnt = eventChain; evnt; evnt = evnt->getNext()) {
508 IOEventSource *inEven
[all...]
H A DIOPMPowerStateQueue.cpp31 #define super IOEventSource
32 OSDefineMetaClassAndStructors( IOPMPowerStateQueue, IOEventSource )
H A DIOCommandGate.cpp36 #define super IOEventSource
38 OSDefineMetaClassAndStructors(IOCommandGate, IOEventSource)
56 IOStatistics::setCounterType(IOEventSource::reserved->counter, kIOStatisticsCommandGateCounter); \
61 IOStatistics::countCommandGateActionCall(IOEventSource::reserved->counter); \
73 bool res = super::init(inOwner, (IOEventSource::Action) inAction);
H A DIOTimerEventSource.cpp48 #define super IOEventSource
49 OSDefineMetaClassAndStructors(IOTimerEventSource, IOEventSource)
63 IOStatistics::setCounterType(IOEventSource::reserved->counter, kIOStatisticsTimerEventSourceCounter); \
68 IOStatistics::countOpenGate(me->IOEventSource::reserved->counter); \
73 IOStatistics::countCloseGate(me->IOEventSource::reserved->counter); \
78 IOStatistics::countTimerTimeout(me->IOEventSource::reserved->counter); \
193 if (!super::init(inOwner, (IOEventSource::Action) inAction) )
H A DIOInterruptEventSource.cpp42 IOStatistics::setCounterType(IOEventSource::reserved->counter, kIOStatisticsInterruptEventSourceCounter); \
47 IOStatistics::countInterruptCheckForWork(IOEventSource::reserved->counter); \
52 IOStatistics::countInterrupt(IOEventSource::reserved->counter); \
63 #define super IOEventSource
65 OSDefineMetaClassAndStructors(IOInterruptEventSource, IOEventSource)
H A DIOCommandQueue.cpp58 #define super IOEventSource
60 OSDefineMetaClassAndStructors(IOCommandQueue, IOEventSource)
66 - initWithNext: (IOEventSource *) inNext
79 See also: initWithNext:owner:action:(IOEventSource)
H A DIODMAEventSource.cpp35 #define super IOEventSource
36 OSDefineMetaClassAndStructors(IODMAEventSource, IOEventSource);
H A DIOFilterInterruptEventSource.cpp40 IOStatistics::setCounterType(IOEventSource::reserved->counter, kIOStatisticsFilterInterruptEventSourceCounter); \
45 IOStatistics::countInterrupt(IOEventSource::reserved->counter); \
H A DIOServicePMPrivate.h33 #include <IOKit/IOEventSource.h>
651 class IOPMRequestQueue : public IOEventSource
678 class IOPMWorkQueue : public IOEventSource
715 class IOPMCompletionQueue : public IOEventSource
H A DIOServicePM.cpp35 #include <IOKit/IOEventSource.h>
7977 OSDefineMetaClassAndStructors( IOPMRequestQueue, IOEventSource );
7992 if (!inAction || !IOEventSource::init(inOwner, (IOEventSourceAction)inAction))
8007 return IOEventSource::free();
8068 OSDefineMetaClassAndStructors( IOPMWorkQueue, IOEventSource );
8085 !IOEventSource::init(inOwner, (IOEventSourceAction)0))
8238 IOEventSource::signalWorkAvailable();
8253 OSDefineMetaClassAndStructors( IOPMCompletionQueue, IOEventSource );
8269 if (!inAction || !IOEventSource::init(inOwner, (IOEventSourceAction)inAction))
H A DIOStatistics.cpp39 #include <IOKit/IOEventSource.h>
H A DIOPMrootDomain.cpp987 this, OSMemberFunctionCast(IOEventSource::Action, this,
/xnu-2782.1.97/iokit/IOKit/
H A DIOEventSource.h57 @class IOEventSource : public OSObject
59 @discussion The IOEventSource declares the abstract super class that all
68 anything at all. The IOEventSource is used for communicating events to the
75 The IOEventSource makes no attempt to maintain the consistency of its 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 using an IOCommandGate and thus single threading access to its state.
77 All subclasses of IOEventSource that wish to perform work on the work-loop thread are expected to implement the checkForWork() member function. As of Mac OS X, 10.7 (Darwin 11), checkForWork is no longer pure virtual, and should not be overridden if there is no work to be done.
84 class IOEventSource : public OSObject class in inherits:OSObject
86 OSDeclareAbstractStructors(IOEventSource)
106 @discussion Backward compatibilty define for the old non-class scoped type definition. See $link IOEventSource::Action */
107 #define IOEventSourceAction IOEventSource::Action
112 IOEventSource *eventChainNex
[all...]
H A DIOWorkLoop.h43 class IOEventSource;
92 bool eventSourcePerformsWork(IOEventSource *inEventSource);
112 IOEventSource *eventChain;
144 IOEventSource *passiveEventChain;
226 @param newEvent Pointer to IOEventSource subclass to add.
229 virtual IOReturn addEventSource(IOEventSource *newEvent);
233 @param toRemove Pointer to IOEventSource subclass to remove.
236 virtual IOReturn removeEventSource(IOEventSource *toRemove);
240 @discussion For all event sources in eventChain, call enable() function. See IOEventSource::enable().
246 @discussion For all event sources in eventChain, call disable() function. See IOEventSource
[all...]
H A DIOCommandQueue.h42 #include <IOKit/IOEventSource.h>
49 class IOCommandQueue : public IOEventSource
H A DIOCommandGate.h37 #include <IOKit/IOEventSource.h>
40 @class IOCommandGate : public IOEventSource
60 class IOCommandGate : public IOEventSource
111 compiler warning. Defaults to zero, see $link IOEventSource::setAction.
H A DIOInterruptEventSource.h41 #include <IOKit/IOEventSource.h>
47 /*! @class IOInterruptEventSource : public IOEventSource
51 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.
61 class IOInterruptEventSource : public IOEventSource
H A DIODMAEventSource.h35 #include <IOKit/IOEventSource.h>
39 class IODMAEventSource : public IOEventSource
H A DIOTimerEventSource.h47 #include <IOKit/IOEventSource.h>
51 @class IOTimerEventSource : public IOEventSource
59 class IOTimerEventSource : public IOEventSource
204 @result kIOReturnSuccess if everything is fine, kIOReturnNoResources if action hasn't been declared by init or IOEventSource::setAction (qqv). */
H A DIOStatisticsPrivate.h57 class IOEventSource;

Completed in 91 milliseconds