Home
last modified time | relevance | path

Searched refs:target_state (Results 1 – 24 of 24) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/common/
Dcss_pm.c73 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()
84 if (CSS_CLUSTER_PWR_STATE(target_state) == ARM_LOCAL_STATE_OFF) in css_pwr_domain_on_finisher_common()
96 void css_pwr_domain_on_finish(const psci_power_state_t *target_state) in css_pwr_domain_on_finish() argument
99 assert(CSS_SYSTEM_PWR_STATE(target_state) == ARM_LOCAL_STATE_RUN); in css_pwr_domain_on_finish()
104 css_pwr_domain_on_finisher_common(target_state); in css_pwr_domain_on_finish()
113 static void css_power_down_common(const psci_power_state_t *target_state) in css_power_down_common() argument
119 if (CSS_CLUSTER_PWR_STATE(target_state) == ARM_LOCAL_STATE_OFF) in css_power_down_common()
127 void css_pwr_domain_off(const psci_power_state_t *target_state) in css_pwr_domain_off() argument
129 assert(CSS_CORE_PWR_STATE(target_state) == ARM_LOCAL_STATE_OFF); in css_pwr_domain_off()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_pm.c49 int tegra_soc_pwr_domain_suspend_pwrdown_early(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_suspend_pwrdown_early() argument
54 int tegra_soc_pwr_domain_suspend(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_suspend() argument
64 int tegra_soc_pwr_domain_off(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_off() argument
69 int tegra_soc_pwr_domain_on_finish(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_on_finish() argument
74 int tegra_soc_pwr_domain_power_down_wfi(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_power_down_wfi() argument
146 void tegra_pwr_domain_off(const psci_power_state_t *target_state) in tegra_pwr_domain_off() argument
148 tegra_soc_pwr_domain_off(target_state); in tegra_pwr_domain_off()
157 void tegra_pwr_domain_suspend_pwrdown_early(const psci_power_state_t *target_state) in tegra_pwr_domain_suspend_pwrdown_early() argument
159 tegra_soc_pwr_domain_suspend_pwrdown_early(target_state); in tegra_pwr_domain_suspend_pwrdown_early()
166 void tegra_pwr_domain_suspend(const psci_power_state_t *target_state) in tegra_pwr_domain_suspend() argument
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/
Dplat_pm.c115 const psci_power_state_t *target_state) in rockchip_soc_cores_pd_pwr_dn_wfi() argument
213 void rockchip_pwr_domain_off(const psci_power_state_t *target_state) in rockchip_pwr_domain_off() argument
219 assert(RK_CORE_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE); in rockchip_pwr_domain_off()
223 if (RK_CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_off()
229 lvl_state = target_state->pwr_domain_state[lvl]; in rockchip_pwr_domain_off()
240 void rockchip_pwr_domain_suspend(const psci_power_state_t *target_state) in rockchip_pwr_domain_suspend() argument
246 if (RK_CORE_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_suspend()
249 if (RK_SYSTEM_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_suspend()
258 if (RK_CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_suspend()
261 if (RK_SYSTEM_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in rockchip_pwr_domain_suspend()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_pm.c82 static void fvp_power_domain_on_finish_common(const psci_power_state_t *target_state) in fvp_power_domain_on_finish_common() argument
86 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_power_domain_on_finish_common()
93 if (target_state->pwr_domain_state[ARM_PWR_LVL1] == in fvp_power_domain_on_finish_common()
110 if (target_state->pwr_domain_state[ARM_PWR_LVL2] == in fvp_power_domain_on_finish_common()
164 void fvp_pwr_domain_off(const psci_power_state_t *target_state) in fvp_pwr_domain_off() argument
166 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_off()
184 if (target_state->pwr_domain_state[ARM_PWR_LVL1] == in fvp_pwr_domain_off()
194 void fvp_pwr_domain_suspend(const psci_power_state_t *target_state) in fvp_pwr_domain_suspend() argument
202 if (target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_suspend()
206 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in fvp_pwr_domain_suspend()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/
Dhikey_pm.c49 static void hikey_pwr_domain_on_finish(const psci_power_state_t *target_state) in hikey_pwr_domain_on_finish() argument
63 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in hikey_pwr_domain_on_finish()
75 void hikey_pwr_domain_off(const psci_power_state_t *target_state) in hikey_pwr_domain_off() argument
87 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey_pwr_domain_off()
96 static void hikey_pwr_domain_suspend(const psci_power_state_t *target_state) in hikey_pwr_domain_suspend() argument
103 if (CORE_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in hikey_pwr_domain_suspend()
106 if (CORE_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey_pwr_domain_suspend()
113 if (SYSTEM_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in hikey_pwr_domain_suspend()
118 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey_pwr_domain_suspend()
123 if (SYSTEM_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey_pwr_domain_suspend()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/xilinx/zynqmp/
Dplat_psci.c88 static void zynqmp_nopmu_pwr_domain_off(const psci_power_state_t *target_state) in zynqmp_nopmu_pwr_domain_off() argument
95 __func__, i, target_state->pwr_domain_state[i]); in zynqmp_nopmu_pwr_domain_off()
106 static void zynqmp_pwr_domain_off(const psci_power_state_t *target_state) in zynqmp_pwr_domain_off() argument
113 __func__, i, target_state->pwr_domain_state[i]); in zynqmp_pwr_domain_off()
129 static void zynqmp_nopmu_pwr_domain_suspend(const psci_power_state_t *target_state) in zynqmp_nopmu_pwr_domain_suspend() argument
136 __func__, i, target_state->pwr_domain_state[i]); in zynqmp_nopmu_pwr_domain_suspend()
156 static void zynqmp_pwr_domain_suspend(const psci_power_state_t *target_state) in zynqmp_pwr_domain_suspend() argument
164 __func__, i, target_state->pwr_domain_state[i]); in zynqmp_pwr_domain_suspend()
166 state = target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE ? in zynqmp_pwr_domain_suspend()
173 if (target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE) { in zynqmp_pwr_domain_suspend()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scp/
Dcss_pm_scmi.c85 void css_scp_suspend(const psci_power_state_t *target_state) in css_scp_suspend() argument
91 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in css_scp_suspend()
95 if (CSS_SYSTEM_PWR_STATE(target_state) == ARM_LOCAL_STATE_OFF) { in css_scp_suspend()
112 assert(target_state->pwr_domain_state[CSS_SYSTEM_PWR_DMN_LVL] == in css_scp_suspend()
120 if (target_state->pwr_domain_state[lvl] == ARM_LOCAL_STATE_RUN) in css_scp_suspend()
123 assert(target_state->pwr_domain_state[lvl] == in css_scp_suspend()
150 void css_scp_off(const psci_power_state_t *target_state) in css_scp_off() argument
156 assert(target_state->pwr_domain_state[ARM_PWR_LVL0] == in css_scp_off()
160 assert(target_state->pwr_domain_state[CSS_SYSTEM_PWR_DMN_LVL] == in css_scp_off()
164 if (target_state->pwr_domain_state[lvl] == ARM_LOCAL_STATE_RUN) in css_scp_off()
[all …]
Dcss_pm_scpi.c22 void css_scp_suspend(const psci_power_state_t *target_state) in css_scp_suspend() argument
28 if (CSS_SYSTEM_PWR_STATE(target_state) == ARM_LOCAL_STATE_OFF) in css_scp_suspend()
32 if (CSS_CLUSTER_PWR_STATE(target_state) == ARM_LOCAL_STATE_OFF) in css_scp_suspend()
50 void css_scp_off(const psci_power_state_t *target_state) in css_scp_off() argument
52 css_scp_suspend(target_state); in css_scp_off()
Dcss_scp.h19 void css_scp_suspend(const struct psci_power_state *target_state);
20 void css_scp_off(const struct psci_power_state *target_state);
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_pm.c79 hikey960_pwr_domain_on_finish(const psci_power_state_t *target_state) in hikey960_pwr_domain_on_finish() argument
81 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) in hikey960_pwr_domain_on_finish()
88 void hikey960_pwr_domain_off(const psci_power_state_t *target_state) in hikey960_pwr_domain_off() argument
174 static void hikey960_pwr_domain_suspend(const psci_power_state_t *target_state) in hikey960_pwr_domain_suspend() argument
181 if (CORE_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in hikey960_pwr_domain_suspend()
184 if (CORE_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey960_pwr_domain_suspend()
202 if (CLUSTER_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE) { in hikey960_pwr_domain_suspend()
250 hikey960_pwr_domain_suspend_finish(const psci_power_state_t *target_state) in hikey960_pwr_domain_suspend_finish() argument
258 if (CORE_PWR_STATE(target_state) != PLAT_MAX_OFF_STATE) in hikey960_pwr_domain_suspend_finish()
272 hikey960_pwr_domain_on_finish(target_state); in hikey960_pwr_domain_suspend_finish()
/device/linaro/bootloader/arm-trusted-firmware/include/plat/arm/css/common/
Dcss_pm.h25 void css_pwr_domain_on_finish(const psci_power_state_t *target_state);
26 void css_pwr_domain_off(const psci_power_state_t *target_state);
27 void css_pwr_domain_suspend(const psci_power_state_t *target_state);
29 const psci_power_state_t *target_state);
/device/linaro/bootloader/arm-trusted-firmware/plat/compat/
Dplat_pm_compat.c177 static void pwr_domain_off_compat(const psci_power_state_t *target_state) in pwr_domain_off_compat() argument
184 target_state->pwr_domain_state[level]) ? in pwr_domain_off_compat()
193 static void pwr_domain_suspend_compat(const psci_power_state_t *target_state) in pwr_domain_suspend_compat() argument
200 target_state->pwr_domain_state[level]) ? in pwr_domain_suspend_compat()
210 static void pwr_domain_on_finish_compat(const psci_power_state_t *target_state) in pwr_domain_on_finish_compat() argument
217 target_state->pwr_domain_state[level]) ? in pwr_domain_on_finish_compat()
228 const psci_power_state_t *target_state) in pwr_domain_suspend_finish_compat() argument
235 target_state->pwr_domain_state[level]) ? in pwr_domain_suspend_finish_compat()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t132/
Dplat_psci_handlers.c86 int tegra_soc_pwr_domain_on_finish(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_on_finish() argument
96 int tegra_soc_pwr_domain_off(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_off() argument
109 int tegra_soc_pwr_domain_suspend(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_suspend() argument
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/qemu/
Dqemu_pm.c150 void qemu_pwr_domain_off(const psci_power_state_t *target_state) in qemu_pwr_domain_off() argument
159 void qemu_pwr_domain_suspend(const psci_power_state_t *target_state) in qemu_pwr_domain_suspend() argument
169 void qemu_pwr_domain_on_finish(const psci_power_state_t *target_state) in qemu_pwr_domain_on_finish() argument
171 assert(target_state->pwr_domain_state[MPIDR_AFFLVL0] == in qemu_pwr_domain_on_finish()
186 void qemu_pwr_domain_suspend_finish(const psci_power_state_t *target_state) in qemu_pwr_domain_suspend_finish() argument
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/poplar/
Dplat_pm.c64 static void poplar_pwr_domain_off(const psci_power_state_t *target_state) in poplar_pwr_domain_off() argument
69 static void poplar_pwr_domain_suspend(const psci_power_state_t *target_state) in poplar_pwr_domain_suspend() argument
74 static void poplar_pwr_domain_on_finish(const psci_power_state_t *target_state) in poplar_pwr_domain_on_finish() argument
76 assert(target_state->pwr_domain_state[MPIDR_AFFLVL0] == in poplar_pwr_domain_on_finish()
87 const psci_power_state_t *target_state) in poplar_pwr_domain_suspend_finish() argument
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t210/
Dplat_psci_handlers.c112 int tegra_soc_pwr_domain_suspend(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_suspend() argument
116 target_state->pwr_domain_state; in tegra_soc_pwr_domain_suspend()
158 int tegra_soc_pwr_domain_on_finish(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_on_finish() argument
165 if (target_state->pwr_domain_state[PLAT_MAX_PWR_LVL] == in tegra_soc_pwr_domain_on_finish()
218 int tegra_soc_pwr_domain_off(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_off() argument
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/
Dplat_psci_handlers.c85 int tegra_soc_pwr_domain_suspend(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_suspend() argument
96 pwr_domain_state = target_state->pwr_domain_state; in tegra_soc_pwr_domain_suspend()
232 int tegra_soc_pwr_domain_power_down_wfi(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_power_down_wfi() argument
235 target_state->pwr_domain_state; in tegra_soc_pwr_domain_power_down_wfi()
276 int tegra_soc_pwr_domain_on_finish(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_on_finish() argument
278 int stateid_afflvl2 = target_state->pwr_domain_state[PLAT_MAX_PWR_LVL]; in tegra_soc_pwr_domain_on_finish()
279 int stateid_afflvl0 = target_state->pwr_domain_state[MPIDR_AFFLVL0]; in tegra_soc_pwr_domain_on_finish()
327 int tegra_soc_pwr_domain_off(const psci_power_state_t *target_state) in tegra_soc_pwr_domain_off() argument
/device/linaro/bootloader/arm-trusted-firmware/include/lib/psci/
Dpsci.h282 void (*pwr_domain_off)(const psci_power_state_t *target_state);
284 const psci_power_state_t *target_state);
285 void (*pwr_domain_suspend)(const psci_power_state_t *target_state);
286 void (*pwr_domain_on_finish)(const psci_power_state_t *target_state);
288 const psci_power_state_t *target_state);
290 const psci_power_state_t *target_state) __dead2;
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_psci.c43 static void uniphier_psci_pwr_domain_off(const psci_power_state_t *target_state) in uniphier_psci_pwr_domain_off() argument
49 const psci_power_state_t *target_state) in uniphier_psci_pwr_domain_on_finish() argument
58 const psci_power_state_t *target_state) in uniphier_psci_pwr_domain_pwr_down_wfi() argument
/device/linaro/bootloader/arm-trusted-firmware/lib/psci/
Dpsci_common.c285 psci_power_state_t *target_state) in psci_get_target_local_pwr_states() argument
288 plat_local_state_t *pd_state = target_state->pwr_domain_state; in psci_get_target_local_pwr_states()
301 target_state->pwr_domain_state[lvl] = PSCI_LOCAL_STATE_RUN; in psci_get_target_local_pwr_states()
311 const psci_power_state_t *target_state) in psci_set_target_local_pwr_states() argument
314 const plat_local_state_t *pd_state = target_state->pwr_domain_state; in psci_set_target_local_pwr_states()
402 plat_local_state_t target_state, *req_states; in psci_do_state_coordination() local
424 target_state = plat_get_target_pwr_state(lvl, in psci_do_state_coordination()
428 state_info->pwr_domain_state[lvl] = target_state; in psci_do_state_coordination()
Dpsci_private.h208 psci_power_state_t *target_state);
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/include/
Dplat_private.h115 const psci_power_state_t *target_state);
/device/linaro/bootloader/arm-trusted-firmware/docs/
Dplatform-migration-guide.rst148 void (*pwr_domain_off)(const psci_power_state_t *target_state);
149 void (*pwr_domain_suspend_early)(const psci_power_state_t *target_state);
150 void (*pwr_domain_suspend)(const psci_power_state_t *target_state);
151 void (*pwr_domain_on_finish)(const psci_power_state_t *target_state);
153 const psci_power_state_t *target_state);
197 are only invoked once. The ``target_state`` encodes the target low power
Dporting-guide.rst2093 and its higher parent power domain levels as indicated by the ``target_state``
2096 The ``target_state`` encodes the platform coordinated target local power states
2116 before calling pwr_domain_suspend(). If the target_state corresponds to a
2128 ``target_state`` (first argument). It is called by the PSCI ``CPU_SUSPEND``
2131 The ``target_state`` has a similar meaning as described in
2173 The ``target_state`` has a similar meaning as described in the ``pwr_domain_off()``
2190 The ``target_state`` (first argument) is the prior state of the power domains
2205 The ``target_state`` (first argument) has a similar meaning as described in