Searched refs:IOInterruptEventSource (Results 1 - 7 of 7) sorted by relevance
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOInterruptEventSource.h | 45 /*! @class IOInterruptEventSource : public IOEventSource 47 @discussion The IOInterruptEventSource is a generic object that delivers calls interrupt routines in it's client in a guaranteed single-threaded manner. IOInterruptEventSource is part of the IOKit $link IOWorkLoop infrastructure where the semantic that one and only one action method is executing within a work-loops event chain. 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 class in inherits:IOEventSource 61 OSDeclareDefaultStructors(IOInterruptEventSource) 69 typedef void (*Action)(OSObject *, IOInterruptEventSource *, int count); 72 @discussion Backward compatibilty define for the old non-class scoped type definition. See $link IOInterruptEventSource::Action */ 73 #define IOInterruptEventAction IOInterruptEventSource::Action 128 static IOInterruptEventSource * [all...] |
H A D | IOFilterInterruptEventSource.h | 38 #include <IOKit/IOInterruptEventSource.h> 42 /*! @class IOFilterInterruptEventSource : public IOInterruptEventSource 43 @abstract Filtering varient of the $link IOInterruptEventSource. 50 CAUTION: Called in primary interrupt context, if you need to disable interrupt to guard you registers against an unexpected call then it is better to use a straight IOInterruptEventSource and its secondary interrupt delivery mechanism. 52 class IOFilterInterruptEventSource : public IOInterruptEventSource 72 IOInterruptEventSource::Action inAction = 0, 76 static IOInterruptEventSource * 78 IOInterruptEventSource::Action inAction = 0, 106 IOInterruptEventSource::Action action, 121 IOInterruptEventSource [all...] |
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOInterruptEventSource.cpp | 29 #include <IOKit/IOInterruptEventSource.h> 64 OSDefineMetaClassAndStructors(IOInterruptEventSource, IOEventSource) 65 OSMetaClassDefineReservedUnused(IOInterruptEventSource, 0); 66 OSMetaClassDefineReservedUnused(IOInterruptEventSource, 1); 67 OSMetaClassDefineReservedUnused(IOInterruptEventSource, 2); 68 OSMetaClassDefineReservedUnused(IOInterruptEventSource, 3); 69 OSMetaClassDefineReservedUnused(IOInterruptEventSource, 4); 70 OSMetaClassDefineReservedUnused(IOInterruptEventSource, 5); 71 OSMetaClassDefineReservedUnused(IOInterruptEventSource, 6); 72 OSMetaClassDefineReservedUnused(IOInterruptEventSource, [all...] |
H A D | IOFilterInterruptEventSource.cpp | 54 #define super IOInterruptEventSource 57 (IOFilterInterruptEventSource, IOInterruptEventSource) 78 IOInterruptEventSource *
|
H A D | IOWorkLoop.cpp | 32 #include <IOKit/IOInterruptEventSource.h> 327 if (OSDynamicCast(IOInterruptEventSource, event)) 336 if (OSDynamicCast(IOInterruptEventSource, event))
|
/darwin-on-arm/xnu/iokit/Tests/ |
H A D | Tests.h | 73 class IOInterruptEventSource; 87 IOInterruptEventSource *intES; 97 void interruptAction(IOInterruptEventSource *event, int count);
|
H A D | TestDevice.cpp | 33 #include <IOKit/IOInterruptEventSource.h> 68 intES = IOInterruptEventSource::interruptEventSource 93 TestDevice::interruptAction(IOInterruptEventSource *, int count)
|
Completed in 72 milliseconds