Lines Matching refs:state_info
61 psci_power_state_t state_info = { {PSCI_LOCAL_STATE_RUN} }; in psci_cpu_suspend() local
65 rc = psci_validate_power_state(power_state, &state_info); in psci_cpu_suspend()
77 assert(psci_validate_suspend_req(&state_info, is_power_down_state) in psci_cpu_suspend()
80 target_pwrlvl = psci_find_target_suspend_lvl(&state_info); in psci_cpu_suspend()
95 cpu_pd_state = state_info.pwr_domain_state[PSCI_CPU_PWR_LVL]; in psci_cpu_suspend()
99 plat_psci_stat_accounting_start(&state_info); in psci_cpu_suspend()
120 plat_psci_stat_accounting_stop(&state_info); in psci_cpu_suspend()
123 psci_stats_update_pwr_up(PSCI_CPU_PWR_LVL, &state_info); in psci_cpu_suspend()
147 &state_info, in psci_cpu_suspend()
157 psci_power_state_t state_info; in psci_system_suspend() local
170 psci_query_sys_suspend_pwrstate(&state_info); in psci_system_suspend()
176 if (psci_find_target_suspend_lvl(&state_info) < PLAT_MAX_PWR_LVL) in psci_system_suspend()
180 assert(psci_validate_suspend_req(&state_info, PSTATE_TYPE_POWERDOWN) in psci_system_suspend()
183 state_info.pwr_domain_state[PLAT_MAX_PWR_LVL]) != 0); in psci_system_suspend()
192 &state_info, in psci_system_suspend()