Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/arm-trusted-firmware/lib/psci/
Dpsci_setup.c86 unsigned int nodes_idx[PLAT_MAX_PWR_LVL] = {0}; in psci_update_pwrlvl_limits()
87 unsigned int temp_index[PLAT_MAX_PWR_LVL], cpu_idx; in psci_update_pwrlvl_limits()
91 PLAT_MAX_PWR_LVL, in psci_update_pwrlvl_limits()
93 for (j = PLAT_MAX_PWR_LVL - 1; j >= 0; j--) { in psci_update_pwrlvl_limits()
114 int level = PLAT_MAX_PWR_LVL; in populate_power_domain_tree()
214 psci_set_pwr_domains_to_run(PLAT_MAX_PWR_LVL); in psci_setup()
Dpsci_common.c42 psci_req_local_pwr_states[PLAT_MAX_PWR_LVL][PLATFORM_CORE_COUNT];
71 CASSERT(PLAT_MAX_PWR_LVL <= PSCI_MAX_PWR_LVL && \
72 PLAT_MAX_PWR_LVL >= PSCI_CPU_PWR_LVL, \
184 pwrlvl = PLAT_MAX_PWR_LVL; in get_power_on_target_pwrlvl()
300 for (; lvl <= PLAT_MAX_PWR_LVL; lvl++) in psci_get_target_local_pwr_states()
404 assert(end_pwrlvl <= PLAT_MAX_PWR_LVL); in psci_do_state_coordination()
525 for (i = PLAT_MAX_PWR_LVL; i >= PSCI_CPU_PWR_LVL; i--) { in psci_find_max_off_lvl()
541 for (i = PLAT_MAX_PWR_LVL; i >= PSCI_CPU_PWR_LVL; i--) { in psci_find_target_suspend_lvl()
575 unsigned int parent_idx, parent_nodes[PLAT_MAX_PWR_LVL] = {0}; in psci_release_pwr_domain_locks()
984 psci_get_target_local_pwr_states(PLAT_MAX_PWR_LVL, &state_info); in psci_get_max_phys_off_afflvl()
Dpsci_main.c170 assert(psci_find_target_suspend_lvl(&state_info) == PLAT_MAX_PWR_LVL); in psci_system_suspend()
173 assert(is_local_state_off(state_info.pwr_domain_state[PLAT_MAX_PWR_LVL])); in psci_system_suspend()
181 PLAT_MAX_PWR_LVL, in psci_system_suspend()
191 unsigned int target_pwrlvl = PLAT_MAX_PWR_LVL; in psci_cpu_off()
290 if (power_level > PLAT_MAX_PWR_LVL) in psci_node_hw_state()
Dpsci_stat.c77 assert(end_pwrlvl <= PLAT_MAX_PWR_LVL); in psci_stats_update_pwr_down()
112 assert(end_pwrlvl <= PLAT_MAX_PWR_LVL); in psci_stats_update_pwr_up()
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/
Dplat_pm.c23 ((state)->pwr_domain_state[PLAT_MAX_PWR_LVL])
138 if (pwr_lvl > PLAT_MAX_PWR_LVL) in rockchip_validate_power_state()
157 for (i = (pwr_lvl + 1); i <= PLAT_MAX_PWR_LVL; i++) in rockchip_validate_power_state()
173 for (i = MPIDR_AFFLVL0; i <= PLAT_MAX_PWR_LVL; i++) in rockchip_get_sys_suspend_power_state()
228 for (lvl = MPIDR_AFFLVL1; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in rockchip_pwr_domain_off()
264 for (lvl = MPIDR_AFFLVL1; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in rockchip_pwr_domain_suspend()
285 for (lvl = MPIDR_AFFLVL1; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in rockchip_pwr_domain_on_finish()
329 for (lvl = MPIDR_AFFLVL1; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in rockchip_pwr_domain_suspend_finish()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/common/
Dcss_pm.c38 #if PLAT_MAX_PWR_LVL > ARM_PWR_LVL1
51 CASSERT(PLAT_MAX_PWR_LVL >= ARM_PWR_LVL1,
58 CASSERT(PLAT_MAX_PWR_LVL <= CSS_SYSTEM_PWR_DMN_LVL,
241 assert(PLAT_MAX_PWR_LVL == CSS_SYSTEM_PWR_DMN_LVL); in css_get_sys_suspend_power_state()
243 for (i = ARM_PWR_LVL0; i <= PLAT_MAX_PWR_LVL; i++) in css_get_sys_suspend_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/xilinx/zynqmp/
Dplat_psci.c93 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in zynqmp_nopmu_pwr_domain_off()
111 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in zynqmp_pwr_domain_off()
134 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in zynqmp_nopmu_pwr_domain_suspend()
162 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in zynqmp_pwr_domain_suspend()
181 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in zynqmp_pwr_domain_on_finish()
194 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in zynqmp_nopmu_pwr_domain_suspend_finish()
212 for (size_t i = 0; i <= PLAT_MAX_PWR_LVL; i++) in zynqmp_pwr_domain_suspend_finish()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t132/
Dplat_psci_handlers.c52 for (uint32_t i = MPIDR_AFFLVL0; i < PLAT_MAX_PWR_LVL; i++) in tegra_soc_validate_power_state()
56 req_state->pwr_domain_state[PLAT_MAX_PWR_LVL] = in tegra_soc_validate_power_state()
128 write_actlr_el1(target_state->pwr_domain_state[PLAT_MAX_PWR_LVL]); in tegra_soc_pwr_domain_suspend()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/
Darm_pm.c42 if (pwr_lvl > PLAT_MAX_PWR_LVL) in arm_validate_power_state()
150 assert(PLAT_MAX_PWR_LVL >= ARM_PWR_LVL2); in arm_system_pwr_domain_save()
173 assert(PLAT_MAX_PWR_LVL >= ARM_PWR_LVL2); in arm_system_pwr_domain_resume()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_pm.c116 for (uint32_t i = MPIDR_AFFLVL0; i <= PLAT_MAX_PWR_LVL; i++) in tegra_get_sys_suspend_power_state()
171 if (target_state->pwr_domain_state[PLAT_MAX_PWR_LVL] == in tegra_pwr_domain_suspend()
186 uint8_t pwr_state = target_state->pwr_domain_state[PLAT_MAX_PWR_LVL]; in tegra_pwr_domain_power_down_wfi()
231 if (target_state->pwr_domain_state[PLAT_MAX_PWR_LVL] == in tegra_pwr_domain_on_finish()
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tlkd/
Dtlkd_pm.c48 if ((cpu != 0) || (suspend_level != PLAT_MAX_PWR_LVL)) in cpu_suspend_handler()
81 if ((cpu != 0) || (suspend_level != PLAT_MAX_PWR_LVL)) in cpu_resume_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t210/
Dplat_psci_handlers.c63 for (uint32_t i = MPIDR_AFFLVL0; i < PLAT_MAX_PWR_LVL; i++) in tegra_soc_validate_power_state()
66 req_state->pwr_domain_state[PLAT_MAX_PWR_LVL] = in tegra_soc_validate_power_state()
165 if (target_state->pwr_domain_state[PLAT_MAX_PWR_LVL] == in tegra_soc_pwr_domain_on_finish()
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/
Dplat_pm.c37 #define MTK_SYSTEM_PWR_STATE(state) ((PLAT_MAX_PWR_LVL > MTK_PWR_LVL1) ?\
58 #if PLAT_MAX_PWR_LVL > MTK_PWR_LVL1
559 if ((PLAT_MAX_PWR_LVL > MTK_PWR_LVL1) && in plat_power_domain_on_finish()
568 if ((PLAT_MAX_PWR_LVL > MTK_PWR_LVL1) && in plat_power_domain_on_finish()
656 assert(PLAT_MAX_PWR_LVL >= 2); in plat_get_sys_suspend_power_state()
658 for (int i = MPIDR_AFFLVL0; i <= PLAT_MAX_PWR_LVL; i++) in plat_get_sys_suspend_power_state()
704 if (pwr_lvl > PLAT_MAX_PWR_LVL) in plat_validate_power_state()
774 assert(PLAT_MAX_PWR_LVL >= MTK_PWR_LVL2); in mtk_system_pwr_domain_resume()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scp/
Dcss_pm_scmi.c119 for (lvl = ARM_PWR_LVL1; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in css_scp_suspend()
163 for (; lvl <= PLAT_MAX_PWR_LVL; lvl++) { in css_scp_off()
195 for (; lvl <= PLAT_MAX_PWR_LVL; lvl++) in css_scp_on()
225 if ((power_level > PLAT_MAX_PWR_LVL) || in css_scp_get_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/
Dhikey_pm.c27 ((state)->pwr_domain_state[PLAT_MAX_PWR_LVL])
166 for (i = MPIDR_AFFLVL0; i <= PLAT_MAX_PWR_LVL; i++) in hikey_get_sys_suspend_power_state()
222 if (pwr_lvl > PLAT_MAX_PWR_LVL) in hikey_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_pm.c27 ((state)->pwr_domain_state[PLAT_MAX_PWR_LVL])
133 if (pwr_lvl > PLAT_MAX_PWR_LVL) in hikey960_validate_power_state()
279 for (i = MPIDR_AFFLVL0; i <= PLAT_MAX_PWR_LVL; i++) in hikey960_get_sys_suspend_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/include/
Dplatform_def.h26 #define PLAT_MAX_PWR_LVL MPIDR_AFFLVL2 macro
/device/linaro/bootloader/arm-trusted-firmware/include/plat/arm/css/common/
Dcss_pm.h21 ((PLAT_MAX_PWR_LVL == CSS_SYSTEM_PWR_DMN_LVL) ?\
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/
Dplat_psci_handlers.c99 stateid_afflvl2 = pwr_domain_state[PLAT_MAX_PWR_LVL] & in tegra_soc_pwr_domain_suspend()
237 unsigned int stateid_afflvl2 = pwr_domain_state[PLAT_MAX_PWR_LVL] & in tegra_soc_pwr_domain_power_down_wfi()
278 int stateid_afflvl2 = target_state->pwr_domain_state[PLAT_MAX_PWR_LVL]; in tegra_soc_pwr_domain_on_finish()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/psci/
Dpsci_compat.h18 #define PLAT_MAX_PWR_LVL PLATFORM_MAX_AFFLVL macro
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/include/
Dplatform_def.h25 #define PLAT_MAX_PWR_LVL 1 macro
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/include/
Dplatform_def.h54 #define PLAT_MAX_PWR_LVL MPIDR_AFFLVL2 macro
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3328/include/
Dplatform_def.h53 #define PLAT_MAX_PWR_LVL MPIDR_AFFLVL2 macro
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3368/include/
Dplatform_def.h55 #define PLAT_MAX_PWR_LVL MPIDR_AFFLVL2 macro
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey960/include/
Dplatform_def.h30 #define PLAT_MAX_PWR_LVL MPIDR_AFFLVL2 macro

12