/external/arm-trusted-firmware/plat/arm/css/common/ |
D | css_pm.c | 73 const psci_power_state_t *target_state) in css_pwr_domain_on_finisher_common() argument 75 assert(CSS_CORE_PWR_STATE(target_state) == ARM_LOCAL_STATE_OFF); in css_pwr_domain_on_finisher_common() 81 if (CSS_CLUSTER_PWR_STATE(target_state) == ARM_LOCAL_STATE_OFF) in css_pwr_domain_on_finisher_common() 93 void css_pwr_domain_on_finish(const psci_power_state_t *target_state) in css_pwr_domain_on_finish() argument 96 assert(css_system_pwr_state(target_state) == ARM_LOCAL_STATE_RUN); in css_pwr_domain_on_finish() 98 css_pwr_domain_on_finisher_common(target_state); in css_pwr_domain_on_finish() 106 void css_pwr_domain_on_finish_late(const psci_power_state_t *target_state) in css_pwr_domain_on_finish_late() argument 121 static void css_power_down_common(const psci_power_state_t *target_state) in css_power_down_common() argument 130 if (CSS_CLUSTER_PWR_STATE(target_state) == ARM_LOCAL_STATE_OFF) { in css_power_down_common() 158 void css_pwr_domain_off(const psci_power_state_t *target_state) in css_pwr_domain_off() argument [all …]
|
/external/arm-trusted-firmware/plat/rockchip/common/ |
D | plat_pm.c | 118 const psci_power_state_t *target_state) in rockchip_soc_cores_pd_pwr_dn_wfi() argument 216 void rockchip_pwr_domain_off(const psci_power_state_t *target_state) in rockchip_pwr_domain_off() argument 222 assert(RK_CORE_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE); in rockchip_pwr_domain_off() 226 if (RK_CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_off() 232 lvl_state = target_state->pwr_domain_state[lvl]; in rockchip_pwr_domain_off() 243 void rockchip_pwr_domain_suspend(const psci_power_state_t *target_state) in rockchip_pwr_domain_suspend() argument 249 if (RK_CORE_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_suspend() 255 if (RK_SYSTEM_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_suspend() 261 if (RK_CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_suspend() 264 if (RK_SYSTEM_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_suspend() [all …]
|
/external/arm-trusted-firmware/plat/nvidia/tegra/common/ |
D | tegra_pm.c | 96 static void tegra_pwr_domain_off(const psci_power_state_t *target_state) in tegra_pwr_domain_off() argument 98 (void)tegra_soc_pwr_domain_off(target_state); in tegra_pwr_domain_off() 110 void tegra_pwr_domain_suspend_pwrdown_early(const psci_power_state_t *target_state) in tegra_pwr_domain_suspend_pwrdown_early() argument 112 tegra_soc_pwr_domain_suspend_pwrdown_early(target_state); in tegra_pwr_domain_suspend_pwrdown_early() 119 static void tegra_pwr_domain_suspend(const psci_power_state_t *target_state) in tegra_pwr_domain_suspend() argument 121 (void)tegra_soc_pwr_domain_suspend(target_state); in tegra_pwr_domain_suspend() 132 *target_state) in tegra_pwr_domain_power_down_wfi() 135 (void)tegra_soc_pwr_domain_power_down_wfi(target_state); in tegra_pwr_domain_power_down_wfi() 138 if (target_state->pwr_domain_state[PLAT_MAX_PWR_LVL] == in tegra_pwr_domain_power_down_wfi() 154 static void tegra_pwr_domain_on_finish(const psci_power_state_t *target_state) in tegra_pwr_domain_on_finish() argument [all …]
|
/external/arm-trusted-firmware/plat/arm/board/fvp/ |
D | fvp_pm.c | 102 static void fvp_power_domain_on_finish_common(const psci_power_state_t *target_state) in fvp_power_domain_on_finish_common() argument 106 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_power_domain_on_finish_common() 113 if (target_state->pwr_domain_state[ARM_PWR_LVL1] == in fvp_power_domain_on_finish_common() 130 if (target_state->pwr_domain_state[ARM_PWR_LVL2] == in fvp_power_domain_on_finish_common() 184 static void fvp_pwr_domain_off(const psci_power_state_t *target_state) in fvp_pwr_domain_off() argument 186 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_off() 204 if (target_state->pwr_domain_state[ARM_PWR_LVL1] == in fvp_pwr_domain_off() 214 static void fvp_pwr_domain_suspend(const psci_power_state_t *target_state) in fvp_pwr_domain_suspend() argument 222 if (target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_suspend() 226 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_suspend() [all …]
|
/external/arm-trusted-firmware/plat/qti/common/src/ |
D | qti_pm.c | 144 static bool is_cpu_off(const psci_power_state_t *target_state) in is_cpu_off() argument 146 if ((target_state->pwr_domain_state[QTI_PWR_LVL0] == in is_cpu_off() 148 (target_state->pwr_domain_state[QTI_PWR_LVL0] == in is_cpu_off() 156 static void qti_cpu_power_on_finish(const psci_power_state_t *target_state) in qti_cpu_power_on_finish() argument 159 (const uint8_t *)target_state->pwr_domain_state; in qti_cpu_power_on_finish() 162 if (is_cpu_off(target_state)) { in qti_cpu_power_on_finish() 171 static void qti_node_power_off(const psci_power_state_t *target_state) in qti_node_power_off() argument 174 target_state->pwr_domain_state); in qti_node_power_off() 175 if (is_cpu_off(target_state)) { in qti_node_power_off() 181 static void qti_node_suspend(const psci_power_state_t *target_state) in qti_node_suspend() argument [all …]
|
/external/arm-trusted-firmware/plat/socionext/synquacer/ |
D | sq_psci.c | 41 const psci_power_state_t *target_state) in sq_pwr_domain_on_finisher_common() argument 43 assert(SQ_CORE_PWR_STATE(target_state) == SQ_LOCAL_STATE_OFF); in sq_pwr_domain_on_finisher_common() 49 if (SQ_CLUSTER_PWR_STATE(target_state) == SQ_LOCAL_STATE_OFF) in sq_pwr_domain_on_finisher_common() 53 void sq_pwr_domain_on_finish(const psci_power_state_t *target_state) in sq_pwr_domain_on_finish() argument 56 assert(SQ_SYSTEM_PWR_STATE(target_state) == SQ_LOCAL_STATE_RUN); in sq_pwr_domain_on_finish() 58 sq_pwr_domain_on_finisher_common(target_state); in sq_pwr_domain_on_finish() 68 static void sq_power_down_common(const psci_power_state_t *target_state) in sq_power_down_common() argument 77 if (SQ_SYSTEM_PWR_STATE(target_state) == SQ_LOCAL_STATE_OFF) in sq_power_down_common() 81 if (SQ_CLUSTER_PWR_STATE(target_state) == SQ_LOCAL_STATE_OFF) { in sq_power_down_common() 97 void sq_pwr_domain_off(const psci_power_state_t *target_state) in sq_pwr_domain_off() argument [all …]
|
/external/arm-trusted-firmware/plat/imx/imx8m/ |
D | imx8m_psci_common.c | 52 void imx_pwr_domain_on_finish(const psci_power_state_t *target_state) in imx_pwr_domain_on_finish() argument 58 void imx_pwr_domain_off(const psci_power_state_t *target_state) in imx_pwr_domain_off() argument 102 void imx_domain_suspend(const psci_power_state_t *target_state) in imx_domain_suspend() argument 108 if (is_local_state_off(CORE_PWR_STATE(target_state))) { in imx_domain_suspend() 118 if (!is_local_state_run(CLUSTER_PWR_STATE(target_state))) in imx_domain_suspend() 119 imx_set_cluster_powerdown(core_id, CLUSTER_PWR_STATE(target_state)); in imx_domain_suspend() 121 if (is_local_state_off(SYSTEM_PWR_STATE(target_state))) in imx_domain_suspend() 125 void imx_domain_suspend_finish(const psci_power_state_t *target_state) in imx_domain_suspend_finish() argument 130 if (is_local_state_off(SYSTEM_PWR_STATE(target_state))) in imx_domain_suspend_finish() 133 if (!is_local_state_run(CLUSTER_PWR_STATE(target_state))) { in imx_domain_suspend_finish() [all …]
|
/external/arm-trusted-firmware/plat/hisilicon/hikey/ |
D | hikey_pm.c | 50 static void hikey_pwr_domain_on_finish(const psci_power_state_t *target_state) in hikey_pwr_domain_on_finish() argument 64 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in hikey_pwr_domain_on_finish() 76 void hikey_pwr_domain_off(const psci_power_state_t *target_state) in hikey_pwr_domain_off() argument 88 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey_pwr_domain_off() 97 static void hikey_pwr_domain_suspend(const psci_power_state_t *target_state) in hikey_pwr_domain_suspend() argument 104 if (CORE_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in hikey_pwr_domain_suspend() 107 if (CORE_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey_pwr_domain_suspend() 114 if (SYSTEM_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in hikey_pwr_domain_suspend() 119 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey_pwr_domain_suspend() 124 if (SYSTEM_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey_pwr_domain_suspend() [all …]
|
/external/arm-trusted-firmware/plat/xilinx/versal/ |
D | plat_psci.c | 50 static void versal_pwr_domain_suspend(const psci_power_state_t *target_state) in versal_pwr_domain_suspend() argument 58 __func__, i, target_state->pwr_domain_state[i]); in versal_pwr_domain_suspend() 62 if (target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE) { in versal_pwr_domain_suspend() 66 state = target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE ? in versal_pwr_domain_suspend() 73 if (target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE) { in versal_pwr_domain_suspend() 86 const psci_power_state_t *target_state) in versal_pwr_domain_suspend_finish() argument 93 __func__, i, target_state->pwr_domain_state[i]); in versal_pwr_domain_suspend_finish() 102 if (target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE) { in versal_pwr_domain_suspend_finish() 109 void versal_pwr_domain_on_finish(const psci_power_state_t *target_state) in versal_pwr_domain_on_finish() argument 151 static void versal_pwr_domain_off(const psci_power_state_t *target_state) in versal_pwr_domain_off() argument [all …]
|
/external/arm-trusted-firmware/plat/xilinx/zynqmp/ |
D | plat_psci.c | 52 static void zynqmp_pwr_domain_off(const psci_power_state_t *target_state) in zynqmp_pwr_domain_off() argument 59 __func__, i, target_state->pwr_domain_state[i]); in zynqmp_pwr_domain_off() 75 static void zynqmp_pwr_domain_suspend(const psci_power_state_t *target_state) in zynqmp_pwr_domain_suspend() argument 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() 98 static void zynqmp_pwr_domain_on_finish(const psci_power_state_t *target_state) in zynqmp_pwr_domain_on_finish() argument 102 __func__, i, target_state->pwr_domain_state[i]); in zynqmp_pwr_domain_on_finish() 107 static void zynqmp_pwr_domain_suspend_finish(const psci_power_state_t *target_state) in zynqmp_pwr_domain_suspend_finish() argument 114 __func__, i, target_state->pwr_domain_state[i]); in zynqmp_pwr_domain_suspend_finish() [all …]
|
/external/arm-trusted-firmware/plat/brcm/board/stingray/src/ |
D | brcm_pm_ops.c | 74 static void brcm_pwr_domain_on_finish(const psci_power_state_t *target_state) in brcm_pwr_domain_on_finish() argument 79 assert(SYSTEM_PWR_STATE(target_state) == PLAT_LOCAL_STATE_RUN); in brcm_pwr_domain_on_finish() 81 assert(CORE_PWR_STATE(target_state) == PLAT_LOCAL_STATE_OFF); in brcm_pwr_domain_on_finish() 87 if (CLUSTER_PWR_STATE(target_state) == PLAT_LOCAL_STATE_OFF) { in brcm_pwr_domain_on_finish() 136 static void brcm_scp_suspend(const psci_power_state_t *target_state) in brcm_scp_suspend() argument 142 if (SYSTEM_PWR_STATE(target_state) == PLAT_LOCAL_STATE_OFF) in brcm_scp_suspend() 146 if (CLUSTER_PWR_STATE(target_state) == PLAT_LOCAL_STATE_OFF) in brcm_scp_suspend() 164 static void brcm_scp_off(const psci_power_state_t *target_state) in brcm_scp_off() argument 166 brcm_scp_suspend(target_state); in brcm_scp_off() 169 static void brcm_pwr_domain_off(const psci_power_state_t *target_state) in brcm_pwr_domain_off() argument [all …]
|
/external/arm-trusted-firmware/plat/imx/imx8m/imx8mq/ |
D | imx8mq_psci.c | 42 void imx_domain_suspend(const psci_power_state_t *target_state) in imx_domain_suspend() argument 48 if (is_local_state_off(CORE_PWR_STATE(target_state))) { in imx_domain_suspend() 59 if (is_local_state_off(CLUSTER_PWR_STATE(target_state))) in imx_domain_suspend() 64 if (is_local_state_retn(SYSTEM_PWR_STATE(target_state))) { in imx_domain_suspend() 69 void imx_domain_suspend_finish(const psci_power_state_t *target_state) in imx_domain_suspend_finish() argument 75 if (is_local_state_retn(SYSTEM_PWR_STATE(target_state))) { in imx_domain_suspend_finish() 81 if (is_local_state_off(CLUSTER_PWR_STATE(target_state))) in imx_domain_suspend_finish() 87 if (is_local_state_off(CORE_PWR_STATE(target_state))) { in imx_domain_suspend_finish()
|
/external/arm-trusted-firmware/plat/renesas/common/ |
D | plat_pm.c | 76 static void rcar_pwr_domain_on_finish(const psci_power_state_t *target_state) in rcar_pwr_domain_on_finish() argument 81 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in rcar_pwr_domain_on_finish() 92 static void rcar_pwr_domain_off(const psci_power_state_t *target_state) in rcar_pwr_domain_off() argument 103 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in rcar_pwr_domain_off() 112 static void rcar_pwr_domain_suspend(const psci_power_state_t *target_state) in rcar_pwr_domain_suspend() argument 117 if (CORE_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in rcar_pwr_domain_suspend() 125 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in rcar_pwr_domain_suspend() 133 if (SYSTEM_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in rcar_pwr_domain_suspend() 139 *target_state) in rcar_pwr_domain_suspend_finish() 143 if (SYSTEM_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in rcar_pwr_domain_suspend_finish() [all …]
|
/external/arm-trusted-firmware/plat/intel/soc/common/ |
D | socfpga_psci.c | 58 void socfpga_pwr_domain_off(const psci_power_state_t *target_state) in socfpga_pwr_domain_off() argument 62 __func__, i, target_state->pwr_domain_state[i]); in socfpga_pwr_domain_off() 72 void socfpga_pwr_domain_suspend(const psci_power_state_t *target_state) in socfpga_pwr_domain_suspend() argument 78 __func__, i, target_state->pwr_domain_state[i]); in socfpga_pwr_domain_suspend() 90 void socfpga_pwr_domain_on_finish(const psci_power_state_t *target_state) in socfpga_pwr_domain_on_finish() argument 94 __func__, i, target_state->pwr_domain_state[i]); in socfpga_pwr_domain_on_finish() 111 void socfpga_pwr_domain_suspend_finish(const psci_power_state_t *target_state) in socfpga_pwr_domain_suspend_finish() argument 117 __func__, i, target_state->pwr_domain_state[i]); in socfpga_pwr_domain_suspend_finish()
|
/external/arm-trusted-firmware/plat/imx/imx8m/include/ |
D | imx8m_psci.h | 15 void imx_pwr_domain_on_finish(const psci_power_state_t *target_state); 16 void imx_pwr_domain_off(const psci_power_state_t *target_state); 19 void imx_domain_suspend(const psci_power_state_t *target_state); 20 void imx_domain_suspend_finish(const psci_power_state_t *target_state); 21 void __dead2 imx_pwr_domain_pwr_down_wfi(const psci_power_state_t *target_state);
|
/external/arm-trusted-firmware/plat/amlogic/axg/ |
D | axg_pm.c | 100 static void axg_pwr_domain_on_finish(const psci_power_state_t *target_state) in axg_pwr_domain_on_finish() argument 102 assert(target_state->pwr_domain_state[MPIDR_AFFLVL0] == in axg_pwr_domain_on_finish() 111 static void axg_pwr_domain_off(const psci_power_state_t *target_state) in axg_pwr_domain_off() argument 117 assert(target_state->pwr_domain_state[MPIDR_AFFLVL0] == in axg_pwr_domain_off() 124 if (target_state->pwr_domain_state[MPIDR_AFFLVL2] == in axg_pwr_domain_off() 128 if (target_state->pwr_domain_state[MPIDR_AFFLVL1] == in axg_pwr_domain_off() 139 *target_state) in axg_pwr_domain_pwr_down_wfi()
|
/external/arm-trusted-firmware/plat/hisilicon/hikey960/ |
D | hikey960_pm.c | 83 hikey960_pwr_domain_on_finish(const psci_power_state_t *target_state) in hikey960_pwr_domain_on_finish() argument 85 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in hikey960_pwr_domain_on_finish() 92 void hikey960_pwr_domain_off(const psci_power_state_t *target_state) in hikey960_pwr_domain_off() argument 188 static void hikey960_pwr_domain_suspend(const psci_power_state_t *target_state) in hikey960_pwr_domain_suspend() argument 195 if (CORE_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in hikey960_pwr_domain_suspend() 198 if (CORE_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey960_pwr_domain_suspend() 216 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey960_pwr_domain_suspend() 264 hikey960_pwr_domain_suspend_finish(const psci_power_state_t *target_state) in hikey960_pwr_domain_suspend_finish() argument 272 if (CORE_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in hikey960_pwr_domain_suspend_finish() 286 hikey960_pwr_domain_on_finish(target_state); in hikey960_pwr_domain_suspend_finish()
|
/external/arm-trusted-firmware/plat/imx/imx8qx/ |
D | imx8qx_psci.c | 89 void imx_pwr_domain_on_finish(const psci_power_state_t *target_state) in imx_pwr_domain_on_finish() argument 100 void imx_pwr_domain_off(const psci_power_state_t *target_state) in imx_pwr_domain_off() argument 111 void imx_domain_suspend(const psci_power_state_t *target_state) in imx_domain_suspend() argument 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() 164 void imx_domain_suspend_finish(const psci_power_state_t *target_state) in imx_domain_suspend_finish() argument 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/include/plat/arm/css/common/ |
D | css_pm.h | 29 void css_pwr_domain_on_finish(const psci_power_state_t *target_state); 30 void css_pwr_domain_on_finish_late(const psci_power_state_t *target_state); 31 void css_pwr_domain_off(const psci_power_state_t *target_state); 32 void css_pwr_domain_suspend(const psci_power_state_t *target_state); 34 const psci_power_state_t *target_state);
|
/external/arm-trusted-firmware/drivers/arm/css/scp/ |
D | css_pm_scmi.c | 108 void css_scp_suspend(const struct psci_power_state *target_state) in css_scp_suspend() argument 113 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in css_scp_suspend() 117 if (css_system_pwr_state(target_state) == ARM_LOCAL_STATE_OFF) { in css_scp_suspend() 136 assert(css_system_pwr_state(target_state) == ARM_LOCAL_STATE_RUN); in css_scp_suspend() 143 if (target_state->pwr_domain_state[lvl] == ARM_LOCAL_STATE_RUN) in css_scp_suspend() 146 assert(target_state->pwr_domain_state[lvl] == in css_scp_suspend() 175 void css_scp_off(const struct psci_power_state *target_state) in css_scp_off() argument 182 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in css_scp_off() 186 assert(css_system_pwr_state(target_state) == ARM_LOCAL_STATE_RUN); in css_scp_off() 189 if (target_state->pwr_domain_state[lvl] == ARM_LOCAL_STATE_RUN) in css_scp_off() [all …]
|
D | css_pm_scpi.c | 23 void css_scp_suspend(const struct psci_power_state *target_state) in css_scp_suspend() argument 29 if (css_system_pwr_state(target_state) == ARM_LOCAL_STATE_OFF) in css_scp_suspend() 33 if (CSS_CLUSTER_PWR_STATE(target_state) == ARM_LOCAL_STATE_OFF) in css_scp_suspend() 51 void css_scp_off(const struct psci_power_state *target_state) in css_scp_off() argument 53 css_scp_suspend(target_state); in css_scp_off()
|
/external/arm-trusted-firmware/plat/imx/imx8qm/ |
D | imx8qm_psci.c | 103 void imx_pwr_domain_on_finish(const psci_power_state_t *target_state) in imx_pwr_domain_on_finish() argument 107 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in imx_pwr_domain_on_finish() 114 void imx_pwr_domain_off(const psci_power_state_t *target_state) in imx_pwr_domain_off() argument 125 if (is_local_state_off(CLUSTER_PWR_STATE(target_state))) { in imx_pwr_domain_off() 133 void imx_domain_suspend(const psci_power_state_t *target_state) in imx_domain_suspend() argument 139 if (is_local_state_off(CORE_PWR_STATE(target_state))) { in imx_domain_suspend() 153 if (is_local_state_off(CLUSTER_PWR_STATE(target_state))) { in imx_domain_suspend() 159 if (is_local_state_retn(SYSTEM_PWR_STATE(target_state))) { in imx_domain_suspend() 209 void imx_domain_suspend_finish(const psci_power_state_t *target_state) in imx_domain_suspend_finish() argument 216 if (is_local_state_retn(SYSTEM_PWR_STATE(target_state))) { in imx_domain_suspend_finish() [all …]
|
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t132/ |
D | plat_psci_handlers.c | 114 int tegra_soc_pwr_domain_on_finish(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_on_finish() argument 124 int tegra_soc_pwr_domain_off(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_off() argument 146 int tegra_soc_pwr_domain_suspend(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_suspend() argument 168 write_actlr_el1(val | target_state->pwr_domain_state[PLAT_MAX_PWR_LVL]); in tegra_soc_pwr_domain_suspend() 173 int32_t tegra_soc_pwr_domain_suspend_pwrdown_early(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_suspend_pwrdown_early() argument 178 int tegra_soc_pwr_domain_power_down_wfi(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_power_down_wfi() argument
|
/external/arm-trusted-firmware/plat/allwinner/common/ |
D | sunxi_pm.c | 91 static void sunxi_pwr_domain_off(const psci_power_state_t *target_state) in sunxi_pwr_domain_off() argument 93 plat_local_state_t cpu_pwr_state = CPU_PWR_STATE(target_state); in sunxi_pwr_domain_off() 94 plat_local_state_t cluster_pwr_state = CLUSTER_PWR_STATE(target_state); in sunxi_pwr_domain_off() 95 plat_local_state_t system_pwr_state = SYSTEM_PWR_STATE(target_state); in sunxi_pwr_domain_off() 108 static void __dead2 sunxi_pwr_down_wfi(const psci_power_state_t *target_state) in sunxi_pwr_down_wfi() argument 116 static void sunxi_pwr_domain_on_finish(const psci_power_state_t *target_state) in sunxi_pwr_domain_on_finish() argument 118 if (is_local_state_off(SYSTEM_PWR_STATE(target_state))) in sunxi_pwr_domain_on_finish() 120 if (is_local_state_off(CPU_PWR_STATE(target_state))) { in sunxi_pwr_domain_on_finish()
|
/external/arm-trusted-firmware/plat/qemu/common/ |
D | qemu_pm.c | 155 static void qemu_pwr_domain_off(const psci_power_state_t *target_state) in qemu_pwr_domain_off() argument 163 qemu_pwr_domain_pwr_down_wfi(const psci_power_state_t *target_state) in qemu_pwr_domain_pwr_down_wfi() argument 173 void qemu_pwr_domain_suspend(const psci_power_state_t *target_state) in qemu_pwr_domain_suspend() argument 183 void qemu_pwr_domain_on_finish(const psci_power_state_t *target_state) in qemu_pwr_domain_on_finish() argument 185 assert(target_state->pwr_domain_state[MPIDR_AFFLVL0] == in qemu_pwr_domain_on_finish() 196 void qemu_pwr_domain_suspend_finish(const psci_power_state_t *target_state) in qemu_pwr_domain_suspend_finish() argument
|