Lines Matching defs:IOInterruptEventSource

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
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 *
135 @abstract Primary initialiser for the IOInterruptEventSource class.
208 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 0);
209 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 1);
210 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 2);
211 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 3);
212 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 4);
213 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 5);
214 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 6);
215 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 7);