Lines Matching refs: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
124 static IOInterruptEventSource *
131 @abstract Primary initialiser for the IOInterruptEventSource class.
190 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 0);
191 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 1);
192 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 2);
193 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 3);
194 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 4);
195 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 5);
196 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 6);
197 OSMetaClassDeclareReservedUnused(IOInterruptEventSource, 7);