Lines Matching defs:service
240 IOService * service;
543 IOService * service; // service being worked on
548 bool timeout; // service took too long
1596 IOService * service )
1600 if (!service || (service == this))
1603 DLOG("joinAggressiveness %s %p\n", service->getName(), service);
1609 service->retain(); // released by synchronizeAggressives()
1613 request->data.service = service;
1808 IOService * service;
1819 service = request->data.service;
1821 service = 0;
1826 if (service)
1828 if (service->assertPMDriverCall(&callEntry))
1837 record->type, value, service->getName());
1838 service->setAggressiveness(record->type, value);
1840 service->deassertPMDriverCall(&callEntry);
1842 service->release(); // retained by joinAggressiveness()
1860 IOService * service;
1879 if ((service = (IOService *) connect->copyChildEntry(gIOPowerPlane)))
1881 if (service->assertPMDriverCall(&callEntry))
1891 record->type, value, service->getName());
1892 service->setAggressiveness(record->type, value);
1895 service->deassertPMDriverCall(&callEntry);
1897 service->release();
2422 IOService * service, bool addNotRemove )
2432 addNotRemove && (service != wrangler) && (service != this))
2440 preventIdleSleepList->setObject(service);
2442 service->getName(), preventIdleSleepList->getCount());
2444 else if (preventIdleSleepList->member(service))
2446 preventIdleSleepList->removeObject(service);
2448 service->getName(), preventIdleSleepList->getCount());
2477 IOService * service, bool addNotRemove )
2482 if (this == service)
2488 preventSystemSleepList->setObject(service);
2490 service->getName(), preventSystemSleepList->getCount());
2492 else if (preventSystemSleepList->member(service))
2494 preventSystemSleepList->removeObject(service);
2496 service->getName(), preventSystemSleepList->getCount());
2706 UInt32 messageType, IOService * service,
4264 IOService * service,
4273 if (service == this)
4293 isDisplayWrangler = (0 != service->metaCast("IODisplayWrangler"));
4296 wrangler = service;
4305 if (service->getProperty("IOPMStrictTreeOrder"))
4307 if (service->getProperty("IOPMUnattendedWakePowerState"))
4317 IORegistryEntry * child = service;
4339 DLOG("%s tag flags %x\n", service->getName(), flags);
4357 if (!pciHostBridgeDevice && service->metaCast("IOPCIBridge"))
4359 IOService * provider = service->getProvider();
4364 pciHostBridgeDriver = service;
4366 provider->getName(), service->getName());
4372 if (pciHostBridgeDevice && service->metaCast("IOPCIDevice"))
4376 IORegistryEntry * parent = service->getParentEntry(gIODTPlane);
4377 if ((parent == pciHostBridgeDevice) && service->getProperty("acpi-device"))
4379 int bit = pmTracer->recordTopLevelPCIDevice( service );
4404 IOService * service,
4460 IOService * service,
4631 IOService * service,
4803 IOService * service,
4844 service->getName(), service);
4867 service->getName(), service);
4881 (service->getPowerState() > 0))
4899 maxPowerState = service->getPowerState();
4905 service->getName(), service, powerState, maxPowerState,
4939 IOService * service,
4946 assert(service == wrangler);
4948 if (service == wrangler)
4979 IOService * service )
4985 DLOG("%s: delay child notify\n", service->getName());
4996 IOService * service,
5003 service, *inOutChangeFlags,
5008 IOService * service,
5015 service, changeFlags,
5241 UInt32 messageType, IOService * service,
6822 change_t type, IOService *service, uint32_t changeFlags, uint32_t bitNum)
6849 service->getName(), bitNum, bitMask, traceData32);
6855 service->getName(), bitNum, bitMask, traceData32);
6962 IOService * service;
6970 service = 0;
6978 service = (IOService *)inner->getAnyObject();
6979 if (service)
6981 service->retain();
6982 inner->removeObject(service);
6986 if (!service)
6991 if (!service->isInactive() &&
6992 service->setProperty(gPMHaltClientAcknowledgeKey, me))
6996 me->service = service;
7000 service->systemWillShutdown( gPMHaltEvent );
7004 while (service->getProperty(gPMHaltClientAcknowledgeKey))
7008 me->service = 0;
7020 service->getName(), service,
7024 service->release();
7038 if (me->service && !me->timeout)
7053 me->service->getName());