Home
last modified time | relevance | path

Searched refs:PLAT_MAX_PWR_LVL (Results 1 – 25 of 122) sorted by relevance

12345

/trusted-firmware-a-3.6.0-3.5.0/lib/psci/
Dpsci_common.c45 psci_req_local_pwr_states[PLAT_MAX_PWR_LVL][PLATFORM_CORE_COUNT];
75 CASSERT((PLAT_MAX_PWR_LVL <= PSCI_MAX_PWR_LVL) &&
76 (PLAT_MAX_PWR_LVL >= PSCI_CPU_PWR_LVL),
266 pwrlvl = PLAT_MAX_PWR_LVL; in get_power_on_target_pwrlvl()
281 if ((pwrlvl > PSCI_CPU_PWR_LVL) && (pwrlvl <= PLAT_MAX_PWR_LVL) && in psci_set_req_local_pwr_state()
296 for (pwrlvl = 0U; pwrlvl < PLAT_MAX_PWR_LVL; pwrlvl++) { in psci_init_req_local_pwr_states()
317 if ((pwrlvl > PSCI_CPU_PWR_LVL) && (pwrlvl <= PLAT_MAX_PWR_LVL) && in psci_get_req_local_pwr_states()
339 unsigned int max_pwrlvl = PLAT_MAX_PWR_LVL; in psci_update_req_local_pwr_states()
368 unsigned int max_pwrlvl = PLAT_MAX_PWR_LVL; in psci_restore_req_local_pwr_states()
444 for (; lvl <= PLAT_MAX_PWR_LVL; lvl++) in psci_get_target_local_pwr_states()
[all …]
Dpsci_setup.c99 unsigned int nodes_idx[PLAT_MAX_PWR_LVL] = {0}; in psci_update_pwrlvl_limits()
100 unsigned int temp_index[PLAT_MAX_PWR_LVL]; in psci_update_pwrlvl_limits()
104 PLAT_MAX_PWR_LVL, in psci_update_pwrlvl_limits()
106 for (j = (int)PLAT_MAX_PWR_LVL - 1; j >= 0; j--) { in psci_update_pwrlvl_limits()
129 int level = (int)PLAT_MAX_PWR_LVL; in populate_power_domain_tree()
230 psci_set_pwr_domains_to_run(PLAT_MAX_PWR_LVL); in psci_setup()
Dpsci_off.c27 for (lvl = PSCI_CPU_PWR_LVL; lvl <= PLAT_MAX_PWR_LVL; lvl++) in psci_set_power_off_state()
49 unsigned int parent_nodes[PLAT_MAX_PWR_LVL] = {0}; in psci_do_cpu_off()
Dpsci_main.c65 plat_local_state_t prev[PLAT_MAX_PWR_LVL]; in psci_cpu_suspend()
202 if (psci_find_target_suspend_lvl(&state_info) < PLAT_MAX_PWR_LVL) in psci_system_suspend()
209 state_info.pwr_domain_state[PLAT_MAX_PWR_LVL]) != 0); in psci_system_suspend()
217 PLAT_MAX_PWR_LVL, in psci_system_suspend()
227 unsigned int target_pwrlvl = PLAT_MAX_PWR_LVL; in psci_cpu_off()
347 if (power_level > PLAT_MAX_PWR_LVL) in psci_node_hw_state()
Dpsci_suspend.c31 unsigned int parent_nodes[PLAT_MAX_PWR_LVL] = {0}; in psci_suspend_to_standby_finisher()
82 end_pwrlvl = PLAT_MAX_PWR_LVL; in psci_suspend_to_pwrdown_start()
170 unsigned int parent_nodes[PLAT_MAX_PWR_LVL] = {0}; in psci_cpu_suspend_start()
/trusted-firmware-a-3.6.0-3.5.0/plat/imx/common/
Dimx8_psci.c39 if (pwr_lvl > PLAT_MAX_PWR_LVL) in imx_validate_power_state()
58 for (i = MPIDR_AFFLVL0; i < PLAT_MAX_PWR_LVL; i++) in imx_get_sys_suspend_power_state()
60 req_state->pwr_domain_state[PLAT_MAX_PWR_LVL] = PLAT_MAX_RET_STATE; in imx_get_sys_suspend_power_state()
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/css/common/
Dcss_pm.c42 #if PLAT_MAX_PWR_LVL > ARM_PWR_LVL1
55 CASSERT(PLAT_MAX_PWR_LVL >= ARM_PWR_LVL1,
62 CASSERT(PLAT_MAX_PWR_LVL <= CSS_SYSTEM_PWR_DMN_LVL,
279 assert(PLAT_MAX_PWR_LVL == CSS_SYSTEM_PWR_DMN_LVL); in css_get_sys_suspend_power_state()
281 for (i = ARM_PWR_LVL0; i <= PLAT_MAX_PWR_LVL; i++) in css_get_sys_suspend_power_state()
310 #if (PLAT_MAX_PWR_LVL == CSS_SYSTEM_PWR_DMN_LVL) in css_validate_power_state()
376 psci_pwrdown_cpu(PLAT_MAX_PWR_LVL); in css_reboot_interrupt_handler()
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/common/
Darm_pm.c33 if (pwr_lvl > PLAT_MAX_PWR_LVL) in arm_validate_power_state()
99 for (i = ARM_PWR_LVL0; i <= PLAT_MAX_PWR_LVL; i++) { in arm_validate_power_state()
149 assert(PLAT_MAX_PWR_LVL >= ARM_PWR_LVL2); in arm_system_pwr_domain_save()
178 assert(PLAT_MAX_PWR_LVL >= ARM_PWR_LVL2); in arm_system_pwr_domain_resume()
/trusted-firmware-a-3.6.0-3.5.0/plat/rockchip/common/
Dplat_pm.c26 ((state)->pwr_domain_state[PLAT_MAX_PWR_LVL])
141 if (pwr_lvl > PLAT_MAX_PWR_LVL) in rockchip_validate_power_state()
160 for (i = (pwr_lvl + 1); i <= PLAT_MAX_PWR_LVL; i++) in rockchip_validate_power_state()
176 for (i = MPIDR_AFFLVL0; i <= PLAT_MAX_PWR_LVL; i++) in rockchip_get_sys_suspend_power_state()
231 for (lvl = MPIDR_AFFLVL1; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in rockchip_pwr_domain_off()
267 for (lvl = MPIDR_AFFLVL1; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in rockchip_pwr_domain_suspend()
288 for (lvl = MPIDR_AFFLVL1; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in rockchip_pwr_domain_on_finish()
332 for (lvl = MPIDR_AFFLVL1; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in rockchip_pwr_domain_suspend_finish()
/trusted-firmware-a-3.6.0-3.5.0/plat/intel/soc/common/
Dsocfpga_psci.c68 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in socfpga_pwr_domain_off()
84 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in socfpga_pwr_domain_suspend()
100 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in socfpga_pwr_domain_on_finish()
123 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in socfpga_pwr_domain_suspend_finish()
/trusted-firmware-a-3.6.0-3.5.0/services/spd/tlkd/
Dtlkd_pm.c50 if ((cpu != 0) || (suspend_level != PLAT_MAX_PWR_LVL)) in cpu_suspend_handler()
83 if ((cpu != 0) || (suspend_level != PLAT_MAX_PWR_LVL)) in cpu_resume_handler()
/trusted-firmware-a-3.6.0-3.5.0/plat/mediatek/mt8173/
Dplat_pm.c39 #define MTK_SYSTEM_PWR_STATE(state) ((PLAT_MAX_PWR_LVL > MTK_PWR_LVL1) ?\
59 #if PLAT_MAX_PWR_LVL > MTK_PWR_LVL1
378 if ((PLAT_MAX_PWR_LVL > MTK_PWR_LVL1) && in plat_power_domain_on_finish()
387 if ((PLAT_MAX_PWR_LVL > MTK_PWR_LVL1) && in plat_power_domain_on_finish()
436 assert(PLAT_MAX_PWR_LVL >= 2); in plat_get_sys_suspend_power_state()
438 for (int i = MPIDR_AFFLVL0; i <= PLAT_MAX_PWR_LVL; i++) in plat_get_sys_suspend_power_state()
478 if (pwr_lvl > PLAT_MAX_PWR_LVL) in plat_validate_power_state()
548 assert(PLAT_MAX_PWR_LVL >= MTK_PWR_LVL2); in mtk_system_pwr_domain_resume()
/trusted-firmware-a-3.6.0-3.5.0/plat/xilinx/zynqmp/
Dplat_psci.c67 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) { in zynqmp_pwr_domain_off()
92 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in zynqmp_pwr_domain_suspend()
111 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) { in zynqmp_pwr_domain_on_finish()
124 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) { in zynqmp_pwr_domain_suspend_finish()
/trusted-firmware-a-3.6.0-3.5.0/plat/xilinx/versal_net/
Dplat_psci_pm.c62 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) { in versal_net_pwr_domain_off()
109 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) { in versal_net_pwr_domain_suspend()
152 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in versal_net_pwr_domain_suspend_finish()
226 for (i = MPIDR_AFFLVL0; i <= PLAT_MAX_PWR_LVL; i++) in versal_net_get_sys_suspend_power_state()
/trusted-firmware-a-3.6.0-3.5.0/plat/imx/imx8m/imx8mq/
Dimx8mq_psci.c28 if (pwr_lvl > PLAT_MAX_PWR_LVL) in imx_validate_power_state()
125 for (i = IMX_PWR_LVL0; i < PLAT_MAX_PWR_LVL; i++) in imx_get_sys_suspend_power_state()
128 req_state->pwr_domain_state[PLAT_MAX_PWR_LVL] = PLAT_MAX_RET_STATE; in imx_get_sys_suspend_power_state()
/trusted-firmware-a-3.6.0-3.5.0/plat/nvidia/tegra/common/
Dtegra_pm.c40 for (uint32_t i = MPIDR_AFFLVL0; i <= PLAT_MAX_PWR_LVL; i++) { in tegra_get_sys_suspend_power_state()
148 if (target_state->pwr_domain_state[PLAT_MAX_PWR_LVL] == in tegra_pwr_domain_power_down_wfi()
171 if (target_state->pwr_domain_state[PLAT_MAX_PWR_LVL] == in tegra_pwr_domain_on_finish()
/trusted-firmware-a-3.6.0-3.5.0/plat/xilinx/versal/
Dplat_psci.c57 for (size_t i = 0U; i <= PLAT_MAX_PWR_LVL; i++) { in versal_pwr_domain_suspend()
94 for (size_t i = 0U; i <= PLAT_MAX_PWR_LVL; i++) { in versal_pwr_domain_suspend_finish()
162 for (size_t i = 0U; i <= PLAT_MAX_PWR_LVL; i++) { in versal_pwr_domain_off()
/trusted-firmware-a-3.6.0-3.5.0/plat/allwinner/common/
Dsunxi_scpi_pm.c138 if (power_level > PLAT_MAX_PWR_LVL) { in sunxi_validate_power_state()
155 for (; i <= PLAT_MAX_PWR_LVL; ++i) { in sunxi_validate_power_state()
166 for (unsigned int i = 0; i <= PLAT_MAX_PWR_LVL; ++i) { in sunxi_get_sys_suspend_power_state()
Dsunxi_topology.c12 static const unsigned char plat_power_domain_tree_desc[PLAT_MAX_PWR_LVL + 1] = {
/trusted-firmware-a-3.6.0-3.5.0/plat/mediatek/include/armv8_2/
Darch_def.h11 #define PLAT_MAX_PWR_LVL (2) macro
/trusted-firmware-a-3.6.0-3.5.0/plat/qti/msm8916/
Dmsm8916_topology.c12 static const unsigned char plat_power_domain_tree_desc[PLAT_MAX_PWR_LVL + 1] = {
/trusted-firmware-a-3.6.0-3.5.0/drivers/arm/css/scp/
Dcss_pm_scmi.c143 for (lvl = ARM_PWR_LVL1; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in css_scp_suspend()
189 for (; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in css_scp_off()
222 for (; lvl <= PLAT_MAX_PWR_LVL; lvl++) in css_scp_on()
253 if ((power_level > PLAT_MAX_PWR_LVL) || in css_scp_get_power_state()
342 psci_pwrdown_cpu(PLAT_MAX_PWR_LVL); in css_scp_system_off()
/trusted-firmware-a-3.6.0-3.5.0/plat/renesas/common/
Dplat_pm.c35 #define SYSTEM_PWR_STATE(s) ((s)->pwr_domain_state[PLAT_MAX_PWR_LVL])
283 for (i = MPIDR_AFFLVL0; i <= PLAT_MAX_PWR_LVL; i++) in rcar_get_sys_suspend_power_state()
289 req_state->pwr_domain_state[PLAT_MAX_PWR_LVL] = PSCI_LOCAL_STATE_RUN; in rcar_get_sys_suspend_power_state()
290 for (i = MPIDR_AFFLVL0; i < PLAT_MAX_PWR_LVL; i++) in rcar_get_sys_suspend_power_state()
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/rde1edge/include/
Dplatform_def.h25 #define PLAT_MAX_PWR_LVL ARM_PWR_LVL2 macro
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/sgi575/include/
Dplatform_def.h28 #define PLAT_MAX_PWR_LVL ARM_PWR_LVL1 macro

12345