Lines Matching refs:currentFactors

5209 	uint64_t    currentFactors = 0;  local
5256 currentFactors |= kIOPMSleepFactorStandbyForced;
5258 currentFactors |= kIOPMSleepFactorAutoPowerOffForced;
5260 currentFactors |= kIOPMSleepFactorHibernateForced;
5266 currentFactors |= kIOPMSleepFactorSleepTimerWake;
5269 currentFactors |= kIOPMSleepFactorSleepTimerWake;
5272 currentFactors |= kIOPMSleepFactorLidOpen;
5275 currentFactors |= kIOPMSleepFactorACPower;
5283 currentFactors |= kIOPMSleepFactorBatteryLow;
5287 currentFactors |= kIOPMSleepFactorStandbyNoDelay;
5290 currentFactors |= kIOPMSleepFactorStandbyDisabled;
5293 currentFactors |= kIOPMSleepFactorLocalUserActivity;
5294 currentFactors &= ~kIOPMSleepFactorSleepTimerWake;
5298 currentFactors |= kIOPMSleepFactorUSBExternalDevice;
5302 currentFactors |= kIOPMSleepFactorBluetoothHIDDevice;
5306 currentFactors |= kIOPMSleepFactorExternalMediaMounted;
5310 currentFactors |= kIOPMSleepFactorThunderboltDevice;
5313 currentFactors |= kIOPMSleepFactorRTCAlarmScheduled;
5317 currentFactors |= kIOPMSleepFactorMagicPacketWakeEnabled;
5323 currentFactors |= kIOPMSleepFactorNetworkKeepAliveActive;
5327 currentFactors |= kIOPMSleepFactorAutoPowerOffDisabled;
5330 currentFactors |= kIOPMSleepFactorExternalDisplay;
5333 currentFactors |= kIOPMSleepFactorLocalUserActivity;
5336 currentFactors |= kIOPMSleepFactorHibernateFailed;
5339 currentFactors |= kIOPMSleepFactorThermalWarning;
5344 if (factor & currentFactors) {
5349 DLOG("sleep factors 0x%llx%s\n", currentFactors, currentFactorsBuf);
5362 gSleepPolicyVars->sleepFactors = currentFactors;
5432 mismatch = (((uint32_t)currentFactors ^ entry->factorBits) & entry->factorMask);