Home
last modified time | relevance | path

Searched refs:req_state (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/
Darm_pm.c34 psci_power_state_t *req_state) in arm_validate_power_state() argument
40 assert(req_state); in arm_validate_power_state()
54 req_state->pwr_domain_state[ARM_PWR_LVL0] = in arm_validate_power_state()
58 req_state->pwr_domain_state[i] = in arm_validate_power_state()
78 psci_power_state_t *req_state) in arm_validate_power_state() argument
83 assert(req_state); in arm_validate_power_state()
104 req_state->pwr_domain_state[i++] = state_id & in arm_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/compat/
Dplat_pm_compat.c45 psci_power_state_t *req_state) in parse_power_state() argument
64 req_state->pwr_domain_state[0] = in parse_power_state()
68 req_state->pwr_domain_state[i] = in parse_power_state()
93 psci_power_state_t *req_state) in validate_power_state_compat() argument
96 assert(req_state); in validate_power_state_compat()
107 return parse_power_state(power_state, req_state); in validate_power_state_compat()
114 void get_sys_suspend_power_state_compat(psci_power_state_t *req_state) in get_sys_suspend_power_state_compat() argument
117 assert(req_state); in get_sys_suspend_power_state_compat()
124 if (parse_power_state(power_state, req_state) != PSCI_E_SUCCESS) in get_sys_suspend_power_state_compat()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/poplar/
Dplat_pm.c110 psci_power_state_t *req_state) in poplar_validate_power_state() argument
116 assert(req_state); in poplar_validate_power_state()
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()
143 static void poplar_get_sys_suspend_power_state(psci_power_state_t *req_state) in poplar_get_sys_suspend_power_state() argument
148 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in poplar_get_sys_suspend_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t210/
Dplat_psci_handlers.c35 psci_power_state_t *req_state) in tegra_soc_validate_power_state() argument
45 req_state->pwr_domain_state[MPIDR_AFFLVL0] = state_id & 0xff; in tegra_soc_validate_power_state()
54 req_state->pwr_domain_state[MPIDR_AFFLVL1] = state_id; in tegra_soc_validate_power_state()
55 req_state->pwr_domain_state[MPIDR_AFFLVL0] = state_id; in tegra_soc_validate_power_state()
64 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in tegra_soc_validate_power_state()
66 req_state->pwr_domain_state[PLAT_MAX_PWR_LVL] = in tegra_soc_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/
Dhikey_pm.c162 static void hikey_get_sys_suspend_power_state(psci_power_state_t *req_state) in hikey_get_sys_suspend_power_state() argument
167 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in hikey_get_sys_suspend_power_state()
214 psci_power_state_t *req_state) in hikey_validate_power_state() argument
220 assert(req_state); in hikey_validate_power_state()
234 req_state->pwr_domain_state[MPIDR_AFFLVL0] = in hikey_validate_power_state()
238 req_state->pwr_domain_state[i] = in hikey_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/common/
Dcss_pm.c233 void css_get_sys_suspend_power_state(psci_power_state_t *req_state) in css_get_sys_suspend_power_state() argument
244 req_state->pwr_domain_state[i] = ARM_LOCAL_STATE_OFF; in css_get_sys_suspend_power_state()
261 psci_power_state_t *req_state) in css_validate_power_state() argument
264 rc = arm_validate_power_state(power_state, req_state); in css_validate_power_state()
271 req_state->pwr_domain_state[CSS_SYSTEM_PWR_DMN_LVL] = ARM_LOCAL_STATE_RUN; in css_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/
Dplat_pm.c130 psci_power_state_t *req_state) in rockchip_validate_power_state() argument
136 assert(req_state); in rockchip_validate_power_state()
150 req_state->pwr_domain_state[MPIDR_AFFLVL0] = in rockchip_validate_power_state()
154 req_state->pwr_domain_state[i] = in rockchip_validate_power_state()
158 req_state->pwr_domain_state[i] = in rockchip_validate_power_state()
169 void rockchip_get_sys_suspend_power_state(psci_power_state_t *req_state) in rockchip_get_sys_suspend_power_state() argument
174 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in rockchip_get_sys_suspend_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_pm.c125 psci_power_state_t *req_state) in hikey960_validate_power_state() argument
131 assert(req_state); in hikey960_validate_power_state()
145 req_state->pwr_domain_state[MPIDR_AFFLVL0] = in hikey960_validate_power_state()
149 req_state->pwr_domain_state[i] = in hikey960_validate_power_state()
275 static void hikey960_get_sys_suspend_power_state(psci_power_state_t *req_state) in hikey960_get_sys_suspend_power_state() argument
280 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in hikey960_get_sys_suspend_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_pm.c113 void tegra_get_sys_suspend_power_state(psci_power_state_t *req_state) in tegra_get_sys_suspend_power_state() argument
117 req_state->pwr_domain_state[i] = PSTATE_ID_SOC_POWERDN; in tegra_get_sys_suspend_power_state()
306 psci_power_state_t *req_state) in tegra_validate_power_state() argument
308 assert(req_state); in tegra_validate_power_state()
310 return tegra_soc_validate_power_state(power_state, req_state); in tegra_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/xilinx/zynqmp/
Dplat_psci.c292 psci_power_state_t *req_state) in zynqmp_validate_power_state() argument
298 assert(req_state); in zynqmp_validate_power_state()
302 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_RET_STATE; in zynqmp_validate_power_state()
304 req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_OFF_STATE; in zynqmp_validate_power_state()
321 void zynqmp_get_sys_suspend_power_state(psci_power_state_t *req_state) in zynqmp_get_sys_suspend_power_state() argument
323 req_state->pwr_domain_state[PSCI_CPU_PWR_LVL] = PLAT_MAX_OFF_STATE; in zynqmp_get_sys_suspend_power_state()
324 req_state->pwr_domain_state[1] = PLAT_MAX_OFF_STATE; in zynqmp_get_sys_suspend_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_pm.c343 void fvp_get_sys_suspend_power_state(psci_power_state_t *req_state) in fvp_get_sys_suspend_power_state() argument
348 req_state->pwr_domain_state[i] = ARM_LOCAL_STATE_OFF; in fvp_get_sys_suspend_power_state()
360 psci_power_state_t *req_state) in fvp_validate_power_state() argument
363 rc = arm_validate_power_state(power_state, req_state); in fvp_validate_power_state()
370 req_state->pwr_domain_state[ARM_PWR_LVL2] = ARM_LOCAL_STATE_RUN; in fvp_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t132/
Dplat_psci_handlers.c36 psci_power_state_t *req_state) in tegra_soc_validate_power_state() argument
53 req_state->pwr_domain_state[i] = PLAT_MAX_OFF_STATE; in tegra_soc_validate_power_state()
56 req_state->pwr_domain_state[PLAT_MAX_PWR_LVL] = in tegra_soc_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/qemu/
Dqemu_pm.c64 psci_power_state_t *req_state) in qemu_validate_power_state() argument
69 assert(req_state); in qemu_validate_power_state()
90 req_state->pwr_domain_state[i++] = state_id & in qemu_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/
Dplat_pm.c654 static void plat_get_sys_suspend_power_state(psci_power_state_t *req_state) in plat_get_sys_suspend_power_state() argument
659 req_state->pwr_domain_state[i] = MTK_LOCAL_STATE_OFF; in plat_get_sys_suspend_power_state()
696 psci_power_state_t *req_state) in plat_validate_power_state() argument
702 assert(req_state); in plat_validate_power_state()
716 req_state->pwr_domain_state[MTK_PWR_LVL0] = in plat_validate_power_state()
720 req_state->pwr_domain_state[i] = in plat_validate_power_state()
734 psci_power_state_t *req_state) in plat_validate_power_state() argument
739 assert(req_state); in plat_validate_power_state()
760 req_state->pwr_domain_state[i++] = state_id & in plat_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/
Dplat_psci_handlers.c47 psci_power_state_t *req_state) in tegra_soc_validate_power_state() argument
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()
/device/linaro/bootloader/arm-trusted-firmware/include/plat/arm/css/common/
Dcss_pm.h33 void css_get_sys_suspend_power_state(psci_power_state_t *req_state);
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/include/
Dtegra_private.h55 psci_power_state_t *req_state);
/device/linaro/bootloader/arm-trusted-firmware/include/lib/psci/
Dpsci.h294 psci_power_state_t *req_state);
297 psci_power_state_t *req_state);
/device/linaro/bootloader/arm-trusted-firmware/include/plat/arm/common/
Dplat_arm.h121 psci_power_state_t *req_state);
/device/linaro/bootloader/arm-trusted-firmware/docs/
Dplatform-migration-guide.rst157 psci_power_state_t *req_state);
160 psci_power_state_t *req_state);
Dporting-guide.rst2232 populate it in ``req_state`` (second argument) array as power domain level
2250 call to get the ``req_state`` parameter from platform which encodes the power
2252 ``req_state`` will be utilized to do the PSCI state coordination and