Home | History | Annotate | Download | only in psci

Lines Matching refs:state_info

114 			      psci_power_state_t *state_info)
123 return psci_plat_pm_ops->validate_power_state(power_state, state_info);
130 void psci_query_sys_suspend_pwrstate(psci_power_state_t *state_info)
141 psci_plat_pm_ops->get_sys_suspend_power_state(state_info);
293 /* Copy the local power state from node to state_info */
326 /* Copy the local_state from state_info */
379 * domain (state_info) between the current CPU domain and its ancestors until
391 * The 'state_info' is updated with the target state for each level between the
398 psci_power_state_t *state_info)
413 state_info->pwr_domain_state[lvl]);
428 state_info->pwr_domain_state[lvl] = target_state;
431 if (is_local_state_run(state_info->pwr_domain_state[lvl]))
440 * We update the requested power state from state_info and then
445 state_info->pwr_domain_state[lvl]);
446 state_info->pwr_domain_state[lvl] = PSCI_LOCAL_STATE_RUN;
451 psci_set_target_local_pwr_states(end_pwrlvl, state_info);
465 int psci_validate_suspend_req(const psci_power_state_t *state_info,
474 target_lvl = psci_find_target_suspend_lvl(state_info);
482 state = state_info->pwr_domain_state[i];
498 max_off_lvl = psci_find_max_off_lvl(state_info);
519 * amongst all the power levels specified in the 'state_info' structure
521 unsigned int psci_find_max_off_lvl(const psci_power_state_t *state_info)
526 if (is_local_state_off(state_info->pwr_domain_state[i]))
537 unsigned int psci_find_target_suspend_lvl(const psci_power_state_t *state_info)
542 if (!is_local_state_run(state_info->pwr_domain_state[i]))
745 psci_power_state_t state_info = { {PSCI_LOCAL_STATE_RUN} };
771 plat_psci_stat_accounting_stop(&state_info);
774 psci_get_target_local_pwr_states(end_pwrlvl, &state_info);
789 psci_cpu_on_finish(cpu_idx, &state_info);
791 psci_cpu_suspend_finish(cpu_idx, &state_info);
806 psci_stats_update_pwr_up(end_pwrlvl, &state_info);
981 psci_power_state_t state_info;
983 zeromem(&state_info, sizeof(state_info));
984 psci_get_target_local_pwr_states(PLAT_MAX_PWR_LVL, &state_info);
986 return psci_find_target_suspend_lvl(&state_info);