Searched refs:powerStateWillChangeTo (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/iokit/IOKit/platform/ |
H A D | AppleNMI.h | 68 virtual IOReturn powerStateWillChangeTo(IOPMPowerFlags, unsigned long, IOService*);
|
/darwin-on-arm/xnu/iokit/Drivers/platform/drvAppleNMI/ |
H A D | AppleNMI.cpp | 114 // powerStateWillChangeTo 119 IOReturn AppleNMI::powerStateWillChangeTo ( IOPMPowerFlags theFlags, unsigned long, IOService*) function in class:AppleNMI
|
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOService.h | 1372 The interested driver should override @link powerStateWillChangeTo powerStateWillChangeTo@/link and @link powerStateDidChangeTo powerStateDidChangeTo@/link to receive these power change messages. 1373 Interested drivers must acknowledge power changes in <code>powerStateWillChangeTo</code> or <code>powerStateDidChangeTo</code>, either via return value or later calls to @link acknowledgePowerChange acknowledgePowerChange@/link. 1382 @discussion The retain from <code>registerInterestedDriver</code> is released. This method is synchronous against any <code>powerStateWillChangeTo</code> or <code>powerStateDidChangeTo</code> call targeting the interested driver, so when this method returns it is guaranteed those interest handlers will not be entered. 1392 @discussion When power management informs an interested object (via @link powerStateWillChangeTo powerStateWillChangeTo@/link or @link powerStateDidChangeTo powerStateDidChangeTo@/link), the object can return an immediate acknowledgement via a return code, or it may return an indication that it will acknowledge later by calling <code>acknowledgePowerChange</code>. 1393 Interested objects are those that have registered as interested drivers, as well as power plane children of the power changing driver. A driver that calls @link registerInterestedDriver registerInterestedDriver@/link must call <code>acknowledgePowerChange</code>, or use an immediate acknowledgement return from <code>powerStateWillChangeTo</code> or <code>powerStateDidChangeTo</code>. 1643 /*! @function powerStateWillChangeTo 1645 @discussion Power management informs interested parties that a device is about to change to a different power state. Interested parties are those that have registered for this notification via @link registerInterestedDriver registerInterestedDriver@/link. If you have called <code>registerInterestedDriver</code> on a power managed driver, you must implement <code>powerStateWillChangeTo</code> and @link powerStateDidChangeTo powerStateDidChangeTo@/link to receive the notifications. 1646 <code>powerStateWillChangeTo</cod [all...] |
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOServicePM.cpp | 317 powerStateWillChangeTo method. If they all don't acknowledge via return 1296 root, &IOService::powerStateWillChangeTo)) != 1298 this, &IOService::powerStateWillChangeTo))))) 3845 result = driver->powerStateWillChangeTo(powerFlags, powerState, this); 6396 // [public] powerStateWillChangeTo 6401 IOReturn IOService::powerStateWillChangeTo ( IOPMPowerFlags, unsigned long, IOService * ) function in class:IOService
|
Completed in 29 milliseconds