Lines Matching refs:driver

290       to change power state, or its controlling driver has suggested it, or
291 some other driver wants to use the idle device and has asked it to become
320 -> We call the controlling driver, instructing it to change to the new state
335 -> When they have acknowledged, we call the controlling driver to assume
351 -> When we get this call, we call the controlling driver, instructing it to
385 * or if our power-controlling driver calls changePowerStateTo,
386 * or if some other driver which is using our device calls makeUsable,
398 In "msSetPowerState" we call the power-controlling driver to change the
701 void IOService::joinPMtree ( IOService * driver )
707 platform->PMRegisterDevice(this, driver);
726 // Immediately stop driver callouts. Schedule an async stop request to detach
746 // Inhibit future driver calls.
749 // Wait for all prior driver calls to finish.
780 // remove driver from prevent system sleep lists
835 // controlling driver.
837 // Usually, the controlling driver and the policy-maker functionality
1093 // If we have a controlling driver, find out, given our newly-informed
1174 // A driver has called us volunteering to control power to our device.
1350 // power state. If we don't have a power-controlling driver yet, we will
1351 // call this interested driver again later when we do get a driver and find
1355 IOPMPowerFlags IOService::registerInterestedDriver ( IOService * driver )
1360 if (!driver || !initialized || !fInterestedDrivers)
1369 fInsertInterestSet->setObject(driver);
1371 fRemoveInterestSet->removeObject(driver);
1393 IOReturn IOService::deRegisterInterestedDriver ( IOService * driver )
1400 if (!driver)
1411 fRemoveInterestSet->setObject(driver);
1413 fInsertInterestSet->removeObject(driver);
1416 item = list->findItem(driver);
1420 waitForPMDriverCall( driver );
1443 IOService * driver;
1451 while ((driver = (IOService *) fInsertInterestSet->getAnyObject()))
1453 if (list->findItem(driver) == NULL)
1455 informee = list->appendNewInformee(driver);
1457 fInsertInterestSet->removeObject(driver);
1465 while ((driver = (IOService *) fRemoveInterestSet->getAnyObject()))
1467 informee = list->findItem(driver);
1476 list->removeFromList(driver);
1478 fRemoveInterestSet->removeObject(driver);
1559 // it's an interested driver
1594 // this driver has already acked
1643 // After we instructed our controlling driver to change power states,
1976 // If the parent registers its power driver late, then this is the
2271 // Called by our power-controlling driver to change power state. The new desired
2285 // Called by our driver subclass to change power state. The new desired power
2299 // Called by our driver subclass to change power state. The new desired power
2550 // Desired power state is always 0 without a controlling driver.
2555 //PM_LOG("%s::%s no controlling driver\n", getName(), __FUNCTION__);
2595 // Ignore child and driver when override is in effect.
3443 // Interested driver return IOPMAckImplied.
3460 // to occur if a driver misinterpreted that the return value
3462 // to be noticeable if a driver neglects to ack.
3469 // else, child has already acked or driver has removed interest,
3616 // the same branch in the power tree, but the driver is slow to power
3815 IOService * driver;
3837 driver = informee->whatObject;
3845 result = driver->powerStateWillChangeTo(powerFlags, powerState, this);
3853 result = driver->powerStateDidChangeTo(powerFlags, powerState, this);
3869 driver->getName(),
3871 driver, fName, fCurrentPowerState, powerState, NS_TO_MS(nsec));
3881 driver->getName(), // interest name
4044 // to occur if a driver misinterpreted that the return value
4046 // to be noticeable if a driver neglects to ack.
4089 // Do not inform driver and clients about this request completion,
4122 // could our driver switch to the new state?
4513 // Instruct our controlling driver to program the hardware for the power state
4530 // Our controlling driver has completed the power state change we initiated.
4531 // Wait for the driver specified settle time to expire.
4712 // Instruct our controlling driver to program the hardware for the power state
4729 // Our controlling driver has completed the power state change initiated by our
4730 // parent. Wait for the driver specified settle time to expire.
4941 // we decrement the timer word of each interested driver which hasn't acked.
4942 // If a timer word becomes zero, we pretend the driver aknowledged.
4943 // If we are waiting for the controlling driver to change the power
4945 // zero, we pretend the driver acknowledged.
4967 // are we waiting for controlling driver to acknowledge?
4974 // controlling driver is tardy
5002 // Unblock state machine and pretend driver has acked.
5054 // Pretend driver has acked.
6292 // Does nothing here. This should be implemented in a subclass driver.
6306 // decision is possible, override this in the subclassed driver.
6333 // decision is possible, override this in the subclassed driver.
6360 // decision is possible, override this in the subclassed driver.
6386 // Does nothing here. This should be implemented in a subclass driver.
6398 // Does nothing here. This should be implemented in a subclass driver.
6409 // Does nothing here. This should be implemented in a subclass driver.
6432 // Does nothing here. This should be implemented in a subclass driver.
6661 // Waiting on driver's setPowerState() timeout.
6667 // Child or interested driver acks pending.
7151 // driver acked while setPowerState() call is in-flight.
7317 // Target of interested driver call