Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/lib/psci/
Dpsci_stat.c169 unsigned int pwrlvl, lvl, parent_idx, stat_idx, target_idx; in psci_get_stat() local
189 pwrlvl = psci_find_target_suspend_lvl(&state_info); in psci_get_stat()
190 if (pwrlvl == PSCI_INVALID_PWR_LVL) { in psci_get_stat()
196 local_state = state_info.pwr_domain_state[pwrlvl]; in psci_get_stat()
197 stat_idx = get_stat_idx(local_state, pwrlvl); in psci_get_stat()
199 if (pwrlvl > PSCI_CPU_PWR_LVL) { in psci_get_stat()
202 for (lvl = PSCI_CPU_PWR_LVL + 1; lvl < pwrlvl; lvl++) in psci_get_stat()
Dpsci_common.c174 unsigned int pwrlvl; in get_power_on_target_pwrlvl() local
182 pwrlvl = psci_get_suspend_pwrlvl(); in get_power_on_target_pwrlvl()
183 if (pwrlvl == PSCI_INVALID_PWR_LVL) in get_power_on_target_pwrlvl()
184 pwrlvl = PLAT_MAX_PWR_LVL; in get_power_on_target_pwrlvl()
185 return pwrlvl; in get_power_on_target_pwrlvl()
193 static void psci_set_req_local_pwr_state(unsigned int pwrlvl, in psci_set_req_local_pwr_state() argument
201 assert(pwrlvl > PSCI_CPU_PWR_LVL); in psci_set_req_local_pwr_state()
204 psci_req_local_pwr_states[pwrlvl - 1][cpu_idx] = req_pwr_state; in psci_set_req_local_pwr_state()
226 static plat_local_state_t *psci_get_req_local_pwr_states(unsigned int pwrlvl, in psci_get_req_local_pwr_states() argument
229 assert(pwrlvl > PSCI_CPU_PWR_LVL); in psci_get_req_local_pwr_states()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/include/lib/psci/
Dpsci.h117 #define psci_make_powerstate(state_id, type, pwrlvl) \ argument
120 (((pwrlvl) & PSTATE_PWR_LVL_MASK) << PSTATE_PWR_LVL_SHIFT)
299 int pwrlvl);
/device/linaro/bootloader/arm-trusted-firmware/docs/
Dplatform-migration-guide.rst162 int pwrlvl);