/external/arm-trusted-firmware/plat/mediatek/mt8173/include/ |
D | mt8173_def.h | 130 #define mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 133 #define mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 135 ((pwr_lvl) << PSTATE_PWR_LVL_SHIFT) | \ 141 #define mtk_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type) \ argument 143 mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type)) 147 lvl2_state, lvl1_state, lvl0_state, pwr_lvl, type) \ argument 149 mtk_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type))
|
/external/arm-trusted-firmware/include/plat/arm/common/ |
D | plat_arm.h | 120 #define arm_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 123 #define arm_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 125 ((pwr_lvl) << PSTATE_PWR_LVL_SHIFT) | \ 130 #define arm_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type) \ argument 132 arm_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type)) 135 #define arm_make_pwrstate_lvl2(lvl2_state, lvl1_state, lvl0_state, pwr_lvl, type) \ argument 137 arm_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type))
|
/external/arm-trusted-firmware/plat/mediatek/mt8183/ |
D | plat_pm.c | 53 #define mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 58 #define mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 60 ((pwr_lvl) << PSTATE_PWR_LVL_SHIFT) | \ 66 #define mtk_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type) \ argument 68 mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type)) 72 lvl2_state, lvl1_state, lvl0_state, pwr_lvl, type) \ argument 74 mtk_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type)) 485 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in plat_mtk_validate_power_state() local 490 if (pwr_lvl > PLAT_MAX_PWR_LVL) in plat_mtk_validate_power_state() 499 if (pwr_lvl != 0) in plat_mtk_validate_power_state() [all …]
|
/external/arm-trusted-firmware/plat/qemu/common/ |
D | qemu_pm.c | 28 #define qemu_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 32 #define qemu_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 34 ((pwr_lvl) << PSTATE_PWR_LVL_SHIFT) | \ 39 #define qemu_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type) \ argument 41 qemu_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type))
|
/external/arm-trusted-firmware/plat/rpi/common/ |
D | rpi3_pm.c | 27 #define rpi3_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 33 #define rpi3_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 35 ((pwr_lvl) << PSTATE_PWR_LVL_SHIFT) | \ 40 #define rpi3_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type) \ argument 42 rpi3_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type))
|
/external/arm-trusted-firmware/plat/arm/common/ |
D | arm_pm.c | 29 unsigned int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in arm_validate_power_state() local 34 if (pwr_lvl > PLAT_MAX_PWR_LVL) in arm_validate_power_state() 43 if (pwr_lvl != ARM_PWR_LVL0) in arm_validate_power_state() 49 for (i = ARM_PWR_LVL0; i <= pwr_lvl; i++) in arm_validate_power_state()
|
/external/arm-trusted-firmware/plat/rockchip/common/ |
D | plat_pm.c | 136 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in rockchip_validate_power_state() local 141 if (pwr_lvl > PLAT_MAX_PWR_LVL) in rockchip_validate_power_state() 150 if (pwr_lvl != MPIDR_AFFLVL0) in rockchip_validate_power_state() 156 for (i = MPIDR_AFFLVL0; i <= pwr_lvl; i++) in rockchip_validate_power_state() 160 for (i = (pwr_lvl + 1); i <= PLAT_MAX_PWR_LVL; i++) in rockchip_validate_power_state()
|
/external/arm-trusted-firmware/plat/hisilicon/hikey/ |
D | hikey_pm.c | 218 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in hikey_validate_power_state() local 223 if (pwr_lvl > PLAT_MAX_PWR_LVL) in hikey_validate_power_state() 232 if (pwr_lvl != MPIDR_AFFLVL0) in hikey_validate_power_state() 238 for (i = MPIDR_AFFLVL0; i <= pwr_lvl; i++) in hikey_validate_power_state()
|
/external/arm-trusted-firmware/plat/hisilicon/hikey960/ |
D | hikey960_pm.c | 134 unsigned int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in hikey960_validate_power_state() local 139 if (pwr_lvl > PLAT_MAX_PWR_LVL) in hikey960_validate_power_state() 148 if (pwr_lvl != MPIDR_AFFLVL0) in hikey960_validate_power_state() 154 for (i = MPIDR_AFFLVL0; i <= pwr_lvl; i++) in hikey960_validate_power_state()
|
/external/arm-trusted-firmware/plat/imx/common/ |
D | imx8_psci.c | 35 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in imx_validate_power_state() local 39 if (pwr_lvl > PLAT_MAX_PWR_LVL) in imx_validate_power_state()
|
/external/arm-trusted-firmware/plat/mediatek/mt8173/ |
D | plat_pm.c | 474 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in plat_validate_power_state() local 479 if (pwr_lvl > PLAT_MAX_PWR_LVL) in plat_validate_power_state() 488 if (pwr_lvl != 0) in plat_validate_power_state() 494 for (i = 0; i <= pwr_lvl; i++) in plat_validate_power_state()
|
/external/arm-trusted-firmware/plat/renesas/rcar/ |
D | plat_pm.c | 243 unsigned int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in rcar_validate_power_state() local 248 if (pwr_lvl != MPIDR_AFFLVL0) in rcar_validate_power_state() 253 for (i = MPIDR_AFFLVL0; i <= pwr_lvl; i++) in rcar_validate_power_state()
|
/external/arm-trusted-firmware/plat/imx/imx8m/imx8mq/ |
D | imx8mq_psci.c | 22 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in imx_validate_power_state() local 26 if (pwr_lvl > PLAT_MAX_PWR_LVL) in imx_validate_power_state()
|
/external/arm-trusted-firmware/plat/imx/imx8m/ |
D | imx8m_psci_common.c | 70 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in imx_validate_power_state() local 74 if (pwr_lvl > PLAT_MAX_PWR_LVL) in imx_validate_power_state()
|
/external/arm-trusted-firmware/plat/marvell/a8k/common/ |
D | plat_pm.c | 345 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in a8k_validate_power_state() local 348 if (pwr_lvl > PLAT_MAX_PWR_LVL) in a8k_validate_power_state() 357 if (pwr_lvl != MARVELL_PWR_LVL0) in a8k_validate_power_state() 363 for (i = MARVELL_PWR_LVL0; i <= pwr_lvl; i++) in a8k_validate_power_state()
|
/external/arm-trusted-firmware/lib/psci/ |
D | psci_stat.c | 47 static int get_stat_idx(plat_local_state_t local_state, unsigned int pwr_lvl) in get_stat_idx() argument 60 idx = psci_plat_pm_ops->get_pwr_lvl_state_idx(local_state, pwr_lvl); in get_stat_idx()
|
/external/arm-trusted-firmware/docs/getting_started/ |
D | porting-guide.rst | 2292 ``pwr_lvl`` (second argument) to an index between 0 and
|