Lines Matching refs:IOTimerEventSource
31 * IOTimerEventSource.cpp
50 #include <IOKit/IOTimerEventSource.h>
56 OSDefineMetaClassAndStructors(IOTimerEventSource, IOEventSource)
57 OSMetaClassDefineReservedUnused(IOTimerEventSource, 0);
58 OSMetaClassDefineReservedUnused(IOTimerEventSource, 1);
59 OSMetaClassDefineReservedUnused(IOTimerEventSource, 2);
60 OSMetaClassDefineReservedUnused(IOTimerEventSource, 3);
61 OSMetaClassDefineReservedUnused(IOTimerEventSource, 4);
62 OSMetaClassDefineReservedUnused(IOTimerEventSource, 5);
63 OSMetaClassDefineReservedUnused(IOTimerEventSource, 6);
64 OSMetaClassDefineReservedUnused(IOTimerEventSource, 7);
67 // reserved != 0 means IOTimerEventSource::timeoutAndRelease is being used,
71 bool IOTimerEventSource::checkForWork() { return false; }
76 void IOTimerEventSource::timeout(void *self)
78 IOTimerEventSource *me = (IOTimerEventSource *) self;
100 void IOTimerEventSource::timeoutAndRelease(void * self, void * count)
102 IOTimerEventSource *me = (IOTimerEventSource *) self;
127 void IOTimerEventSource::setTimeoutFunc()
129 // reserved != 0 means IOTimerEventSource::timeoutAndRelease is being used,
132 calloutEntry = (void *) thread_call_allocate((thread_call_func_t) &IOTimerEventSource::timeoutAndRelease,
136 bool IOTimerEventSource::init(OSObject *inOwner, Action inAction)
148 IOTimerEventSource *
149 IOTimerEventSource::timerEventSource(OSObject *inOwner, Action inAction)
151 IOTimerEventSource *me = new IOTimerEventSource;
161 void IOTimerEventSource::free()
174 void IOTimerEventSource::cancelTimeout()
187 void IOTimerEventSource::enable()
194 void IOTimerEventSource::disable()
207 IOReturn IOTimerEventSource::setTimeoutTicks(UInt32 ticks)
212 IOReturn IOTimerEventSource::setTimeoutMS(UInt32 ms)
217 IOReturn IOTimerEventSource::setTimeoutUS(UInt32 us)
222 IOReturn IOTimerEventSource::setTimeout(UInt32 interval, UInt32 scale_factor)
230 IOReturn IOTimerEventSource::setTimeout(mach_timespec_t interval)
243 IOReturn IOTimerEventSource::setTimeout(AbsoluteTime interval)
253 IOReturn IOTimerEventSource::wakeAtTimeTicks(UInt32 ticks)
258 IOReturn IOTimerEventSource::wakeAtTimeMS(UInt32 ms)
263 IOReturn IOTimerEventSource::wakeAtTimeUS(UInt32 us)
268 IOReturn IOTimerEventSource::wakeAtTime(UInt32 inAbstime, UInt32 scale_factor)
276 IOReturn IOTimerEventSource::wakeAtTime(mach_timespec_t inAbstime)
289 void IOTimerEventSource::setWorkLoop(IOWorkLoop *inWorkLoop)
296 IOReturn IOTimerEventSource::wakeAtTime(AbsoluteTime inAbstime)