Searched refs:setIdleTimerPeriod (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10.1/IOGraphics-485/IOGraphicsFamily/
H A DIODisplayWrangler.cpp131 if (gIODisplayWrangler->fMinutesToDim) gIODisplayWrangler->setIdleTimerPeriod(60);
496 setIdleTimerPeriod(newLevel * 30);
739 setIdleTimerPeriod(60);
/macosx-10.10.1/xnu-2782.1.97/iokit/IOKit/
H A DIOService.h1519 <li>Call <code>changePowerStateTo</code> in conjunction with @link setIdleTimerPeriod setIdleTimerPeriod@/link and @link activityTickle activityTickle@/link to idle a driver into a low power state. For a driver with 3 power states, for example, <code>changePowerStateTo(1)</code> sets a minimum level of power state 1, such that the idle timer period may not set your device's power any lower than state 1.</ul>
1544 The IOService superclass can manage idleness determination with a simple idle timer mechanism and this <code>activityTickle</code> call. To start this up, the driver calls its superclass's <code>setIdleTimerPeriod</code>. This starts a timer for the time interval specified in the call. When the timer expires, the superclass checks to see if there has been any activity since the last timer expiration. (It checks to see if <code>activityTickle</code> has been called). If there has been activity, it restarts the timer, and this process continues. When the timer expires, and there has been no device activity, the superclass lowers the device power state to the next lower state. This can continue until the device is in state zero.
1651 /*! @function setIdleTimerPeriod
1657 virtual IOReturn setIdleTimerPeriod( unsigned long );
/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/
H A DIOServicePM.cpp2924 // [public] setIdleTimerPeriod
2930 IOReturn IOService::setIdleTimerPeriod( unsigned long period ) function in class:IOService

Completed in 228 milliseconds