Searched refs:voters (Results 1 – 3 of 3) sorted by relevance
69 size_t *voters = nullptr; in getPlatformLowPowerStats() local86 voters = new (std::nothrow) size_t [number_platform_modes]; in getPlatformLowPowerStats()87 if (voters == nullptr) in getPlatformLowPowerStats()90 ret = mModule->get_voter_list(mModule, voters); in getPlatformLowPowerStats()104 legacy_states[i].voters = nullptr; in getPlatformLowPowerStats()105 legacy_states[i].voters = new power_state_voter_t [voters[i]]; in getPlatformLowPowerStats()106 if (legacy_states[i].voters == nullptr) in getPlatformLowPowerStats()123 state.voters.resize(voters[i]); in getPlatformLowPowerStats()124 for(size_t j = 0; j < voters[i]; j++) in getPlatformLowPowerStats()126 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