/trusted-firmware-a/plat/arm/css/common/ |
A D | css_pm.c | 73 const psci_power_state_t *target_state) in css_pwr_domain_on_finisher_common() argument 81 if (CSS_CLUSTER_PWR_STATE(target_state) == ARM_LOCAL_STATE_OFF) in css_pwr_domain_on_finisher_common() 98 css_pwr_domain_on_finisher_common(target_state); in css_pwr_domain_on_finish() 161 css_power_down_common(target_state); in css_pwr_domain_off() 162 css_scp_off(target_state); in css_pwr_domain_off() 175 if (CSS_CORE_PWR_STATE(target_state) == ARM_LOCAL_STATE_RET) in css_pwr_domain_suspend() 180 css_power_down_common(target_state); in css_pwr_domain_suspend() 190 css_scp_suspend(target_state); in css_pwr_domain_suspend() 201 const psci_power_state_t *target_state) in css_pwr_domain_suspend_finish() argument 204 if (CSS_CORE_PWR_STATE(target_state) == ARM_LOCAL_STATE_RET) in css_pwr_domain_suspend_finish() [all …]
|
/trusted-firmware-a/plat/nvidia/tegra/common/ |
A D | tegra_pm.c | 98 (void)tegra_soc_pwr_domain_off(target_state); in tegra_pwr_domain_off() 112 tegra_soc_pwr_domain_suspend_pwrdown_early(target_state); in tegra_pwr_domain_suspend_pwrdown_early() 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() 161 if (target_state->pwr_domain_state[PLAT_MAX_PWR_LVL] == in tegra_pwr_domain_on_finish() 197 (void)tegra_soc_pwr_domain_on_finish(target_state); in tegra_pwr_domain_on_finish() 207 tegra_pwr_domain_on_finish(target_state); in tegra_pwr_domain_suspend_finish() 290 psci_power_state_t target_state = { { PSCI_LOCAL_STATE_RUN } }; in plat_setup_psci_ops() local [all …]
|
/trusted-firmware-a/plat/rockchip/common/ |
A D | plat_pm.c | 118 const psci_power_state_t *target_state) in rockchip_soc_cores_pd_pwr_dn_wfi() argument 232 lvl_state = target_state->pwr_domain_state[lvl]; in rockchip_pwr_domain_off() 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() 264 if (RK_SYSTEM_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_suspend() 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() 324 if (RK_CORE_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_suspend_finish() 333 lvl_state = target_state->pwr_domain_state[lvl]; in rockchip_pwr_domain_suspend_finish() 374 const psci_power_state_t *target_state) in rockchip_pd_pwr_down_wfi() argument [all …]
|
/trusted-firmware-a/plat/socionext/synquacer/ |
A 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() 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() 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 104 if (SQ_CLUSTER_PWR_STATE(target_state) == SQ_LOCAL_STATE_OFF) { in sq_pwr_domain_off() 108 sq_scmi_off(target_state); in sq_pwr_domain_off() [all …]
|
/trusted-firmware-a/plat/arm/board/fvp/ |
A D | fvp_pm.c | 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() 202 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_off() 220 if (target_state->pwr_domain_state[ARM_PWR_LVL1] == in fvp_pwr_domain_off() 238 if (target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_suspend() 261 if (target_state->pwr_domain_state[ARM_PWR_LVL1] == in fvp_pwr_domain_suspend() 266 if (target_state->pwr_domain_state[ARM_PWR_LVL2] == in fvp_pwr_domain_suspend() 281 fvp_power_domain_on_finish_common(target_state); in fvp_pwr_domain_on_finish() 311 if (target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_suspend_finish() [all …]
|
/trusted-firmware-a/plat/qti/common/src/ |
A 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() 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() 174 target_state->pwr_domain_state); in qti_node_power_off() 175 if (is_cpu_off(target_state)) { in qti_node_power_off() 183 qtiseclib_psci_node_suspend((const uint8_t *)target_state-> in qti_node_suspend() 185 if (is_cpu_off(target_state)) { in qti_node_suspend() 194 (const uint8_t *)target_state->pwr_domain_state; in qti_node_suspend_finish() [all …]
|
/trusted-firmware-a/plat/imx/imx8m/ |
A 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() 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() 138 if (is_local_state_off(CORE_PWR_STATE(target_state))) { in imx_domain_suspend_finish() [all …]
|
/trusted-firmware-a/plat/hisilicon/hikey/ |
A D | hikey_pm.c | 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() 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() 139 if (CORE_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in hikey_pwr_domain_suspend_finish() 148 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in hikey_pwr_domain_suspend_finish() [all …]
|
/trusted-firmware-a/plat/xilinx/versal/ |
A 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() 74 if (target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE) { in versal_pwr_domain_suspend() 87 const psci_power_state_t *target_state) in versal_pwr_domain_suspend_finish() argument 94 __func__, i, target_state->pwr_domain_state[i]); in versal_pwr_domain_suspend_finish() 103 if (target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE) { in versal_pwr_domain_suspend_finish() 110 void versal_pwr_domain_on_finish(const psci_power_state_t *target_state) in versal_pwr_domain_on_finish() argument 152 static void versal_pwr_domain_off(const psci_power_state_t *target_state) in versal_pwr_domain_off() argument [all …]
|
/trusted-firmware-a/plat/xilinx/zynqmp/ |
A 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 …]
|
/trusted-firmware-a/plat/brcm/board/stingray/src/ |
A D | brcm_pm_ops.c | 80 assert(SYSTEM_PWR_STATE(target_state) == PLAT_LOCAL_STATE_RUN); in brcm_pwr_domain_on_finish() 82 assert(CORE_PWR_STATE(target_state) == PLAT_LOCAL_STATE_OFF); in brcm_pwr_domain_on_finish() 88 if (CLUSTER_PWR_STATE(target_state) == PLAT_LOCAL_STATE_OFF) { in brcm_pwr_domain_on_finish() 137 static void brcm_scp_suspend(const psci_power_state_t *target_state) in brcm_scp_suspend() argument 143 if (SYSTEM_PWR_STATE(target_state) == PLAT_LOCAL_STATE_OFF) in brcm_scp_suspend() 147 if (CLUSTER_PWR_STATE(target_state) == PLAT_LOCAL_STATE_OFF) in brcm_scp_suspend() 165 static void brcm_scp_off(const psci_power_state_t *target_state) in brcm_scp_off() argument 167 brcm_scp_suspend(target_state); in brcm_scp_off() 174 assert(CORE_PWR_STATE(target_state) == PLAT_LOCAL_STATE_OFF); in brcm_pwr_domain_off() 182 if (CLUSTER_PWR_STATE(target_state) == PLAT_LOCAL_STATE_OFF) in brcm_pwr_domain_off() [all …]
|
/trusted-firmware-a/plat/imx/imx8m/imx8mq/ |
A 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()
|
/trusted-firmware-a/plat/imx/imx8m/include/ |
A 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);
|
/trusted-firmware-a/plat/renesas/common/ |
A 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() 134 *target_state) in rcar_pwr_domain_suspend_finish() 138 if (SYSTEM_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in rcar_pwr_domain_suspend_finish() 155 rcar_pwr_domain_on_finish(target_state); in rcar_pwr_domain_suspend_finish() [all …]
|
/trusted-firmware-a/plat/intel/soc/common/ |
A 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()
|
/trusted-firmware-a/include/plat/arm/css/common/ |
A 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);
|
/trusted-firmware-a/plat/amlogic/axg/ |
A 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()
|
/trusted-firmware-a/plat/hisilicon/hikey960/ |
A 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()
|
/trusted-firmware-a/plat/imx/imx8qx/ |
A 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()
|
/trusted-firmware-a/drivers/arm/css/scp/ |
A 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()
|
A 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 …]
|
/trusted-firmware-a/plat/allwinner/common/ |
A D | sunxi_scpi_pm.c | 79 static void sunxi_pwr_domain_off(const psci_power_state_t *target_state) in sunxi_pwr_domain_off() argument 81 plat_local_state_t cpu_pwr_state = CPU_PWR_STATE(target_state); in sunxi_pwr_domain_off() 82 plat_local_state_t cluster_pwr_state = CLUSTER_PWR_STATE(target_state); in sunxi_pwr_domain_off() 83 plat_local_state_t system_pwr_state = SYSTEM_PWR_STATE(target_state); in sunxi_pwr_domain_off() 95 static void sunxi_pwr_domain_on_finish(const psci_power_state_t *target_state) in sunxi_pwr_domain_on_finish() argument 97 if (is_local_state_off(SYSTEM_PWR_STATE(target_state))) { in sunxi_pwr_domain_on_finish() 100 if (is_local_state_off(CPU_PWR_STATE(target_state))) { in sunxi_pwr_domain_on_finish()
|
/trusted-firmware-a/plat/qemu/qemu_sbsa/ |
A D | sbsa_pm.c | 153 static void qemu_pwr_domain_off(const psci_power_state_t *target_state) in qemu_pwr_domain_off() argument 161 qemu_pwr_domain_pwr_down_wfi(const psci_power_state_t *target_state) in qemu_pwr_domain_pwr_down_wfi() argument 171 void qemu_pwr_domain_suspend(const psci_power_state_t *target_state) in qemu_pwr_domain_suspend() argument 181 void qemu_pwr_domain_on_finish(const psci_power_state_t *target_state) in qemu_pwr_domain_on_finish() argument 183 assert(target_state->pwr_domain_state[MPIDR_AFFLVL0] == in qemu_pwr_domain_on_finish() 194 void qemu_pwr_domain_suspend_finish(const psci_power_state_t *target_state) in qemu_pwr_domain_suspend_finish() argument
|
/trusted-firmware-a/plat/imx/imx8qm/ |
A 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() 216 if (is_local_state_retn(SYSTEM_PWR_STATE(target_state))) { in imx_domain_suspend_finish() 262 if (is_local_state_off(CLUSTER_PWR_STATE(target_state))) { in imx_domain_suspend_finish() [all …]
|
/trusted-firmware-a/plat/qemu/common/ |
A D | qemu_pm.c | 156 static void qemu_pwr_domain_off(const psci_power_state_t *target_state) in qemu_pwr_domain_off() argument 164 qemu_pwr_domain_pwr_down_wfi(const psci_power_state_t *target_state) in qemu_pwr_domain_pwr_down_wfi() argument 174 void qemu_pwr_domain_suspend(const psci_power_state_t *target_state) in qemu_pwr_domain_suspend() argument 184 void qemu_pwr_domain_on_finish(const psci_power_state_t *target_state) in qemu_pwr_domain_on_finish() argument 186 assert(target_state->pwr_domain_state[MPIDR_AFFLVL0] == in qemu_pwr_domain_on_finish() 197 void qemu_pwr_domain_suspend_finish(const psci_power_state_t *target_state) in qemu_pwr_domain_suspend_finish() argument
|