Lines Matching refs:state_info
77 const psci_power_state_t *state_info) in psci_stats_update_pwr_down() argument
83 assert(state_info != NULL); in psci_stats_update_pwr_down()
90 if (is_local_state_run(state_info->pwr_domain_state[lvl]) != 0) in psci_stats_update_pwr_down()
110 const psci_power_state_t *state_info) in psci_stats_update_pwr_up() argument
119 assert(state_info != NULL); in psci_stats_update_pwr_up()
122 local_state = state_info->pwr_domain_state[PSCI_CPU_PWR_LVL]; in psci_stats_update_pwr_up()
127 state_info, cpu_idx); in psci_stats_update_pwr_up()
143 local_state = state_info->pwr_domain_state[lvl]; in psci_stats_update_pwr_up()
152 residency = plat_psci_stat_get_residency(lvl, state_info, in psci_stats_update_pwr_up()
181 psci_power_state_t state_info = { {PSCI_LOCAL_STATE_RUN} }; in psci_get_stat() local
191 rc = psci_validate_power_state(power_state, &state_info); in psci_get_stat()
194 target_cpu, power_state, &state_info); in psci_get_stat()
200 pwrlvl = psci_find_target_suspend_lvl(&state_info); in psci_get_stat()
207 local_state = state_info.pwr_domain_state[pwrlvl]; in psci_get_stat()