Home
last modified time | relevance | path

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

/trusted-firmware-a/plat/mediatek/mt8173/include/
A Dmt8173_def.h118 #define mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument
121 #define mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument
123 ((pwr_lvl) << PSTATE_PWR_LVL_SHIFT) | \
129 #define mtk_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type) \ argument
131 mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type))
135 lvl2_state, lvl1_state, lvl0_state, pwr_lvl, type) \ argument
137 mtk_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type))
/trusted-firmware-a/plat/qemu/qemu_sbsa/
A Dsbsa_pm.c36 #define qemu_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument
40 #define qemu_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument
42 ((pwr_lvl) << PSTATE_PWR_LVL_SHIFT) | \
47 #define qemu_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type) \ argument
49 qemu_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type))
/trusted-firmware-a/plat/qemu/common/
A Dqemu_pm.c29 #define qemu_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument
33 #define qemu_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument
35 ((pwr_lvl) << PSTATE_PWR_LVL_SHIFT) | \
40 #define qemu_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type) \ argument
42 qemu_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type))
/trusted-firmware-a/plat/arm/common/
A Darm_pm.c28 unsigned int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in arm_validate_power_state() local
33 if (pwr_lvl > PLAT_MAX_PWR_LVL) in arm_validate_power_state()
42 if (pwr_lvl != ARM_PWR_LVL0) in arm_validate_power_state()
48 for (i = ARM_PWR_LVL0; i <= pwr_lvl; i++) in arm_validate_power_state()
/trusted-firmware-a/plat/mediatek/mt8183/
A Dplat_pm.c53 #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 …]
/trusted-firmware-a/include/plat/arm/common/
A Dplat_arm.h132 #define arm_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument
135 #define arm_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument
137 ((pwr_lvl) << PSTATE_PWR_LVL_SHIFT) | \
142 #define arm_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type) \ argument
144 arm_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type))
147 #define arm_make_pwrstate_lvl2(lvl2_state, lvl1_state, lvl0_state, pwr_lvl, type) \ argument
149 arm_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type))
/trusted-firmware-a/plat/rpi/common/
A Drpi3_pm.c27 #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))
/trusted-firmware-a/plat/imx/common/
A Dimx8_psci.c35 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()
/trusted-firmware-a/plat/rockchip/common/
A Dplat_pm.c136 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()
/trusted-firmware-a/plat/hisilicon/hikey/
A Dhikey_pm.c218 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()
/trusted-firmware-a/plat/brcm/board/stingray/src/
A Dbrcm_pm_ops.c348 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in brcm_validate_power_state() local
353 if (pwr_lvl > PLAT_MAX_PWR_LVL) in brcm_validate_power_state()
362 if (pwr_lvl != MPIDR_AFFLVL0) in brcm_validate_power_state()
368 for (i = MPIDR_AFFLVL0; i <= pwr_lvl; i++) in brcm_validate_power_state()
/trusted-firmware-a/plat/hisilicon/hikey960/
A Dhikey960_pm.c142 unsigned int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in hikey960_validate_power_state() local
147 if (pwr_lvl > PLAT_MAX_PWR_LVL) in hikey960_validate_power_state()
156 if (pwr_lvl != MPIDR_AFFLVL0) in hikey960_validate_power_state()
162 for (i = MPIDR_AFFLVL0; i <= pwr_lvl; i++) in hikey960_validate_power_state()
/trusted-firmware-a/plat/imx/imx8m/imx8mq/
A Dimx8mq_psci.c22 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()
/trusted-firmware-a/plat/renesas/common/
A Dplat_pm.c251 unsigned int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in rcar_validate_power_state() local
256 if (pwr_lvl != MPIDR_AFFLVL0) in rcar_validate_power_state()
261 for (i = MPIDR_AFFLVL0; i <= pwr_lvl; i++) in rcar_validate_power_state()
/trusted-firmware-a/plat/mediatek/mt8173/
A Dplat_pm.c473 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in plat_validate_power_state() local
478 if (pwr_lvl > PLAT_MAX_PWR_LVL) in plat_validate_power_state()
487 if (pwr_lvl != 0) in plat_validate_power_state()
493 for (i = 0; i <= pwr_lvl; i++) in plat_validate_power_state()
/trusted-firmware-a/plat/imx/imx8m/
A Dimx8m_psci_common.c70 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()
/trusted-firmware-a/lib/psci/
A Dpsci_stat.c47 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()
/trusted-firmware-a/plat/marvell/armada/a8k/common/
A Dplat_pm.c347 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in a8k_validate_power_state() local
350 if (pwr_lvl > PLAT_MAX_PWR_LVL) in a8k_validate_power_state()
359 if (pwr_lvl != MARVELL_PWR_LVL0) in a8k_validate_power_state()
365 for (i = MARVELL_PWR_LVL0; i <= pwr_lvl; i++) in a8k_validate_power_state()
/trusted-firmware-a/docs/build/TF-A_2.5/
A Dsearchindex.js1 …nish_l:6,pwr_domain_pwr_down_wfi:6,pwr_domain_st:53,pwr_domain_suspend:6,pwr_lvl:53,px30:[6,111],p…
/trusted-firmware-a/docs/getting_started/
A Dporting-guide.rst2555 ``pwr_lvl`` (second argument) to an index between 0 and
/trusted-firmware-a/docs/build/TF-A_2.5/_sources/getting_started/
A Dporting-guide.rst.txt2555 ``pwr_lvl`` (second argument) to an index between 0 and

Completed in 49 milliseconds