|
ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
IOPMpowerState.h |
| Includes: |
Defines the struct IOPMPowerState that power managed drivers should use to describe their power states.
IOPMPowerState |
Describes a device's power state.
struct IOPMPowerState { unsigned long version; IOPMPowerFlags capabilityFlags; IOPMPowerFlags outputPowerCharacter; IOPMPowerFlags inputPowerRequirement; unsigned long staticPower; unsigned long unbudgetedPower; unsigned long powerToAttain; unsigned long timeToAttain; unsigned long settleUpTime; unsigned long timeToLower; unsigned long settleDownTime; unsigned long powerDomainBudget; };
versionDefines version number of this struct. Just use the value "1" when defining an IOPMPowerState.
capabilityFlagsDescribes the capability of the device in this state.
outputPowerCharacterDescribes the power provided in this state.
inputPowerRequirementDescribes the input power required in this state.
staticPowerDescribes average consumption in milliwatts. Unused; drivers may specify 0.
unbudgetedPowerDescribes additional consumption from separate power supply (milliWatts). Unused; drivers may specify 0.
powerToAttainDescribes dditional power to attain this state from next lower state (in milliWatts). Unused; drivers may specify 0.
timeToAttainDescribes time required to enter this state from next lower state (in microseconds). Unused; drivers may specify 0.
settleUpTimeDescribes settle time required after entering this state from next lower state (microseconds). Unused; drivers may specify 0.
timeToLowerDescribes time required to enter next lower state from this one (microseconds). Unused; drivers may specify 0.
settleDownTimeSettle time required after entering next lower state from this state (microseconds). Unused; drivers may specify 0.
powerDomainBudgetDescribes power in milliWatts a domain in this state can deliver to its children. Unused; drivers may specify 0. }
To take part in system power management, drivers should define an array of 2 or more power states and pass it to kernel power management through IOService::registerPowerDriver.
|
Last Updated: 2008-12-19