Home
last modified time | relevance | path

Searched refs:psci_plat_pm_ops (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/lib/psci/
Dpsci_setup.c216 plat_setup_psci_ops((uintptr_t)lib_args->mailbox_ep, &psci_plat_pm_ops); in psci_setup()
217 assert(psci_plat_pm_ops); in psci_setup()
223 psci_flush_dcache_range((uintptr_t)&psci_plat_pm_ops, in psci_setup()
224 sizeof(psci_plat_pm_ops)); in psci_setup()
229 if (psci_plat_pm_ops->pwr_domain_off) in psci_setup()
231 if (psci_plat_pm_ops->pwr_domain_on && in psci_setup()
232 psci_plat_pm_ops->pwr_domain_on_finish) in psci_setup()
234 if (psci_plat_pm_ops->pwr_domain_suspend && in psci_setup()
235 psci_plat_pm_ops->pwr_domain_suspend_finish) { in psci_setup()
237 if (psci_plat_pm_ops->get_sys_suspend_power_state) in psci_setup()
[all …]
Dpsci_system_off.c19 assert(psci_plat_pm_ops->system_off); in psci_system_off()
29 psci_plat_pm_ops->system_off(); in psci_system_off()
38 assert(psci_plat_pm_ops->system_reset); in psci_system_reset()
48 psci_plat_pm_ops->system_reset(); in psci_system_reset()
59 assert(psci_plat_pm_ops->system_reset2); in psci_system_reset2()
68 if (psci_plat_pm_ops->write_mem_protect && in psci_system_reset2()
69 psci_plat_pm_ops->write_mem_protect(0) < 0) { in psci_system_reset2()
80 return psci_plat_pm_ops->system_reset2(is_vendor, reset_type, cookie); in psci_system_reset2()
Dpsci_mem_protect.c16 assert(psci_plat_pm_ops->read_mem_protect); in psci_mem_protect()
17 assert(psci_plat_pm_ops->write_mem_protect); in psci_mem_protect()
19 if (psci_plat_pm_ops->read_mem_protect(&val) < 0) in psci_mem_protect()
21 if (psci_plat_pm_ops->write_mem_protect(enable) < 0) in psci_mem_protect()
31 assert(psci_plat_pm_ops->mem_protect_chk); in psci_mem_chk_range()
36 ret = psci_plat_pm_ops->mem_protect_chk(base, length); in psci_mem_chk_range()
Dpsci_suspend.c44 psci_plat_pm_ops->pwr_domain_suspend_finish(&state_info); in psci_suspend_to_standby_finisher()
90 if (psci_plat_pm_ops->pwr_domain_suspend_pwrdown_early) in psci_suspend_to_pwrdown_start()
91 psci_plat_pm_ops->pwr_domain_suspend_pwrdown_early(state_info); in psci_suspend_to_pwrdown_start()
154 assert(psci_plat_pm_ops->pwr_domain_suspend && in psci_cpu_suspend_start()
155 psci_plat_pm_ops->pwr_domain_suspend_finish); in psci_cpu_suspend_start()
196 psci_plat_pm_ops->pwr_domain_suspend(state_info); in psci_cpu_suspend_start()
227 if (psci_plat_pm_ops->pwr_domain_pwr_down_wfi) in psci_cpu_suspend_start()
228 psci_plat_pm_ops->pwr_domain_pwr_down_wfi(state_info); in psci_cpu_suspend_start()
290 psci_plat_pm_ops->pwr_domain_suspend_finish(state_info); in psci_cpu_suspend_finish()
Dpsci_off.c50 assert(psci_plat_pm_ops->pwr_domain_off); in psci_do_cpu_off()
112 psci_plat_pm_ops->pwr_domain_off(&state_info); in psci_do_cpu_off()
157 if (psci_plat_pm_ops->pwr_domain_pwr_down_wfi) { in psci_do_cpu_off()
159 psci_plat_pm_ops->pwr_domain_pwr_down_wfi(&state_info); in psci_do_cpu_off()
Dpsci_on.c59 assert(psci_plat_pm_ops->pwr_domain_on && in psci_cpu_on_start()
60 psci_plat_pm_ops->pwr_domain_on_finish); in psci_cpu_on_start()
125 rc = psci_plat_pm_ops->pwr_domain_on(target_cpu); in psci_cpu_on_start()
156 psci_plat_pm_ops->pwr_domain_on_finish(state_info); in psci_cpu_on_finish()
Dpsci_stat.c47 if (psci_plat_pm_ops->get_pwr_lvl_state_idx == NULL) { in get_stat_idx()
56 idx = psci_plat_pm_ops->get_pwr_lvl_state_idx(local_state, pwr_lvl); in get_stat_idx()
179 if (!psci_plat_pm_ops->translate_power_state_by_mpidr) in psci_get_stat()
182 rc = psci_plat_pm_ops->translate_power_state_by_mpidr( in psci_get_stat()
Dpsci_common.c66 const plat_psci_ops_t *psci_plat_pm_ops; variable
120 assert(psci_plat_pm_ops->validate_power_state); in psci_validate_power_state()
123 return psci_plat_pm_ops->validate_power_state(power_state, state_info); in psci_validate_power_state()
136 assert(psci_plat_pm_ops->get_sys_suspend_power_state); in psci_query_sys_suspend_pwrstate()
141 psci_plat_pm_ops->get_sys_suspend_power_state(state_info); in psci_query_sys_suspend_pwrstate()
718 if (psci_plat_pm_ops->validate_ns_entrypoint) { in psci_validate_entry_point()
719 rc = psci_plat_pm_ops->validate_ns_entrypoint(entrypoint); in psci_validate_entry_point()
Dpsci_main.c85 if (!psci_plat_pm_ops->cpu_standby) in psci_cpu_suspend()
105 psci_plat_pm_ops->cpu_standby(cpu_pd_state); in psci_cpu_suspend()
297 assert(psci_plat_pm_ops->get_node_hw_state); in psci_node_hw_state()
298 rc = psci_plat_pm_ops->get_node_hw_state(target_cpu, power_level); in psci_node_hw_state()
Dpsci_private.h185 extern const plat_psci_ops_t *psci_plat_pm_ops;