Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/lib/psci/
Dpsci_suspend.c32 psci_power_state_t state_info; in psci_suspend_to_standby_finisher() local
44 psci_get_target_local_pwr_states(end_pwrlvl, &state_info); in psci_suspend_to_standby_finisher()
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
74 unsigned int max_off_lvl = psci_find_max_off_lvl(state_info); in psci_suspend_to_pwrdown_start()
103 psci_plat_pm_ops->pwr_domain_suspend_pwrdown_early(state_info); in psci_suspend_to_pwrdown_start()
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()
[all …]
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_do_pwrdown_sequence(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()
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()
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
[all …]
Dpsci_common.c126 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()
[all …]
Dpsci_private.h271 psci_power_state_t *state_info);
272 void psci_query_sys_suspend_pwrstate(psci_power_state_t *state_info);
283 psci_power_state_t *state_info);
288 int psci_validate_suspend_req(const psci_power_state_t *state_info,
290 unsigned int psci_find_max_off_lvl(const psci_power_state_t *state_info);
291 unsigned int psci_find_target_suspend_lvl(const psci_power_state_t *state_info);
309 void psci_cpu_on_finish(unsigned int cpu_idx, const psci_power_state_t *state_info);
317 psci_power_state_t *state_info,
320 void psci_cpu_suspend_finish(unsigned int cpu_idx, const psci_power_state_t *state_info);
333 const psci_power_state_t *state_info);
[all …]
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()
77 assert(psci_validate_suspend_req(&state_info, is_power_down_state) in psci_cpu_suspend()
80 target_pwrlvl = psci_find_target_suspend_lvl(&state_info); in psci_cpu_suspend()
95 cpu_pd_state = state_info.pwr_domain_state[PSCI_CPU_PWR_LVL]; 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
[all …]
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()
/external/arm-trusted-firmware/plat/common/
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()
/external/arm-trusted-firmware/include/plat/common/
Dplatform.h262 void plat_psci_stat_accounting_start(const psci_power_state_t *state_info);
263 void plat_psci_stat_accounting_stop(const psci_power_state_t *state_info);
265 const psci_power_state_t *state_info,
/external/autotest/server/site_tests/network_WiFi_SuspendStress/
Dnetwork_WiFi_SuspendStress.py37 state_info = self.context.wait_for_connection(
39 self._timings.append(state_info.time)
/external/mksh/src/
Dlex.c156 if (++statep == state_info.end) \
157 statep = push_state_i(&state_info, statep); \
163 if (--statep == state_info.base) \
164 statep = pop_state_i(&state_info, statep); \
201 State_info state_info; in yylex() local
212 state_info.base = states; in yylex()
213 state_info.end = &state_info.base[STATE_BSIZE]; in yylex()
559 base = state_info.base; in yylex()
/external/arm-trusted-firmware/docs/getting_started/
Dporting-guide.rst2105 ``state_info`` (first argument) can be inspected if stat accounting is done
2123 of ``state_info`` (first argument) can be inspected if stat accounting is done
2144 identified by the ``lvl`` (first argument) parameter. The ``state_info`` (second