Searched refs:pwrlvl (Results 1 – 3 of 3) sorted by relevance
186 unsigned int pwrlvl; in get_power_on_target_pwrlvl() local194 pwrlvl = psci_get_suspend_pwrlvl(); in get_power_on_target_pwrlvl()195 if (pwrlvl == PSCI_INVALID_PWR_LVL) in get_power_on_target_pwrlvl()196 pwrlvl = PLAT_MAX_PWR_LVL; in get_power_on_target_pwrlvl()197 assert(pwrlvl < PSCI_INVALID_PWR_LVL); in get_power_on_target_pwrlvl()198 return pwrlvl; in get_power_on_target_pwrlvl()206 static void psci_set_req_local_pwr_state(unsigned int pwrlvl, in psci_set_req_local_pwr_state() argument210 assert(pwrlvl > PSCI_CPU_PWR_LVL); in psci_set_req_local_pwr_state()211 if ((pwrlvl > PSCI_CPU_PWR_LVL) && (pwrlvl <= PLAT_MAX_PWR_LVL) && in psci_set_req_local_pwr_state()213 psci_req_local_pwr_states[pwrlvl - 1U][cpu_idx] = req_pwr_state; in psci_set_req_local_pwr_state()[all …]
179 unsigned int pwrlvl, lvl, parent_idx, target_idx; in psci_get_stat() local200 pwrlvl = psci_find_target_suspend_lvl(&state_info); in psci_get_stat()201 if (pwrlvl == PSCI_INVALID_PWR_LVL) { in psci_get_stat()207 local_state = state_info.pwr_domain_state[pwrlvl]; in psci_get_stat()208 stat_idx = get_stat_idx(local_state, pwrlvl); in psci_get_stat()210 if (pwrlvl > PSCI_CPU_PWR_LVL) { in psci_get_stat()213 for (lvl = PSCI_CPU_PWR_LVL + 1U; lvl < pwrlvl; lvl++) in psci_get_stat()
112 #define psci_make_powerstate(state_id, type, pwrlvl) \ argument115 (((pwrlvl) & PSTATE_PWR_LVL_MASK) << PSTATE_PWR_LVL_SHIFT)318 int pwrlvl);