Lines Matching refs:state_info
126 psci_power_state_t *state_info) in psci_validate_power_state() argument
135 return psci_plat_pm_ops->validate_power_state(power_state, state_info); in psci_validate_power_state()
142 void psci_query_sys_suspend_pwrstate(psci_power_state_t *state_info) in psci_query_sys_suspend_pwrstate() argument
153 psci_plat_pm_ops->get_sys_suspend_power_state(state_info); in psci_query_sys_suspend_pwrstate()
421 psci_power_state_t *state_info) in psci_do_state_coordination() argument
437 state_info->pwr_domain_state[lvl]); in psci_do_state_coordination()
452 state_info->pwr_domain_state[lvl] = target_state; in psci_do_state_coordination()
455 if (is_local_state_run(state_info->pwr_domain_state[lvl]) != 0) in psci_do_state_coordination()
469 state_info->pwr_domain_state[lvl]); in psci_do_state_coordination()
470 state_info->pwr_domain_state[lvl] = PSCI_LOCAL_STATE_RUN; in psci_do_state_coordination()
475 psci_set_target_local_pwr_states(end_pwrlvl, state_info); in psci_do_state_coordination()
489 int psci_validate_suspend_req(const psci_power_state_t *state_info, in psci_validate_suspend_req() argument
498 target_lvl = psci_find_target_suspend_lvl(state_info); in psci_validate_suspend_req()
506 state = state_info->pwr_domain_state[i]; in psci_validate_suspend_req()
522 max_off_lvl = psci_find_max_off_lvl(state_info); in psci_validate_suspend_req()
546 unsigned int psci_find_max_off_lvl(const psci_power_state_t *state_info) in psci_find_max_off_lvl() argument
551 if (is_local_state_off(state_info->pwr_domain_state[i]) != 0) in psci_find_max_off_lvl()
562 unsigned int psci_find_target_suspend_lvl(const psci_power_state_t *state_info) in psci_find_target_suspend_lvl() argument
567 if (is_local_state_run(state_info->pwr_domain_state[i]) == 0) in psci_find_target_suspend_lvl()
774 psci_power_state_t state_info = { {PSCI_LOCAL_STATE_RUN} }; in psci_warmboot_entrypoint() local
801 psci_get_target_local_pwr_states(end_pwrlvl, &state_info); in psci_warmboot_entrypoint()
804 plat_psci_stat_accounting_stop(&state_info); in psci_warmboot_entrypoint()
820 psci_cpu_on_finish(cpu_idx, &state_info); in psci_warmboot_entrypoint()
822 psci_cpu_suspend_finish(cpu_idx, &state_info); in psci_warmboot_entrypoint()
837 psci_stats_update_pwr_up(end_pwrlvl, &state_info); in psci_warmboot_entrypoint()