Searched refs:pwrlvl (Results 1 – 4 of 4) sorted by relevance
169 unsigned int pwrlvl, lvl, parent_idx, stat_idx, target_idx; in psci_get_stat() local189 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()
174 unsigned int pwrlvl; in get_power_on_target_pwrlvl() local182 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() argument201 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() argument229 assert(pwrlvl > PSCI_CPU_PWR_LVL); in psci_get_req_local_pwr_states()[all …]
117 #define psci_make_powerstate(state_id, type, pwrlvl) \ argument120 (((pwrlvl) & PSTATE_PWR_LVL_MASK) << PSTATE_PWR_LVL_SHIFT)299 int pwrlvl);
162 int pwrlvl);