• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/

Lines Matching refs:connection

607     IOPowerConnection *	connection;
623 if ( (connection = OSDynamicCast(IOPowerConnection, next)) )
625 theParent = (IOService *)connection->copyParentEntry(gIOPowerPlane);
628 theParent->removePowerChild(connection);
648 if ( (connection = OSDynamicCast(IOPowerConnection, next)) )
650 theChild = ((IOService *)(connection->copyChildEntry(gIOPowerPlane)));
654 connection->detachFromChild(theChild, gIOPowerPlane);
658 detachFromChild(connection, gIOPowerPlane);
700 IOPowerConnection * connection = 0;
741 // joining connection is marked as not ready.
746 connection = new IOPowerConnection;
747 if (!connection)
771 connection->init();
772 connection->start(this);
773 connection->setAwaitingAck(false);
774 connection->setReadyFlag(false);
776 attachToChild( connection, gIOPowerPlane );
777 connection->attachToChild( child, gIOPowerPlane );
779 // connection needs to be released
780 requests[0]->fArg0 = connection;
781 requests[1]->fArg0 = connection;
782 requests[2]->fArg0 = connection;
789 if (connection) connection->release();
834 IOPowerConnection * connection = (IOPowerConnection *) request->fArg0;
842 parent = (IOService *) connection->getParentEntry(gIOPowerPlane);
865 setParentInfo( powerFlags, connection, knowsState );
867 connection->setReadyFlag(true);
888 IOPowerConnection * connection = (IOPowerConnection *) request->fArg0;
893 child = (IOService *) connection->getChildEntry(gIOPowerPlane);
916 connection->release();
1499 IOPowerConnection * connection;
1525 if ( (connection = OSDynamicCast(IOPowerConnection, next)) )
1527 if ( connection == whichParent )
1530 combinedPowerFlags |= connection->parentCurrentPowerFlags();
1545 /* connection */ whichParent,
1641 /* connection */ whichParent,
1679 // Set our connection data for one specific parent, and then combine all the parent
1694 // set our connection data
1732 IOPowerConnection * connection;
1752 if ( (connection = OSDynamicCast(IOPowerConnection, next)) )
1754 if (connection->getReadyFlag() == false)
1756 PM_CONNECT("[%s] %s: connection not ready\n",
1761 powerState = connection->getDesiredDomainState();
1764 if ( connection->getPreventIdleSleepFlag() )
1766 if ( connection->getPreventSystemSleepFlag() )
1900 // Record the child's desires on the connection.
2168 IOPowerConnection * connection;
2193 if ( (connection = OSDynamicCast(IOPowerConnection, next)) )
2195 if (connection->getReadyFlag() == false)
2197 PM_CONNECT("[%s] %s: connection not ready\n",
2202 if (connection->getDesiredDomainState() > childDesire)
2203 childDesire = connection->getDesiredDomainState();
2274 /* connection */ 0,
2558 IOPowerConnection * connection;
2578 if ( (connection = OSDynamicCast(IOPowerConnection, next)) )
2580 if (connection->getReadyFlag() == false)
2582 PM_CONNECT("[%s] %s: connection not ready\n",
2587 child = ((IOService *)(connection->copyChildEntry(gIOPowerPlane)));
2644 IOPowerConnection * connection;
2654 if ( (connection = OSDynamicCast(IOPowerConnection, next)) )
2656 if (connection->getReadyFlag() == false)
2658 PM_CONNECT("[%s] %s: connection not ready\n",
2663 theChild = (IOService *)connection->copyChildEntry(gIOPowerPlane);
2985 IOPowerConnection * connection;
2999 if ((connection = OSDynamicCast(IOPowerConnection, next)))
3001 if (connection->getReadyFlag() == false)
3003 PM_CONNECT("[%s] %s: connection not ready\n",
3009 children->setObject( connection );
3011 notifyChild( connection,
3057 IOPowerConnection * connection;
3058 connection = (IOPowerConnection *) fNotifyChildArray->getObject(0);
3060 notifyChild( connection, fDriverCallReason == kDriverCallInformPreChange );
4185 IOPowerConnection * connection;
4224 if ( (connection = OSDynamicCast(IOPowerConnection, next)) )
4226 parent = (IOService *)connection->copyParentEntry(gIOPowerPlane);
4229 ourRequest, connection, IOPMLowestState) != IOPMNoErr )