Lines Matching defs:numberOfStates
1004 unsigned long numberOfStates )
1013 if (!powerStates || (numberOfStates < 2))
1015 OUR_PMLog(kPMLogControllingDriverErr5, numberOfStates, 0);
1033 powerStatesCopy = IONew(IOPMPowerState, numberOfStates);
1038 sizeof(IOPMPowerState) * numberOfStates );
1047 request->fArg2 = (void *) numberOfStates;
1055 IODelete(powerStatesCopy, IOPMPowerState, numberOfStates);
1067 unsigned long numberOfStates = (unsigned long) request->fArg2;
1074 assert(numberOfStates > 1);
1079 (unsigned long) numberOfStates,
1083 fNumberOfPowerStates = numberOfStates;
1089 for ( i = 0; i < numberOfStates; i++ ) {
1135 OUR_PMLog(kPMLogControllingDriverErr2, numberOfStates, 0);
1136 IODelete(powerStates, IOPMPowerState, numberOfStates);