• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/xnu-2782.1.97/iokit/Kernel/

Lines Matching refs:driver

574 void IOService::joinPMtree( IOService * driver )
580 platform->PMRegisterDevice(this, driver);
599 // Immediately stop driver callouts. Schedule an async stop request to detach
619 // Inhibit future driver calls.
622 // Wait for all prior driver calls to finish.
653 // remove driver from prevent system sleep lists
708 // controlling driver.
710 // Usually, the controlling driver and the policy-maker functionality
969 // If we have a controlling driver, find out, given our newly-informed
1050 // A driver has called us volunteering to control power to our device.
1266 // power state. If we don't have a power-controlling driver yet, we will
1267 // call this interested driver again later when we do get a driver and find
1271 IOPMPowerFlags IOService::registerInterestedDriver( IOService * driver )
1276 if (!driver || !initialized || !fInterestedDrivers)
1285 fInsertInterestSet->setObject(driver);
1287 fRemoveInterestSet->removeObject(driver);
1309 IOReturn IOService::deRegisterInterestedDriver( IOService * driver )
1316 if (!driver)
1327 fRemoveInterestSet->setObject(driver);
1329 fInsertInterestSet->removeObject(driver);
1332 item = list->findItem(driver);
1336 waitForPMDriverCall( driver );
1359 IOService * driver;
1367 while ((driver = (IOService *) fInsertInterestSet->getAnyObject()))
1369 if (list->findItem(driver) == NULL)
1371 informee = list->appendNewInformee(driver);
1373 fInsertInterestSet->removeObject(driver);
1381 while ((driver = (IOService *) fRemoveInterestSet->getAnyObject()))
1383 informee = list->findItem(driver);
1392 list->removeFromList(driver);
1394 fRemoveInterestSet->removeObject(driver);
1475 // it's an interested driver
1495 // this driver has already acked
1544 // After we instructed our controlling driver to change power states,
1865 // Query the driver for the desired power state on system wake.
1919 // If the parent registers its power driver late, then this is the
2219 // Called by our power-controlling driver to change power state. The new desired
2233 // Called by our driver subclass to change power state. The new desired power
2247 // Called by our driver subclass to change power state. The new desired power
2519 // Desired power state is always 0 without a controlling driver.
2562 // Ignore child and driver when override is in effect.
2622 // due to a tickle request. In case the driver has requested a lower
2850 // driver. It is possible for the PM work loop to enter the
3486 // Interested driver return IOPMAckImplied.
3503 // to occur if a driver misinterpreted that the return value
3505 // to be noticeable if a driver neglects to ack.
3512 // else, child has already acked or driver has removed interest,
3699 // the same branch in the power tree, but the driver is slow to power
3900 IOService * driver;
3922 driver = informee->whatObject;
3930 result = driver->powerStateWillChangeTo(powerFlags, powerState, this);
3938 result = driver->powerStateDidChangeTo(powerFlags, powerState, this);
3954 gIOPMStatsDriverPSChangeSlow, driver->getName(),
4113 // to occur if a driver misinterpreted that the return value
4115 // to be noticeable if a driver neglects to ack.
4159 // Do not inform driver and clients about this request completion,
4197 // could our driver switch to the new state?
4631 // Instruct our controlling driver to program the hardware for the power state
4648 // Our controlling driver has completed the power state change we initiated.
4649 // Wait for the driver specified settle time to expire.
4834 // before system sleep. May not always allow the driver to wake
4931 // Instruct our controlling driver to program the hardware for the power state
4948 // Our controlling driver has completed the power state change initiated by our
4949 // parent. Wait for the driver specified settle time to expire.
5054 // yet it starts a delay timer. It appears no driver relies on a delay
5107 // we decrement the timer word of each interested driver which hasn't acked.
5108 // If a timer word becomes zero, we pretend the driver aknowledged.
5109 // If we are waiting for the controlling driver to change the power
5111 // zero, we pretend the driver acknowledged.
5133 // are we waiting for controlling driver to acknowledge?
5140 // controlling driver is tardy
5154 // Unblock state machine and pretend driver has acked.
5188 // Pretend driver has acked.
6750 // Does nothing here. This should be implemented in a subclass driver.
6764 // possible, override this in the subclassed driver.
6824 // Does nothing here. This should be implemented in a subclass driver.
6836 // Does nothing here. This should be implemented in a subclass driver.
6847 // Does nothing here. This should be implemented in a subclass driver.
6870 // Does nothing here. This should be implemented in a subclass driver.
7096 // Waiting on driver's setPowerState() timeout.
7102 // Child or interested driver acks pending.
7593 // driver acked while setPowerState() call is in-flight.
7751 // Target of interested driver call