Lines Matching defs:state_info

134 			      psci_power_state_t *state_info)
143 return psci_plat_pm_ops->validate_power_state(power_state, state_info);
150 void psci_query_sys_suspend_pwrstate(psci_power_state_t *state_info)
161 psci_plat_pm_ops->get_sys_suspend_power_state(state_info);
328 * local power states (state_info).
332 psci_power_state_t *state_info,
349 req_state = state_info->pwr_domain_state[lvl];
351 req_state = state_info->pwr_domain_state[end_pwrlvl];
437 /* Copy the local power state from node to state_info */
470 /* Copy the local_state from state_info */
526 * domain (state_info) between the current CPU domain and its ancestors until
538 * The 'state_info' is updated with the target state for each level between the
545 psci_power_state_t *state_info)
561 state_info->pwr_domain_state[lvl]);
576 state_info->pwr_domain_state[lvl] = target_state;
579 if (is_local_state_run(state_info->pwr_domain_state[lvl]) != 0)
588 * We update the requested power state from state_info and then
593 state_info->pwr_domain_state[lvl]);
594 state_info->pwr_domain_state[lvl] = PSCI_LOCAL_STATE_RUN;
604 * domain (state_info) between the current CPU domain and its ancestors until
615 * The 'state_info' is not modified.
621 psci_power_state_t *state_info)
637 psci_update_req_local_pwr_states(end_pwrlvl, cpu_idx, state_info, prev);
657 if (state_info->pwr_domain_state[lvl] != target_state) {
671 lvl = state_info->last_at_pwrlvl;
698 int psci_validate_suspend_req(const psci_power_state_t *state_info,
707 target_lvl = psci_find_target_suspend_lvl(state_info);
715 state = state_info->pwr_domain_state[i];
731 max_off_lvl = psci_find_max_off_lvl(state_info);
753 * amongst all the power levels specified in the 'state_info' structure
755 unsigned int psci_find_max_off_lvl(const psci_power_state_t *state_info)
760 if (is_local_state_off(state_info->pwr_domain_state[i]) != 0)
771 unsigned int psci_find_target_suspend_lvl(const psci_power_state_t *state_info)
776 if (is_local_state_run(state_info->pwr_domain_state[i]) == 0)
972 psci_power_state_t state_info = { {PSCI_LOCAL_STATE_RUN} };
1002 psci_get_target_local_pwr_states(end_pwrlvl, &state_info);
1005 plat_psci_stat_accounting_stop(&state_info);
1021 psci_cpu_on_finish(cpu_idx, &state_info);
1023 psci_cpu_suspend_finish(cpu_idx, &state_info);
1045 psci_stats_update_pwr_up(end_pwrlvl, &state_info);