Lines Matching defs:root
76 static void notifySystemShutdown( IOService * root, unsigned long event );
252 opened, changePowerStateTo(ON_STATE) is called to hold the system on regardless of the desires of the children of the root or
256 In this case the root's parent actually initiates the power state change so that the root has no choice and does not give
259 Idle Sleep/Doze occurs if no objects in the tree are in a state marked kIOPMPreventIdleSleep. When this is true, the root's
260 children are not holding the root on, so it sets the "policy-maker clamp" by calling changePowerStateToPriv(ON_STATE)
264 when there is no longer an object in the tree holding the system out of Idle Sleep (via kIOPMPreventIdleSleep), the root
272 a clamp, but sets a flag which is noticed before actually sleeping the kernel. If the flag is set, the root steps up
282 IOPMrootDomain *root;
284 root = new IOPMrootDomain;
285 if( root)
286 root->init();
288 return( root );
329 // expert informs us we are the root.
678 // Power Managment is informing us that we are the root power domain.
679 // We know we are not the root however, since we have just instantiated a parent
680 // for ourselves and made it the root. We override this method so it will have
703 IOReturn broadcast_aggressiveness ( OSObject * root, void * x, void * y, void *, void * )
705 ((IOPMrootDomain *)root)->broadcast_it((unsigned long)x,(unsigned long)y);
1998 // The root domain intercepts this call to the superclass.
2002 // state it's requesting; it just wants it. The root ignores desires but not needs.
2003 // If the clamp bit is not set, the root takes it that the child can tolerate no
2958 notifySystemShutdown( IOService * root, unsigned long event )
2978 baseFunc = OSMemberFunctionCast(void *, root, &IOService::systemWillShutdown);
2980 // Iterate the entire PM tree starting from root
2982 rootDepth = root->getDepth( gIOPowerPlane );
3015 root, gIOPowerPlane, kIORegistryIterateRecursively);
3159 IOPMrootDomain * root = (IOPMrootDomain *) this;
3160 notifySystemShutdown( root, kIOMessageSystemWillPowerOff );
3213 // PM root domain support for it.
3284 // This array exactly parallels the state array for the root domain.
3287 // so when the root domain wants a power state change that cannot be vetoed (e.g. demand sleep), it asks
3339 // This brings the parent to doze, which allows the root to step up from sleep to doze.
3341 // In idle sleep, do nothing because the parent is still on and the root can freely change state.