Lines Matching defs:driver
181 to change power state, or its controlling driver has suggested it, or
182 some other driver wants to use the idle device and has asked it to become
211 -> We call the controlling driver, instructing it to change to the new state
226 -> When they have acknowledged, we call the controlling driver to assume
242 -> When we get this call, we call the controlling driver, instructing it to
276 * or if our power-controlling driver calls changePowerStateTo,
277 * or if some other driver which is using our device calls makeUsable,
289 In "msSetPowerState" we call the power-controlling driver to change the
539 void IOService::joinPMtree ( IOService * driver )
545 platform->PMRegisterDevice(this, driver);
567 // Immediately stop driver callouts. Schedule an async stop request to detach
586 PM_DEBUG("%s::PMstop() driver call busy\n", getName());
665 // controlling driver.
667 // Usually, the controlling driver and the policy-maker functionality
923 // If we have a controlling driver, find out, given our newly-informed
998 // A driver has called us volunteering to control power to our device.
1146 // power state. If we don't have a power-controlling driver yet, we will
1147 // call this interested driver again later when we do get a driver and find
1151 IOPMPowerFlags IOService::registerInterestedDriver ( IOService * driver )
1164 fInsertInterestSet->setObject(driver);
1185 IOReturn IOService::deRegisterInterestedDriver ( IOService * driver )
1201 fRemoveInterestSet->setObject(driver);
1204 item = list->findItem(driver);
1210 PM_DEBUG("%s::deRegisterInterestedDriver() driver call busy\n", getName());
1232 IOService * driver;
1240 while ((driver = (IOService *) fInsertInterestSet->getAnyObject()))
1242 if ((list->findItem(driver) == NULL) &&
1244 !fRemoveInterestSet->containsObject(driver)))
1246 informee = list->appendNewInformee(driver);
1248 fInsertInterestSet->removeObject(driver);
1256 while ((driver = (IOService *) fRemoveInterestSet->getAnyObject()))
1258 informee = list->findItem(driver);
1266 list->removeFromList(driver);
1268 fRemoveInterestSet->removeObject(driver);
1352 // it's an interested driver
1373 // this driver has already acked
1422 // After we instructed our controlling driver to change power states,
1574 // If the parent registers it's power driver late, then this is the
1661 // If the parent registers it's power driver late, then this is the
2030 // For some reason, our power-controlling driver has decided it needs to change
2032 // will be notified, and then we will instruct the driver to make the change.
2099 // will be notified, and then we will instruct the driver to make the change.
2184 // our controlling driver's desire, and the subclass device's desire.
2256 // A subclass object, our controlling driver, or a power domain child
2945 // to occur if a driver misinterpreted that the return value
2947 // to be noticeable if a driver neglects to ack.
2954 // else, child has already acked or driver has removed interest,
3048 // the same branch in the power tree, but the driver is slow to power
3144 IOService * driver;
3155 driver = fControllingDriver;
3162 result = driver->setPowerState( powerState, this );
3195 IOService * driver;
3213 driver = informee->whatObject;
3221 result = driver->powerStateWillChangeTo(powerFlags, powerState, this);
3229 result = driver->powerStateDidChangeTo(powerFlags, powerState, this);
3243 driver->getName(),
3245 driver, fName, fCurrentPowerState, powerState, NS_TO_MS(nsec));
3355 // to wait for any of them to acknowledge, we instruct our power driver to make the
3369 // change we initiated. Here we instruct our controlling driver to make
3388 // Our controlling driver has changed power state on the hardware
3469 // Here we instruct our controlling driver
3489 // Our controlling driver has changed power state on the hardware
3492 // for the controlling driver to change the state. Here we see if we need
3554 // driver to program the hardware to take advantage of the higher domain
3573 // Our controlling driver has changed power state on the hardware
3647 // could our driver switch to the new state?
3803 // we decrement the timer word of each interested driver which hasn't acked.
3804 // If a timer word becomes zero, we pretend the driver aknowledged.
3805 // If we are waiting for the controlling driver to change the power
3807 // zero, we pretend the driver acknowledged.
3828 // are we waiting for controlling driver to acknowledge?
3835 // controlling driver is tardy
3849 // Unblock state machine and pretend driver has acked.
3889 // Pretend driver has acked.
4129 // can our driver switch to the new state?
4321 // to occur if a driver misinterpreted that the return value
4323 // to be noticeable if a driver neglects to ack.
4965 // Does nothing here. This should be implemented in a subclass driver.
4979 // decision is possible, override this in the subclassed driver.
5006 // decision is possible, override this in the subclassed driver.
5033 // decision is possible, override this in the subclassed driver.
5058 // Does nothing here. This should be implemented in a subclass driver.
5069 // Does nothing here. This should be implemented in a subclass driver.
5080 // Does nothing here. This should be implemented in a subclass driver.
5102 // Does nothing here. This should be implemented in a subclass driver.
5323 // Waiting on driver's setPowerState() timeout.
5329 // Child or interested driver acks pending.
5672 // driver acked while setPowerState() call is in-flight.