Searched refs:voters (Results 1 – 3 of 3) sorted by relevance
68 size_t *voters = nullptr; in getPlatformLowPowerStats() local85 voters = new (std::nothrow) size_t [number_platform_modes]; in getPlatformLowPowerStats()86 if (voters == nullptr) in getPlatformLowPowerStats()89 ret = mModule->get_voter_list(mModule, voters); in getPlatformLowPowerStats()103 legacy_states[i].voters = nullptr; in getPlatformLowPowerStats()104 legacy_states[i].voters = new power_state_voter_t [voters[i]]; in getPlatformLowPowerStats()105 if (legacy_states[i].voters == nullptr) in getPlatformLowPowerStats()122 state.voters.resize(voters[i]); in getPlatformLowPowerStats()123 for(size_t j = 0; j < voters[i]; j++) in getPlatformLowPowerStats()125 state.voters[j].name = legacy_state.voters[j].name; in getPlatformLowPowerStats()[all …]
96 * PowerStateVoter struct is useful for describing the individual voters150 * voters is useful if the Platform-level sleep state152 * All the voters have to say yes or all the system conditions need to be159 vec<PowerStateVoter> voters;
157 power_state_voter_t *voters; member