Lines Matching defs:powerState
838 unsigned long powerState;
854 powerState = parent->fCurrentPowerState;
857 powerFlags = parent->fPowerStates[powerState].outputPowerCharacter;
1361 PM_DEBUG("%s::powerState%sChangeTo(%p, %s, %lu -> %lu) async took %d ms\n",
1733 unsigned long powerState;
1761 powerState = connection->getDesiredDomainState();
1762 if (powerState < fNumberOfPowerStates)
1765 fPowerStates[powerState].capabilityFlags |= kIOPMChildClamp;
1767 fPowerStates[powerState].capabilityFlags |= kIOPMChildClamp2;
2407 unsigned int powerState)
3145 unsigned long powerState;
3156 powerState = fHeadNoteState;
3160 OUR_PMLog( kPMLogProgramHardware, (UInt32) this, powerState);
3162 result = driver->setPowerState( powerState, this );
3175 fName, this, fCurrentPowerState, powerState, NS_TO_MS(nsec));
3198 unsigned long powerState;
3208 powerState = fHeadNoteState;
3219 OUR_PMLog(kPMLogInformDriverPreChange, (UInt32) this, powerState);
3221 result = driver->powerStateWillChangeTo(powerFlags, powerState, this);
3227 OUR_PMLog(kPMLogInformDriverPostChange, (UInt32) this, powerState);
3229 result = driver->powerStateDidChangeTo(powerFlags, powerState, this);
3242 PM_DEBUG("%s::powerState%sChangeTo(%p, %s, %lu -> %lu) took %d ms\n",
3245 driver, fName, fCurrentPowerState, powerState, NS_TO_MS(nsec));
3883 PM_ERROR("%s::powerState%sChangeTo(%p, %s, %lu -> %lu) timed out after %d ms\n",
4250 unsigned long powerState;
4257 powerState = fHeadNoteState;
4258 if (fPowerStates[powerState].capabilityFlags & IOPMNotAttainable )