Lines Matching refs:currentPowerState
6113 uint32_t currentPowerState = (uint32_t) getPowerState(); local
6121 getPowerStateString(currentPowerState),
6147 if ((AOT_STATE == desiredPowerState) && (ON_STATE == currentPowerState)) {
6161 if (lowBatteryCondition && (desiredPowerState < currentPowerState)) {
6171 if (desiredPowerState < currentPowerState) {
6196 } else if (desiredPowerState > currentPowerState) {
6217 uint32_t currentPowerState = (uint32_t) getPowerState(); local
6251 else if (newPowerState < currentPowerState) {
6257 (newPowerState > currentPowerState)) {
6412 if (AOT_STATE == currentPowerState) {
6464 getPowerStateString(currentPowerState),
6470 if (currentPowerState != (uint32_t) newPowerState) {
6475 getPowerStateString(currentPowerState),
6488 if ((AOT_STATE == newPowerState) && (SLEEP_STATE != currentPowerState)) {
6489 panic("illegal AOT entry from %s", getPowerStateString(currentPowerState));
6513 uint32_t currentPowerState = (uint32_t) getPowerState(); local
6522 oldPowerState = currentPowerState;
6603 if (currentPowerState != (uint32_t) oldPowerState) {
6609 getPowerStateString(currentPowerState),
6621 getPowerStateString((uint32_t) oldPowerState), getPowerStateString(currentPowerState),
6626 if ((currentPowerState == ON_STATE) && pmAssertions) {