/device/linaro/bootloader/arm-trusted-firmware/plat/compat/ |
D | plat_pm_compat.c | 44 static int parse_power_state(unsigned int power_state, in parse_power_state() argument 48 int pstate = psci_get_pstate_type(power_state); in parse_power_state() 49 int aff_lvl = psci_get_pstate_pwrlvl(power_state); in parse_power_state() 79 static void set_psci_power_state_compat(unsigned int power_state) in set_psci_power_state_compat() argument 83 psci_power_state_compat[my_core_pos] = power_state; in set_psci_power_state_compat() 92 static int validate_power_state_compat(unsigned int power_state, in validate_power_state_compat() argument 99 rc = pm_ops->validate_power_state(power_state); in validate_power_state_compat() 105 set_psci_power_state_compat(power_state); in validate_power_state_compat() 107 return parse_power_state(power_state, req_state); in validate_power_state_compat() 116 unsigned int power_state; in get_sys_suspend_power_state_compat() local [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/ |
D | arm_pm.c | 33 int arm_validate_power_state(unsigned int power_state, in arm_validate_power_state() argument 36 int pstate = psci_get_pstate_type(power_state); in arm_validate_power_state() 37 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in arm_validate_power_state() 65 if (psci_get_pstate_id(power_state)) in arm_validate_power_state() 77 int arm_validate_power_state(unsigned int power_state, in arm_validate_power_state() argument 91 if (power_state == arm_pm_idle_states[i]) in arm_validate_power_state() 100 state_id = psci_get_pstate_id(power_state); in arm_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/lib/psci/ |
D | psci_stat.c | 165 static int psci_get_stat(u_register_t target_cpu, unsigned int power_state, in psci_get_stat() argument 180 rc = psci_validate_power_state(power_state, &state_info); in psci_get_stat() 183 target_cpu, power_state, &state_info); in psci_get_stat() 217 unsigned int power_state) in psci_stat_residency() argument 220 int rc = psci_get_stat(target_cpu, power_state, &psci_stat); in psci_stat_residency() 230 unsigned int power_state) in psci_stat_count() argument 233 int rc = psci_get_stat(target_cpu, power_state, &psci_stat); in psci_stat_count()
|
D | psci_common.c | 113 int psci_validate_power_state(unsigned int power_state, in psci_validate_power_state() argument 117 if (psci_check_power_state(power_state)) in psci_validate_power_state() 123 return psci_plat_pm_ops->validate_power_state(power_state, state_info); in psci_validate_power_state() 946 unsigned int power_state; in psci_get_suspend_stateid() local 947 power_state = psci_get_suspend_powerstate(); in psci_get_suspend_stateid() 948 if (power_state != PSCI_INVALID_DATA) in psci_get_suspend_stateid() 949 return psci_get_pstate_id(power_state); in psci_get_suspend_stateid()
|
D | psci_private.h | 202 int psci_validate_power_state(unsigned int power_state, 271 unsigned int power_state); 273 unsigned int power_state);
|
D | psci_main.c | 51 int psci_cpu_suspend(unsigned int power_state, in psci_cpu_suspend() argument 62 rc = psci_validate_power_state(power_state, &state_info); in psci_cpu_suspend() 71 is_power_down_state = psci_get_pstate_type(power_state); in psci_cpu_suspend()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scpi/ |
D | css_scpi.c | 180 int power_state, cpu, cluster, rc = -1; in scpi_get_css_power_state() local 221 power_state = *(((uint16_t *) SCPI_RES_PAYLOAD_SCP_TO_AP) + cluster); in scpi_get_css_power_state() 222 if (CLUSTER_ID(power_state) != cluster) in scpi_get_css_power_state() 227 *cluster_state_p = CLUSTER_POWER_STATE(power_state); in scpi_get_css_power_state() 229 *cpu_state_p = CPU_POWER_STATE(power_state); in scpi_get_css_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/poplar/ |
D | plat_pm.c | 109 static int32_t poplar_validate_power_state(unsigned int power_state, in poplar_validate_power_state() argument 112 VERBOSE("%s: power_state: 0x%x\n", __func__, power_state); in poplar_validate_power_state() 114 int pstate = psci_get_pstate_type(power_state); in poplar_validate_power_state() 125 if (psci_get_pstate_id(power_state)) in poplar_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/common/ |
D | css_pm.c | 260 static int css_validate_power_state(unsigned int power_state, in css_validate_power_state() argument 264 rc = arm_validate_power_state(power_state, req_state); in css_validate_power_state() 282 unsigned int power_state, in css_translate_power_state_by_mpidr() argument 285 return arm_validate_power_state(power_state, output_state); in css_translate_power_state_by_mpidr()
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/psci/ |
D | psci_compat.h | 63 void (*affinst_standby)(unsigned int power_state); 77 int (*validate_power_state)(unsigned int power_state);
|
D | psci.h | 293 int (*validate_power_state)(unsigned int power_state, 301 unsigned int power_state, 318 int psci_cpu_suspend(unsigned int power_state,
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/fvp/ |
D | fvp_pm.c | 359 static int fvp_validate_power_state(unsigned int power_state, in fvp_validate_power_state() argument 363 rc = arm_validate_power_state(power_state, req_state); in fvp_validate_power_state() 381 unsigned int power_state, in fvp_translate_power_state_by_mpidr() argument 384 return arm_validate_power_state(power_state, output_state); in fvp_translate_power_state_by_mpidr()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/qemu/ |
D | qemu_pm.c | 63 static int qemu_validate_power_state(unsigned int power_state, in qemu_validate_power_state() argument 77 if (power_state == qemu_pm_idle_states[i]) in qemu_validate_power_state() 86 state_id = psci_get_pstate_id(power_state); in qemu_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/ |
D | plat_pm.c | 269 static void plat_affinst_standby(unsigned int power_state) in plat_affinst_standby() argument 274 target_afflvl = psci_get_pstate_afflvl(power_state); in plat_affinst_standby() 695 static int plat_validate_power_state(unsigned int power_state, in plat_validate_power_state() argument 698 int pstate = psci_get_pstate_type(power_state); in plat_validate_power_state() 699 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in plat_validate_power_state() 727 if (psci_get_pstate_id(power_state)) in plat_validate_power_state() 733 int plat_validate_power_state(unsigned int power_state, in plat_validate_power_state() argument 747 if (power_state == mtk_pm_idle_states[i]) in plat_validate_power_state() 756 state_id = psci_get_pstate_id(power_state); in plat_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/ |
D | hikey_pm.c | 213 int hikey_validate_power_state(unsigned int power_state, in hikey_validate_power_state() argument 216 int pstate = psci_get_pstate_type(power_state); in hikey_validate_power_state() 217 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in hikey_validate_power_state() 245 if (psci_get_pstate_id(power_state)) in hikey_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey960/ |
D | hikey960_pm.c | 124 int hikey960_validate_power_state(unsigned int power_state, in hikey960_validate_power_state() argument 127 int pstate = psci_get_pstate_type(power_state); in hikey960_validate_power_state() 128 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in hikey960_validate_power_state() 156 if (psci_get_pstate_id(power_state)) in hikey960_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t132/ |
D | plat_psci_handlers.c | 35 int32_t tegra_soc_validate_power_state(unsigned int power_state, in tegra_soc_validate_power_state() argument 38 int state_id = psci_get_pstate_id(power_state); in tegra_soc_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/ |
D | plat_pm.c | 129 int rockchip_validate_power_state(unsigned int power_state, in rockchip_validate_power_state() argument 132 int pstate = psci_get_pstate_type(power_state); in rockchip_validate_power_state() 133 int pwr_lvl = psci_get_pstate_pwrlvl(power_state); in rockchip_validate_power_state() 163 if (psci_get_pstate_id(power_state)) in rockchip_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/xilinx/zynqmp/ |
D | plat_psci.c | 291 int zynqmp_validate_power_state(unsigned int power_state, in zynqmp_validate_power_state() argument 294 VERBOSE("%s: power_state: 0x%x\n", __func__, power_state); in zynqmp_validate_power_state() 296 int pstate = psci_get_pstate_type(power_state); in zynqmp_validate_power_state() 307 if (psci_get_pstate_id(power_state)) in zynqmp_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t210/ |
D | plat_psci_handlers.c | 34 int32_t tegra_soc_validate_power_state(unsigned int power_state, in tegra_soc_validate_power_state() argument 37 int state_id = psci_get_pstate_id(power_state); in tegra_soc_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/ |
D | plat_psci_handlers.c | 46 int32_t tegra_soc_validate_power_state(unsigned int power_state, in tegra_soc_validate_power_state() argument 49 int state_id = psci_get_pstate_id(power_state) & TEGRA186_STATE_ID_MASK; in tegra_soc_validate_power_state() 53 percpu_data[cpu].wake_time = (power_state & TEGRA186_WAKE_TIME_MASK) in tegra_soc_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/common/ |
D | tegra_pm.c | 305 int32_t tegra_validate_power_state(unsigned int power_state, in tegra_validate_power_state() argument 310 return tegra_soc_validate_power_state(power_state, req_state); in tegra_validate_power_state()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/include/ |
D | tegra_private.h | 54 int32_t tegra_soc_validate_power_state(unsigned int power_state,
|
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt6795/ |
D | plat_pm.c | 209 static void plat_affinst_standby(unsigned int power_state) in plat_affinst_standby() argument 214 target_afflvl = psci_get_pstate_afflvl(power_state); in plat_affinst_standby()
|
/device/linaro/bootloader/arm-trusted-firmware/include/plat/arm/common/ |
D | plat_arm.h | 120 int arm_validate_power_state(unsigned int power_state,
|