/external/arm-trusted-firmware/plat/xilinx/zynqmp/ |
D | plat_psci.c | 59 __func__, i, target_state->pwr_domain_state[i]); in zynqmp_pwr_domain_off() 83 __func__, i, target_state->pwr_domain_state[i]); in zynqmp_pwr_domain_suspend() 85 state = target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE ? in zynqmp_pwr_domain_suspend() 92 if (target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE) { in zynqmp_pwr_domain_suspend() 102 __func__, i, target_state->pwr_domain_state[i]); in zynqmp_pwr_domain_on_finish() 114 __func__, i, target_state->pwr_domain_state[i]); in zynqmp_pwr_domain_suspend_finish() 122 if (target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE) { in zynqmp_pwr_domain_suspend_finish() 171 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_RET_STATE; in zynqmp_validate_power_state() 173 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_OFF_STATE; in zynqmp_validate_power_state() 192 req_state->pwr_domain_state[PSCI_CPU_PWR_LVL] = PLAT_MAX_OFF_STATE; in zynqmp_get_sys_suspend_power_state() [all …]
|
/external/arm-trusted-firmware/plat/arm/board/fvp/ |
D | fvp_pm.c | 89 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_power_domain_on_finish_common() 96 if (target_state->pwr_domain_state[ARM_PWR_LVL1] == in fvp_power_domain_on_finish_common() 113 if (target_state->pwr_domain_state[ARM_PWR_LVL2] == in fvp_power_domain_on_finish_common() 169 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_off() 187 if (target_state->pwr_domain_state[ARM_PWR_LVL1] == in fvp_pwr_domain_off() 205 if (target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_suspend() 209 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_suspend() 228 if (target_state->pwr_domain_state[ARM_PWR_LVL1] == in fvp_pwr_domain_suspend() 233 if (target_state->pwr_domain_state[ARM_PWR_LVL2] == in fvp_pwr_domain_suspend() 278 if (target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_suspend_finish() [all …]
|
/external/arm-trusted-firmware/plat/xilinx/versal/ |
D | plat_psci.c | 58 __func__, i, target_state->pwr_domain_state[i]); in versal_pwr_domain_suspend() 64 state = target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE ? in versal_pwr_domain_suspend() 71 if (target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE) { in versal_pwr_domain_suspend() 91 __func__, i, target_state->pwr_domain_state[i]); in versal_pwr_domain_suspend_finish() 100 if (target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE) { in versal_pwr_domain_suspend_finish() 158 __func__, i, target_state->pwr_domain_state[i]); in versal_pwr_domain_off() 194 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_RET_STATE; in versal_validate_power_state() 196 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_OFF_STATE; in versal_validate_power_state() 212 req_state->pwr_domain_state[PSCI_CPU_PWR_LVL] = PLAT_MAX_OFF_STATE; in versal_get_sys_suspend_power_state() 213 req_state->pwr_domain_state[1] = PLAT_MAX_OFF_STATE; in versal_get_sys_suspend_power_state()
|
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t210/ |
D | plat_psci_handlers.c | 54 req_state->pwr_domain_state[MPIDR_AFFLVL0] = state_id & 0xff; in tegra_soc_validate_power_state() 63 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PSTATE_ID_CORE_POWERDN; in tegra_soc_validate_power_state() 64 req_state->pwr_domain_state[MPIDR_AFFLVL1] = state_id; in tegra_soc_validate_power_state() 81 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in tegra_soc_validate_power_state() 83 req_state->pwr_domain_state[PLAT_MAX_PWR_LVL] = in tegra_soc_validate_power_state() 190 const plat_local_state_t *pwr_domain_state = in tegra_soc_pwr_domain_suspend() local 191 target_state->pwr_domain_state; in tegra_soc_pwr_domain_suspend() 192 unsigned int stateid_afflvl2 = pwr_domain_state[MPIDR_AFFLVL2]; in tegra_soc_pwr_domain_suspend() 193 unsigned int stateid_afflvl1 = pwr_domain_state[MPIDR_AFFLVL1]; in tegra_soc_pwr_domain_suspend() 194 unsigned int stateid_afflvl0 = pwr_domain_state[MPIDR_AFFLVL0]; in tegra_soc_pwr_domain_suspend() [all …]
|
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t194/ |
D | plat_psci_handlers.c | 82 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_RET_STATE; in tegra_soc_validate_power_state() 83 req_state->pwr_domain_state[MPIDR_AFFLVL1] = PSCI_LOCAL_STATE_RUN; in tegra_soc_validate_power_state() 89 req_state->pwr_domain_state[MPIDR_AFFLVL0] = state_id; in tegra_soc_validate_power_state() 90 req_state->pwr_domain_state[MPIDR_AFFLVL1] = state_id; in tegra_soc_validate_power_state() 124 const plat_local_state_t *pwr_domain_state; in tegra_soc_pwr_domain_suspend() local 140 pwr_domain_state = target_state->pwr_domain_state; in tegra_soc_pwr_domain_suspend() 141 stateid_afflvl0 = pwr_domain_state[MPIDR_AFFLVL0] & in tegra_soc_pwr_domain_suspend() 143 stateid_afflvl2 = pwr_domain_state[PLAT_MAX_PWR_LVL] & in tegra_soc_pwr_domain_suspend() 298 const plat_local_state_t *pwr_domain_state = in tegra_soc_pwr_domain_power_down_wfi() local 299 target_state->pwr_domain_state; in tegra_soc_pwr_domain_power_down_wfi() [all …]
|
/external/arm-trusted-firmware/plat/rockchip/common/ |
D | plat_pm.c | 22 ((state)->pwr_domain_state[MPIDR_AFFLVL0]) 24 ((state)->pwr_domain_state[MPIDR_AFFLVL1]) 26 ((state)->pwr_domain_state[PLAT_MAX_PWR_LVL]) 153 req_state->pwr_domain_state[MPIDR_AFFLVL0] = in rockchip_validate_power_state() 157 req_state->pwr_domain_state[i] = in rockchip_validate_power_state() 161 req_state->pwr_domain_state[i] = in rockchip_validate_power_state() 177 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in rockchip_get_sys_suspend_power_state() 232 lvl_state = target_state->pwr_domain_state[lvl]; in rockchip_pwr_domain_off() 268 lvl_state = target_state->pwr_domain_state[lvl]; in rockchip_pwr_domain_suspend() 289 lvl_state = target_state->pwr_domain_state[lvl]; in rockchip_pwr_domain_on_finish() [all …]
|
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/ |
D | plat_psci_handlers.c | 72 req_state->pwr_domain_state[MPIDR_AFFLVL0] = state_id; in tegra_soc_validate_power_state() 73 req_state->pwr_domain_state[MPIDR_AFFLVL1] = state_id; in tegra_soc_validate_power_state() 88 const plat_local_state_t *pwr_domain_state; in tegra_soc_pwr_domain_suspend() local 97 pwr_domain_state = target_state->pwr_domain_state; in tegra_soc_pwr_domain_suspend() 98 stateid_afflvl0 = pwr_domain_state[MPIDR_AFFLVL0] & in tegra_soc_pwr_domain_suspend() 100 stateid_afflvl2 = pwr_domain_state[PLAT_MAX_PWR_LVL] & in tegra_soc_pwr_domain_suspend() 270 const plat_local_state_t *pwr_domain_state = in tegra_soc_pwr_domain_power_down_wfi() local 271 target_state->pwr_domain_state; in tegra_soc_pwr_domain_power_down_wfi() 273 uint8_t stateid_afflvl2 = pwr_domain_state[PLAT_MAX_PWR_LVL] & in tegra_soc_pwr_domain_power_down_wfi() 316 uint8_t stateid_afflvl2 = target_state->pwr_domain_state[PLAT_MAX_PWR_LVL]; in tegra_soc_pwr_domain_on_finish() [all …]
|
/external/arm-trusted-firmware/plat/imx/common/ |
D | imx8_psci.c | 43 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_OFF_STATE; in imx_validate_power_state() 45 req_state->pwr_domain_state[MPIDR_AFFLVL1] = PLAT_MAX_RET_STATE; in imx_validate_power_state() 47 req_state->pwr_domain_state[MPIDR_AFFLVL1] = PLAT_MAX_OFF_STATE; in imx_validate_power_state() 59 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; 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()
|
/external/arm-trusted-firmware/plat/mediatek/mt8173/ |
D | plat_pm.c | 36 #define MTK_CORE_PWR_STATE(state) (state)->pwr_domain_state[MTK_PWR_LVL0] 37 #define MTK_CLUSTER_PWR_STATE(state) (state)->pwr_domain_state[MTK_PWR_LVL1] 39 (state)->pwr_domain_state[MTK_PWR_LVL2] : 0) 374 assert(state->pwr_domain_state[MPIDR_AFFLVL0] == MTK_LOCAL_STATE_OFF); in plat_power_domain_on_finish() 377 (state->pwr_domain_state[MTK_PWR_LVL2] == MTK_LOCAL_STATE_OFF)) in plat_power_domain_on_finish() 380 if (state->pwr_domain_state[MPIDR_AFFLVL1] == MTK_LOCAL_STATE_OFF) { in plat_power_domain_on_finish() 386 (state->pwr_domain_state[MTK_PWR_LVL2] == MTK_LOCAL_STATE_OFF)) in plat_power_domain_on_finish() 404 if (state->pwr_domain_state[MTK_PWR_LVL0] == MTK_LOCAL_STATE_RET) in plat_power_domain_suspend_finish() 436 req_state->pwr_domain_state[i] = MTK_LOCAL_STATE_OFF; in plat_get_sys_suspend_power_state() 491 req_state->pwr_domain_state[MTK_PWR_LVL0] = in plat_validate_power_state() [all …]
|
/external/arm-trusted-firmware/plat/intel/soc/common/ |
D | socfpga_psci.c | 62 __func__, i, target_state->pwr_domain_state[i]); in socfpga_pwr_domain_off() 78 __func__, i, target_state->pwr_domain_state[i]); in socfpga_pwr_domain_suspend() 94 __func__, i, target_state->pwr_domain_state[i]); in socfpga_pwr_domain_on_finish() 117 __func__, i, target_state->pwr_domain_state[i]); in socfpga_pwr_domain_suspend_finish() 182 req_state->pwr_domain_state[PSCI_CPU_PWR_LVL] = PLAT_MAX_OFF_STATE; in socfpga_get_sys_suspend_power_state() 183 req_state->pwr_domain_state[1] = PLAT_MAX_OFF_STATE; in socfpga_get_sys_suspend_power_state()
|
/external/arm-trusted-firmware/plat/renesas/rcar/ |
D | plat_pm.c | 34 #define SYSTEM_PWR_STATE(s) ((s)->pwr_domain_state[PLAT_MAX_PWR_LVL]) 35 #define CLUSTER_PWR_STATE(s) ((s)->pwr_domain_state[MPIDR_AFFLVL1]) 36 #define CORE_PWR_STATE(s) ((s)->pwr_domain_state[MPIDR_AFFLVL0]) 251 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_RET_STATE; in rcar_validate_power_state() 254 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in rcar_validate_power_state() 273 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in rcar_get_sys_suspend_power_state() 278 req_state->pwr_domain_state[PLAT_MAX_PWR_LVL] = PSCI_LOCAL_STATE_RUN; in rcar_get_sys_suspend_power_state() 280 req_state->pwr_domain_state[i] = PLAT_MAX_RET_STATE; in rcar_get_sys_suspend_power_state()
|
/external/arm-trusted-firmware/plat/mediatek/mt8183/ |
D | plat_pm.c | 81 #define MTK_CORE_PWR_STATE(state) (state)->pwr_domain_state[MTK_PWR_LVL0] 82 #define MTK_CLUSTER_PWR_STATE(state) (state)->pwr_domain_state[MTK_PWR_LVL1] 84 (state)->pwr_domain_state[MTK_PWR_LVL2] : 0) 331 const plat_local_state_t *pds = state->pwr_domain_state; in plat_mtk_power_domain_off() 350 const plat_local_state_t *pds = state->pwr_domain_state; in plat_mtk_power_domain_on_finish() 366 const plat_local_state_t *pds = state->pwr_domain_state; in plat_mtk_power_domain_suspend() 406 const plat_local_state_t *pds = state->pwr_domain_state; in plat_mtk_power_domain_suspend_finish() 471 req_state->pwr_domain_state[i++] = state_id & in plat_mtk_validate_power_state() 502 req_state->pwr_domain_state[MTK_PWR_LVL0] = MTK_LOCAL_STATE_RET; in plat_mtk_validate_power_state() 507 req_state->pwr_domain_state[i] = MTK_LOCAL_STATE_OFF; in plat_mtk_validate_power_state() [all …]
|
/external/arm-trusted-firmware/plat/hisilicon/hikey/ |
D | hikey_pm.c | 24 ((state)->pwr_domain_state[MPIDR_AFFLVL0]) 26 ((state)->pwr_domain_state[MPIDR_AFFLVL1]) 28 ((state)->pwr_domain_state[PLAT_MAX_PWR_LVL]) 168 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in hikey_get_sys_suspend_power_state() 235 req_state->pwr_domain_state[MPIDR_AFFLVL0] = in hikey_validate_power_state() 239 req_state->pwr_domain_state[i] = in hikey_validate_power_state()
|
/external/arm-trusted-firmware/plat/imx/imx8m/include/ |
D | imx8m_psci.h | 10 #define CORE_PWR_STATE(state) ((state)->pwr_domain_state[MPIDR_AFFLVL0]) 11 #define CLUSTER_PWR_STATE(state) ((state)->pwr_domain_state[MPIDR_AFFLVL1]) 12 #define SYSTEM_PWR_STATE(state) ((state)->pwr_domain_state[PLAT_MAX_PWR_LVL])
|
/external/arm-trusted-firmware/plat/imx/imx8qx/ |
D | imx8qx_psci.c | 116 if (is_local_state_off(target_state->pwr_domain_state[MPIDR_AFFLVL0])) { in imx_domain_suspend() 127 if (is_local_state_off(target_state->pwr_domain_state[MPIDR_AFFLVL1])) in imx_domain_suspend() 130 if (is_local_state_retn(target_state->pwr_domain_state[PLAT_MAX_PWR_LVL])) { in imx_domain_suspend() 169 if (is_local_state_retn(target_state->pwr_domain_state[PLAT_MAX_PWR_LVL])) { in imx_domain_suspend_finish() 203 if (is_local_state_off(target_state->pwr_domain_state[MPIDR_AFFLVL1])) in imx_domain_suspend_finish() 206 if (is_local_state_off(target_state->pwr_domain_state[MPIDR_AFFLVL0])) { in imx_domain_suspend_finish()
|
/external/arm-trusted-firmware/plat/hisilicon/hikey960/ |
D | hikey960_pm.c | 26 ((state)->pwr_domain_state[MPIDR_AFFLVL0]) 28 ((state)->pwr_domain_state[MPIDR_AFFLVL1]) 30 ((state)->pwr_domain_state[PLAT_MAX_PWR_LVL]) 151 req_state->pwr_domain_state[MPIDR_AFFLVL0] = in hikey960_validate_power_state() 155 req_state->pwr_domain_state[i] = in hikey960_validate_power_state() 286 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in hikey960_get_sys_suspend_power_state()
|
/external/arm-trusted-firmware/include/plat/arm/css/common/ |
D | css_pm.h | 16 #define CSS_CORE_PWR_STATE(state) (state)->pwr_domain_state[ARM_PWR_LVL0] 17 #define CSS_CLUSTER_PWR_STATE(state) (state)->pwr_domain_state[ARM_PWR_LVL1] 22 return state->pwr_domain_state[CSS_SYSTEM_PWR_DMN_LVL]; in css_system_pwr_state()
|
/external/arm-trusted-firmware/lib/psci/ |
D | psci_common.c | 308 plat_local_state_t *pd_state = target_state->pwr_domain_state; in psci_get_target_local_pwr_states() 321 target_state->pwr_domain_state[lvl] = PSCI_LOCAL_STATE_RUN; in psci_get_target_local_pwr_states() 334 const plat_local_state_t *pd_state = target_state->pwr_domain_state; in psci_set_target_local_pwr_states() 436 state_info->pwr_domain_state[lvl]); in psci_do_state_coordination() 451 state_info->pwr_domain_state[lvl] = target_state; in psci_do_state_coordination() 454 if (is_local_state_run(state_info->pwr_domain_state[lvl]) != 0) in psci_do_state_coordination() 468 state_info->pwr_domain_state[lvl]); in psci_do_state_coordination() 469 state_info->pwr_domain_state[lvl] = PSCI_LOCAL_STATE_RUN; in psci_do_state_coordination() 505 state = state_info->pwr_domain_state[i]; in psci_validate_suspend_req() 550 if (is_local_state_off(state_info->pwr_domain_state[i]) != 0) in psci_find_max_off_lvl() [all …]
|
D | psci_stat.c | 90 if (is_local_state_run(state_info->pwr_domain_state[lvl]) != 0) in psci_stats_update_pwr_down() 122 local_state = state_info->pwr_domain_state[PSCI_CPU_PWR_LVL]; in psci_stats_update_pwr_up() 143 local_state = state_info->pwr_domain_state[lvl]; in psci_stats_update_pwr_up() 207 local_state = state_info.pwr_domain_state[pwrlvl]; in psci_get_stat()
|
/external/arm-trusted-firmware/drivers/arm/css/scp/ |
D | css_pm_scmi.c | 85 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in css_scp_suspend() 115 if (target_state->pwr_domain_state[lvl] == ARM_LOCAL_STATE_RUN) in css_scp_suspend() 118 assert(target_state->pwr_domain_state[lvl] == in css_scp_suspend() 153 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in css_scp_off() 160 if (target_state->pwr_domain_state[lvl] == ARM_LOCAL_STATE_RUN) in css_scp_off() 163 assert(target_state->pwr_domain_state[lvl] == in css_scp_off()
|
/external/arm-trusted-firmware/plat/hisilicon/poplar/ |
D | plat_pm.c | 76 assert(target_state->pwr_domain_state[MPIDR_AFFLVL0] == in poplar_pwr_domain_on_finish() 120 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_RET_STATE; in poplar_validate_power_state() 122 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_OFF_STATE; in poplar_validate_power_state() 148 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in poplar_get_sys_suspend_power_state()
|
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t132/ |
D | plat_psci_handlers.c | 56 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in tegra_soc_validate_power_state() 59 req_state->pwr_domain_state[PLAT_MAX_PWR_LVL] = in tegra_soc_validate_power_state() 137 write_actlr_el1(val | target_state->pwr_domain_state[PLAT_MAX_PWR_LVL]); in tegra_soc_pwr_domain_suspend()
|
/external/arm-trusted-firmware/plat/arm/common/ |
D | arm_pm.c | 46 req_state->pwr_domain_state[ARM_PWR_LVL0] = in arm_validate_power_state() 50 req_state->pwr_domain_state[i] = in arm_validate_power_state() 96 req_state->pwr_domain_state[i++] = state_id & in arm_validate_power_state()
|
/external/arm-trusted-firmware/plat/socionext/synquacer/include/ |
D | platform_def.h | 24 #define SQ_CORE_PWR_STATE(state) (state)->pwr_domain_state[SQ_PWR_LVL0] 25 #define SQ_CLUSTER_PWR_STATE(state) (state)->pwr_domain_state[SQ_PWR_LVL1] 27 (state)->pwr_domain_state[SQ_PWR_LVL2] : 0)
|
/external/arm-trusted-firmware/plat/socionext/synquacer/drivers/scp/ |
D | sq_scmi.c | 106 assert(target_state->pwr_domain_state[SQ_PWR_LVL0] == in sq_scmi_off() 110 if (target_state->pwr_domain_state[lvl] == SQ_LOCAL_STATE_RUN) in sq_scmi_off() 113 assert(target_state->pwr_domain_state[lvl] == in sq_scmi_off()
|