Lines Matching refs:client

1315                 const OSSymbol * client;
1316 while ((client = (const OSSymbol *) iter->getNextObject()))
1318 uint32_t powerState = getPowerStateForClient(client);
1321 updatePowerClient(client, numberOfStates - 1);
2241 // Some client of our device is asking that we become usable. Although
2347 const OSSymbol * client,
2352 if (!client)
2361 client->retain();
2363 request->fArg1 = (void *) client;
2390 const OSSymbol * client = (const OSSymbol *) request->fArg1;
2408 (client == gIOPMPowerClientDevice))
2412 (client != gIOPMPowerClientDevice) &&
2413 (client != gIOPMPowerClientDriver) &&
2414 (client != gIOPMPowerClientChildProxy))
2415 removePowerClient(client);
2417 updatePowerClient(client, state);
2420 client->release();
2427 void IOService::updatePowerClient( const OSSymbol * client, uint32_t powerState )
2431 if (fPowerClients && client)
2433 OSNumber * num = (OSNumber *) fPowerClients->getObject(client);
2441 fPowerClients->setObject(client, num);
2448 void IOService::removePowerClient( const OSSymbol * client )
2450 if (fPowerClients && client)
2451 fPowerClients->removeObject(client);
2454 uint32_t IOService::getPowerStateForClient( const OSSymbol * client )
2458 if (fPowerClients && client)
2460 OSNumber * num = (OSNumber *) fPowerClients->getObject(client);
2592 const OSSymbol * client;
2593 while ((client = (const OSSymbol *) iter->getNextObject()))
2598 ((client == gIOPMPowerClientChildren) ||
2599 (client == gIOPMPowerClientDriver)))
2603 if (hasChildren && (client == gIOPMPowerClientChildProxy))
2606 if (client == gIOPMPowerClientAdvisoryTickle &&
2610 desiredState = getPowerStateForClient(client);
2613 desiredState, client->getCStringNoCopy());
2617 if (client == gIOPMPowerClientDevice)
3189 // Called by the user client.
5277 // Discover the 'counter' value or index assigned to this client
5279 // client in an array holding the cached interested clients.
5340 // TODO: identify the priority client that has not acked
5543 // Create client array (for tracking purposes) only if the service
5580 // We send a message to an in-kernel client, and we expect a response,
5658 PM_ERROR("%s: client %p returned %llu for %s\n",
5669 // not a client of ours
5702 // Create client array (for tracking purposes) only if the service
5714 // Log client pid/name and client array index.
5835 // client doesn't want time to respond
5846 PM_ERROR("%s: client %p returned %u for %s\n",
5859 // not a client of ours
5936 // Message a kernel client.
6225 // client to respond, we abandon the power change.