Lines Matching defs:result
1503 IOReturn result = IOPMAckImplied;
1541 result = enqueuePowerChange(
1562 if (IOPMAckImplied == result)
1617 IOReturn result = IOPMAckImplied;
1637 result = enqueuePowerChange(
1649 if (IOPMAckImplied == result)
2263 IOReturn result;
2270 result = enqueuePowerChange(
2277 return result;
2916 IOReturn result;
2930 result = param->Result;
2932 if ((result == IOPMAckImplied) || (result < 0))
2942 // Driver has not acked, and has returned a positive result.
2949 if (result < kMinAckTimeoutTicks)
2950 result = kMinAckTimeoutTicks;
2952 informee->timer = (result / (ACK_TIMER_PERIOD / ns_per_us)) + 1;
3147 IOReturn result;
3162 result = driver->setPowerState( powerState, this );
3164 OUR_PMLog((UInt32) -kPMLogProgramHardware, (UInt32) this, (UInt32) result);
3167 if ((result == IOPMAckImplied) || (result < 0))
3180 result = kIOPMAckImplied;
3182 param->Result = result;
3196 IOReturn result;
3221 result = driver->powerStateWillChangeTo(powerFlags, powerState, this);
3223 OUR_PMLog((UInt32)-kPMLogInformDriverPreChange, (UInt32) this, result);
3229 result = driver->powerStateDidChangeTo(powerFlags, powerState, this);
3231 OUR_PMLog((UInt32)-kPMLogInformDriverPostChange, (UInt32) this, result);
3235 if ((result == IOPMAckImplied) || (result < 0))
3250 result = kIOPMAckImplied;
3252 param->Result = result;
3634 // the head of the queue. Remove it and set myCurrentState to the result
4294 IOReturn result;
4307 result = param->Result;
4309 if ((result == IOPMAckImplied) || (result < 0))
4318 // Driver has not acked, and has returned a positive result.
4325 if (result < kMinAckTimeoutTicks)
4326 result = kMinAckTimeoutTicks;
4328 fDriverTimer = (result / (ACK_TIMER_PERIOD / ns_per_us)) + 1;