Home
last modified time | relevance | path

Searched refs:pwrlvl (Results 1 – 3 of 3) sorted by relevance

/external/arm-trusted-firmware/lib/psci/
Dpsci_common.c187 unsigned int pwrlvl; in get_power_on_target_pwrlvl() local
195 pwrlvl = psci_get_suspend_pwrlvl(); in get_power_on_target_pwrlvl()
196 if (pwrlvl == PSCI_INVALID_PWR_LVL) in get_power_on_target_pwrlvl()
197 pwrlvl = PLAT_MAX_PWR_LVL; in get_power_on_target_pwrlvl()
198 assert(pwrlvl < PSCI_INVALID_PWR_LVL); in get_power_on_target_pwrlvl()
199 return pwrlvl; in get_power_on_target_pwrlvl()
207 static void psci_set_req_local_pwr_state(unsigned int pwrlvl, in psci_set_req_local_pwr_state() argument
211 assert(pwrlvl > PSCI_CPU_PWR_LVL); in psci_set_req_local_pwr_state()
212 if ((pwrlvl > PSCI_CPU_PWR_LVL) && (pwrlvl <= PLAT_MAX_PWR_LVL) && in psci_set_req_local_pwr_state()
214 psci_req_local_pwr_states[pwrlvl - 1U][cpu_idx] = req_pwr_state; in psci_set_req_local_pwr_state()
[all …]
Dpsci_stat.c179 unsigned int pwrlvl, lvl, parent_idx, target_idx; in psci_get_stat() local
200 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()
/external/arm-trusted-firmware/include/lib/psci/
Dpsci.h112 #define psci_make_powerstate(state_id, type, pwrlvl) \ argument
115 (((pwrlvl) & PSTATE_PWR_LVL_MASK) << PSTATE_PWR_LVL_SHIFT)
318 int pwrlvl);