Home
last modified time | relevance | path

Searched refs:state_id (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/
Darm_pm.c80 unsigned int state_id; in arm_validate_power_state() local
100 state_id = psci_get_pstate_id(power_state); in arm_validate_power_state()
103 while (state_id) { in arm_validate_power_state()
104 req_state->pwr_domain_state[i++] = state_id & in arm_validate_power_state()
106 state_id >>= ARM_LOCAL_PSTATE_WIDTH; in arm_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t210/
Dplat_psci_handlers.c37 int state_id = psci_get_pstate_id(power_state); in tegra_soc_validate_power_state() local
40 switch (state_id) { in tegra_soc_validate_power_state()
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()
72 ERROR("%s: unsupported state id (%d)\n", __func__, state_id); in tegra_soc_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/qemu/
Dqemu_pm.c66 unsigned int state_id; in qemu_validate_power_state() local
86 state_id = psci_get_pstate_id(power_state); in qemu_validate_power_state()
89 while (state_id) { in qemu_validate_power_state()
90 req_state->pwr_domain_state[i++] = state_id & in qemu_validate_power_state()
92 state_id >>= PLAT_LOCAL_PSTATE_WIDTH; in qemu_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/
Dplat_psci_handlers.c49 int state_id = psci_get_pstate_id(power_state) & TEGRA186_STATE_ID_MASK; in tegra_soc_validate_power_state() local
67 switch (state_id) { in tegra_soc_validate_power_state()
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()
78 ERROR("%s: unsupported state id (%d)\n", __func__, state_id); in tegra_soc_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t132/
Dplat_psci_handlers.c38 int state_id = psci_get_pstate_id(power_state); in tegra_soc_validate_power_state() local
46 if ((state_id != PSTATE_ID_SOC_POWERDN) || (cpu != 0)) { in tegra_soc_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/
Dplat_pm.c736 unsigned int state_id; in plat_validate_power_state() local
756 state_id = psci_get_pstate_id(power_state); in plat_validate_power_state()
759 while (state_id) { in plat_validate_power_state()
760 req_state->pwr_domain_state[i++] = state_id & in plat_validate_power_state()
762 state_id >>= MTK_LOCAL_PSTATE_WIDTH; in plat_validate_power_state()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/psci/
Dpsci.h117 #define psci_make_powerstate(state_id, type, pwrlvl) \ argument
118 (((state_id) & PSTATE_ID_MASK) << PSTATE_ID_SHIFT) |\