Lines Matching defs:parent
185 parent.
201 time, the parent decides to lower or raise the power state of the entire
218 state, we suggest to the parent that it lower the power domain state.
221 How a change to a lower power domain state initiated by the parent is handled:
228 -> Then we acknowledge our preparedness to our parent. When all its
235 How a change to a higher power domain state initiated by the parent is handled:
238 -> If it is different from our current state we acknowledge the parent.
239 -> When all the parent's interested parties have acknowledged, it raises
254 do but acknowledge the parent. So when the parent calls our
256 state, we merely acknowledge the parent, via return code, and wait.
257 When the parent subsequently calls powerStateDidChange, we acknowledge again
266 The fourth is nearly trivial. In this path, the parent is changing the domain
268 parent calls powerDomainWillChange. All we do is acknowledge the parent. When
269 the parent calls powerStateDidChange, we acknowledge the parent again, and
279 These are all power changes initiated by us, not forced upon us by the parent.
317 Note all parent requested changes need to acknowledge the power has changed to the parent when done.
553 // we have no parent and therefore never call it.
802 // Called on the power parent.
835 IOService * parent;
842 parent = (IOService *) connection->getParentEntry(gIOPowerPlane);
844 if (!parent || !inPlane(gIOPowerPlane))
851 // directly access parent's vars.
853 knowsState = (parent->fPowerStates) && (parent->fParentsKnowState);
854 powerState = parent->fCurrentPowerState;
857 powerFlags = parent->fPowerStates[powerState].outputPowerCharacter;
861 // Set our power parent.
883 // Called on the parent. Blocked behind addPowerChild2.
922 // Power Management is informing us who our parent is.
937 // Called on a parent whose child is being removed by PMstop().
1285 // That may include acknowledging to our parent. In this case, we do it
1286 // last of all to insure that this doesn't cause the parent to call us some-
1473 // Called by the power-hierarchy parent notifying of a new power state
1475 // We enqueue a parent power-change to our queue of power changes.
1546 /* parent state */ newPowerFlags);
1549 // If parent is dropping power, immediately update the parent's
1550 // capability flags. Any future merging of parent(s) combined
1560 // still required to issue an ACK to our parent.
1564 IOService * parent;
1565 parent = (IOService *) whichParent->copyParentEntry(gIOPowerPlane);
1566 assert(parent);
1567 if ( parent )
1569 parent->acknowledgePowerChange( whichParent );
1570 parent->release();
1574 // If the parent registers it's power driver late, then this is the
1575 // first opportunity to tell our parent about our desire.
1592 // Called by the power-hierarchy parent after the power state of the power domain
1594 // We enqueue a parent power-change to our queue of power changes.
1642 /* parent state */ 0);
1647 // still required to issue an ACK to our parent.
1651 IOService * parent;
1652 parent = (IOService *) whichParent->copyParentEntry(gIOPowerPlane);
1653 assert(parent);
1654 if ( parent )
1656 parent->acknowledgePowerChange( whichParent );
1657 parent->release();
1661 // If the parent registers it's power driver late, then this is the
1662 // first opportunity to tell our parent about our desire.
1679 // Set our connection data for one specific parent, and then combine all the parent
1698 // recompute our parent info
1778 // The child of a power domain calls it parent here to request power of a certain
2275 /* parent state */ 0);
2817 changeNote.parent = NULL;
2822 changeNote.parent = whichParent;
3437 // initiated by the parent and we had to wait for responses. Here
3452 // initiated by the parent and we had to wait for their responses. Here we notify
3468 // notification of a power lowering initiated by the parent.
3472 // (waiting for settle and acknowledging the parent.)
3490 // during a power change initiated by our parent. We have had to wait
3494 // processing (acknowledging our preparedness to the parent).
3511 // Power has settled on a power change initiated by our parent. Here we
3525 // notification of a power lowering initiated by the parent.
3526 // Here we acknowledge the parent.
3533 IOService * parent;
3538 parent = (IOService *)nub->copyParentEntry(gIOPowerPlane);
3539 if ( parent )
3541 parent->acknowledgePowerChange((IOService *)nub);
3542 parent->release();
3550 // Our parent has informed us via powerStateDidChange that it has
3574 // during a power raise initiated by the parent, but we had to wait for it.
3593 // Power has settled on a power raise initiated by the parent.
3609 // raising initiated by the parent. Here we acknowledge the parent.
3616 IOService * parent;
3621 parent = (IOService *)nub->copyParentEntry(gIOPowerPlane);
3622 if ( parent )
3624 parent->acknowledgePowerChange((IOService *)nub);
3625 parent->release();
3650 // we changed, tell our parent
3678 // parent's power change
4043 // Here we begin the processing of a power change initiated by our parent.
4052 fHeadNoteParent = changeNote->parent;
4136 // no, ask the parent to do it then
4177 // Call the power domain parent to ask for a higher power state in the domain
4186 IOService * parent;
4209 // no, the parent knows already, just return
4226 parent = (IOService *)connection->copyParentEntry(gIOPowerPlane);
4227 if ( parent ) {
4228 if ( parent->requestPowerDomainState(
4233 parent->release();