Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/lib/psci/
Dpsci_setup.c223 &psci_plat_pm_ops); in psci_setup()
224 assert(psci_plat_pm_ops != NULL); in psci_setup()
230 psci_flush_dcache_range((uintptr_t)&psci_plat_pm_ops, in psci_setup()
231 sizeof(psci_plat_pm_ops)); in psci_setup()
236 if (psci_plat_pm_ops->pwr_domain_off != NULL) in psci_setup()
238 if ((psci_plat_pm_ops->pwr_domain_on != NULL) && in psci_setup()
239 (psci_plat_pm_ops->pwr_domain_on_finish != NULL)) in psci_setup()
241 if ((psci_plat_pm_ops->pwr_domain_suspend != NULL) && in psci_setup()
242 (psci_plat_pm_ops->pwr_domain_suspend_finish != NULL)) { in psci_setup()
244 if (psci_plat_pm_ops->get_sys_suspend_power_state != NULL) in psci_setup()
[all …]
Dpsci_system_off.c21 assert(psci_plat_pm_ops->system_off != NULL); in psci_system_off()
31 psci_plat_pm_ops->system_off(); in psci_system_off()
40 assert(psci_plat_pm_ops->system_reset != NULL); in psci_system_reset()
50 psci_plat_pm_ops->system_reset(); in psci_system_reset()
61 assert(psci_plat_pm_ops->system_reset2 != NULL); in psci_system_reset2()
70 if ((psci_plat_pm_ops->write_mem_protect != NULL) && in psci_system_reset2()
71 (psci_plat_pm_ops->write_mem_protect(0) < 0)) { in psci_system_reset2()
83 psci_plat_pm_ops->system_reset2((int) is_vendor, reset_type, in psci_system_reset2()
Dpsci_mem_protect.c18 assert(psci_plat_pm_ops->read_mem_protect != NULL); in psci_mem_protect()
19 assert(psci_plat_pm_ops->write_mem_protect != NULL); in psci_mem_protect()
21 if (psci_plat_pm_ops->read_mem_protect(&val) < 0) in psci_mem_protect()
23 if (psci_plat_pm_ops->write_mem_protect(enable) < 0) in psci_mem_protect()
33 assert(psci_plat_pm_ops->mem_protect_chk != NULL); in psci_mem_chk_range()
38 ret = psci_plat_pm_ops->mem_protect_chk(base, length); in psci_mem_chk_range()
Dpsci_suspend.c55 psci_plat_pm_ops->pwr_domain_suspend_finish(&state_info); in psci_suspend_to_standby_finisher()
102 if (psci_plat_pm_ops->pwr_domain_suspend_pwrdown_early != NULL) in psci_suspend_to_pwrdown_start()
103 psci_plat_pm_ops->pwr_domain_suspend_pwrdown_early(state_info); in psci_suspend_to_pwrdown_start()
167 assert((psci_plat_pm_ops->pwr_domain_suspend != NULL) && in psci_cpu_suspend_start()
168 (psci_plat_pm_ops->pwr_domain_suspend_finish != NULL)); in psci_cpu_suspend_start()
211 psci_plat_pm_ops->pwr_domain_suspend(state_info); in psci_cpu_suspend_start()
242 if (psci_plat_pm_ops->pwr_domain_pwr_down_wfi != NULL) in psci_cpu_suspend_start()
243 psci_plat_pm_ops->pwr_domain_pwr_down_wfi(state_info); in psci_cpu_suspend_start()
296 psci_plat_pm_ops->pwr_domain_suspend_finish(state_info); in psci_cpu_suspend_finish()
Dpsci_on.c76 assert((psci_plat_pm_ops->pwr_domain_on != NULL) && in psci_cpu_on_start()
77 (psci_plat_pm_ops->pwr_domain_on_finish != NULL)); in psci_cpu_on_start()
146 rc = psci_plat_pm_ops->pwr_domain_on(target_cpu); in psci_cpu_on_start()
177 psci_plat_pm_ops->pwr_domain_on_finish(state_info); in psci_cpu_on_finish()
191 if (psci_plat_pm_ops->pwr_domain_on_finish_late != NULL) in psci_cpu_on_finish()
192 psci_plat_pm_ops->pwr_domain_on_finish_late(state_info); in psci_cpu_on_finish()
Dpsci_off.c54 assert(psci_plat_pm_ops->pwr_domain_off != NULL); in psci_do_cpu_off()
124 psci_plat_pm_ops->pwr_domain_off(&state_info); in psci_do_cpu_off()
168 if (psci_plat_pm_ops->pwr_domain_pwr_down_wfi != NULL) { in psci_do_cpu_off()
170 psci_plat_pm_ops->pwr_domain_pwr_down_wfi(&state_info); in psci_do_cpu_off()
Dpsci_stat.c51 if (psci_plat_pm_ops->get_pwr_lvl_state_idx == NULL) { in get_stat_idx()
60 idx = psci_plat_pm_ops->get_pwr_lvl_state_idx(local_state, pwr_lvl); in get_stat_idx()
190 if (psci_plat_pm_ops->translate_power_state_by_mpidr == NULL) in psci_get_stat()
193 rc = psci_plat_pm_ops->translate_power_state_by_mpidr( in psci_get_stat()
Dpsci_common.c69 const plat_psci_ops_t *psci_plat_pm_ops; variable
131 assert(psci_plat_pm_ops->validate_power_state != NULL); in psci_validate_power_state()
134 return psci_plat_pm_ops->validate_power_state(power_state, state_info); in psci_validate_power_state()
147 assert(psci_plat_pm_ops->get_sys_suspend_power_state != NULL); in psci_query_sys_suspend_pwrstate()
152 psci_plat_pm_ops->get_sys_suspend_power_state(state_info); in psci_query_sys_suspend_pwrstate()
742 if (psci_plat_pm_ops->validate_ns_entrypoint != NULL) { in psci_validate_entry_point()
743 rc = psci_plat_pm_ops->validate_ns_entrypoint(entrypoint); in psci_validate_entry_point()
Dpsci_main.c88 if (psci_plat_pm_ops->cpu_standby == NULL) in psci_cpu_suspend()
108 psci_plat_pm_ops->cpu_standby(cpu_pd_state); in psci_cpu_suspend()
328 assert(psci_plat_pm_ops->get_node_hw_state != NULL); in psci_node_hw_state()
329 rc = psci_plat_pm_ops->get_node_hw_state(target_cpu, power_level); in psci_node_hw_state()
Dpsci_private.h250 extern const plat_psci_ops_t *psci_plat_pm_ops;