Lines Matching defs:child
274 * when a power domain child calls requestPowerDomainState and we decide to
275 change power states to accomodate the child,
653 // detach nub from child
698 IOReturn IOService::addPowerChild ( IOService * child )
705 if (!child)
708 if (!initialized || !child->initialized)
714 // Is this child already one of our children?
716 iter = child->getParentIterator( gIOPowerPlane );
735 PM_DEBUG("[%s] %s (%p) is already a child\n",
736 getName(), child->getName(), child);
740 // Add the child to the power plane immediately, but the
742 // We want the child to appear in the power plane before
758 /* target */ child,
777 connection->attachToChild( child, gIOPowerPlane );
794 // silent failure, to prevent platform drivers from adding the child
809 // Make us temporary usable before adding the child.
829 // Called on the joining child. Blocked behind addPowerChild1.
889 IOService * child;
893 child = (IOService *) connection->getChildEntry(gIOPowerPlane);
895 if (child && inPlane(gIOPowerPlane))
897 if (child->getProperty("IOPMStrictTreeOrder"))
907 child->setAggressiveness(i, fAggressivenessValue[i]);
937 // Called on a parent whose child is being removed by PMstop().
949 // detach nub from child
959 // Are we awaiting an ack from this child?
979 // Schedule a request to re-scan child desires and clamp bits.
1280 // After we notified one of the interested drivers or a power-domain child
1377 // it's a child
1448 // Child has signaled a change - child changed it's desire, new child added,
1449 // existing child removed. Adjust our power state accordingly.
1723 // the origin of each bit, every time any child changes state we have to clear
1735 // A child's desires has changed. We need to rebuild the child-clamp bits in
1743 // Loop through the children. When we encounter the calling child, save the
1744 // computed state as this child's desire. And set the ChildClamp bits in any
1745 // of our states that some child has clamp on.
1778 // The child of a power domain calls it parent here to request power of a certain
1790 IOService * child;
1812 child = (IOService *) whichChild->getChildEntry(gIOPowerPlane);
1813 assert(child);
1890 // Clamp removed on the initial power request from a new child.
1894 PM_TRACE("[%s] %p power clamp removed (child = %p)\n",
1900 // Record the child's desires on the connection.
2256 // A subclass object, our controlling driver, or a power domain child
2559 IOService * child;
2587 child = ((IOService *)(connection->copyChildEntry(gIOPowerPlane)));
2588 if ( child )
2590 child->setAggressiveness(type, newLevel);
2591 child->release();
2934 // child return IOPMAckImplied
2954 // else, child has already acked or driver has removed interest,
2991 // Sum child power consumption in notifyChild()
3046 // Notify one child, wait for it's ack, then repeat for next child.
3052 // We have the ability to power off in reverse child index order.
3260 // Notify a power domain child of an upcoming power change.
3280 // Unless the child handles the notification immediately and returns
4311 // child return IOPMAckImplied
4330 // else, child has already acked and driver_timer reset to 0.