Home
last modified time | relevance | path

Searched refs:state_info (Results 1 – 11 of 11) sorted by relevance

/arm-trusted-firmware-2.8.0/lib/psci/
A Dpsci_suspend.c32 psci_power_state_t state_info; in psci_suspend_to_standby_finisher() local
47 plat_psci_stat_accounting_stop(&state_info); in psci_suspend_to_standby_finisher()
48 psci_stats_update_pwr_up(end_pwrlvl, &state_info); in psci_suspend_to_standby_finisher()
55 psci_plat_pm_ops->pwr_domain_suspend_finish(&state_info); in psci_suspend_to_standby_finisher()
72 const psci_power_state_t *state_info) in psci_suspend_to_pwrdown_start() argument
156 psci_power_state_t *state_info, in psci_cpu_suspend_start() argument
195 psci_do_state_coordination(end_pwrlvl, state_info); in psci_cpu_suspend_start()
199 psci_stats_update_pwr_down(end_pwrlvl, state_info); in psci_cpu_suspend_start()
211 psci_plat_pm_ops->pwr_domain_suspend(state_info); in psci_cpu_suspend_start()
214 plat_psci_stat_accounting_start(state_info); in psci_cpu_suspend_start()
[all …]
A Dpsci_off.c22 static void psci_set_power_off_state(psci_power_state_t *state_info) in psci_set_power_off_state() argument
27 state_info->pwr_domain_state[lvl] = PLAT_MAX_OFF_STATE; in psci_set_power_off_state()
47 psci_power_state_t state_info; in psci_do_cpu_off() local
57 psci_set_power_off_state(&state_info); in psci_do_cpu_off()
91 psci_do_state_coordination(end_pwrlvl, &state_info); in psci_do_cpu_off()
95 psci_stats_update_pwr_down(end_pwrlvl, &state_info); in psci_do_cpu_off()
112 psci_pwrdown_cpu(psci_find_max_off_lvl(&state_info)); in psci_do_cpu_off()
124 psci_plat_pm_ops->pwr_domain_off(&state_info); in psci_do_cpu_off()
127 plat_psci_stat_accounting_start(&state_info); in psci_do_cpu_off()
170 psci_plat_pm_ops->pwr_domain_pwr_down_wfi(&state_info); in psci_do_cpu_off()
A Dpsci_stat.c77 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()
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()
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()
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()
[all …]
A Dpsci_private.h274 psci_power_state_t *state_info);
275 void psci_query_sys_suspend_pwrstate(psci_power_state_t *state_info);
286 psci_power_state_t *state_info);
291 int psci_validate_suspend_req(const psci_power_state_t *state_info,
293 unsigned int psci_find_max_off_lvl(const psci_power_state_t *state_info);
294 unsigned int psci_find_target_suspend_lvl(const psci_power_state_t *state_info);
311 void psci_cpu_on_finish(unsigned int cpu_idx, const psci_power_state_t *state_info);
319 psci_power_state_t *state_info,
322 void psci_cpu_suspend_finish(unsigned int cpu_idx, const psci_power_state_t *state_info);
335 const psci_power_state_t *state_info);
[all …]
A Dpsci_common.c126 psci_power_state_t *state_info) in psci_validate_power_state() argument
422 psci_power_state_t *state_info) in psci_do_state_coordination() argument
438 state_info->pwr_domain_state[lvl]); in psci_do_state_coordination()
453 state_info->pwr_domain_state[lvl] = target_state; in psci_do_state_coordination()
470 state_info->pwr_domain_state[lvl]); in psci_do_state_coordination()
507 state = state_info->pwr_domain_state[i]; in psci_validate_suspend_req()
523 max_off_lvl = psci_find_max_off_lvl(state_info); in psci_validate_suspend_req()
805 plat_psci_stat_accounting_stop(&state_info); in psci_warmboot_entrypoint()
821 psci_cpu_on_finish(cpu_idx, &state_info); in psci_warmboot_entrypoint()
823 psci_cpu_suspend_finish(cpu_idx, &state_info); in psci_warmboot_entrypoint()
[all …]
A Dpsci_main.c61 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()
80 target_pwrlvl = psci_find_target_suspend_lvl(&state_info); 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()
183 state_info.pwr_domain_state[PLAT_MAX_PWR_LVL]) != 0); in psci_system_suspend()
[all …]
A Dpsci_on.c169 void psci_cpu_on_finish(unsigned int cpu_idx, const psci_power_state_t *state_info) in psci_cpu_on_finish() argument
177 psci_plat_pm_ops->pwr_domain_on_finish(state_info); in psci_cpu_on_finish()
192 psci_plat_pm_ops->pwr_domain_on_finish_late(state_info); in psci_cpu_on_finish()
/arm-trusted-firmware-2.8.0/plat/common/
A Dplat_psci_common.c69 __unused const psci_power_state_t *state_info) in plat_psci_stat_accounting_start() argument
71 assert(state_info != NULL); in plat_psci_stat_accounting_start()
81 __unused const psci_power_state_t *state_info) in plat_psci_stat_accounting_stop() argument
83 assert(state_info != NULL); in plat_psci_stat_accounting_stop()
93 const psci_power_state_t *state_info, in plat_psci_stat_get_residency() argument
101 assert(state_info != NULL); in plat_psci_stat_get_residency()
112 state = state_info->pwr_domain_state[PSCI_CPU_PWR_LVL]; in plat_psci_stat_get_residency()
/arm-trusted-firmware-2.8.0/include/plat/common/
A Dplatform.h307 void plat_psci_stat_accounting_start(const psci_power_state_t *state_info);
308 void plat_psci_stat_accounting_stop(const psci_power_state_t *state_info);
310 const psci_power_state_t *state_info,
/arm-trusted-firmware-2.8.0/plat/mediatek/lib/pm/armv8_2/
A Dpwr_ctrl.c90 unsigned int armv8_2_get_pwr_afflv(const psci_power_state_t *state_info) in armv8_2_get_pwr_afflv() argument
95 if (is_local_state_run(state_info->pwr_domain_state[i]) == 0) { in armv8_2_get_pwr_afflv()
/arm-trusted-firmware-2.8.0/docs/getting_started/
A Dporting-guide.rst2593 ``state_info`` (first argument) can be inspected if stat accounting is done
2611 of ``state_info`` (first argument) can be inspected if stat accounting is done
2632 identified by the ``lvl`` (first argument) parameter. The ``state_info`` (second

Completed in 24 milliseconds