/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/mcdi/ |
A D | mt_cpu_pm.c | 25 static int pwr_state_prompt(unsigned int cpu, const psci_power_state_t *state) in pwr_state_prompt() 30 static int pwr_state_reflect(unsigned int cpu, const psci_power_state_t *state) in pwr_state_reflect() 41 static int pwr_cpu_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwron() 46 static int pwr_cpu_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwrdwn() 54 static int pwr_cluster_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwron() 59 static int pwr_cluster_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwrdwn() 64 static int pwr_mcusys_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwron() 75 static int pwr_mcusys_pwron_finished(unsigned int cpu, in pwr_mcusys_pwron_finished() 90 static int pwr_mcusys_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwrdwn()
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/mcdi/ |
A D | mt_cpu_pm.c | 25 static int pwr_state_prompt(unsigned int cpu, const psci_power_state_t *state) in pwr_state_prompt() 30 static int pwr_state_reflect(unsigned int cpu, const psci_power_state_t *state) in pwr_state_reflect() 41 static int pwr_cpu_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwron() 46 static int pwr_cpu_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwrdwn() 54 static int pwr_cluster_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwron() 59 static int pwr_cluster_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwrdwn() 64 static int pwr_mcusys_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwron() 75 static int pwr_mcusys_pwron_finished(unsigned int cpu, in pwr_mcusys_pwron_finished() 90 static int pwr_mcusys_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwrdwn()
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/spmc/ |
A D | mtspmc.c | 18 void mcucfg_disable_gic_wakeup(uint32_t cluster, uint32_t cpu) in mcucfg_disable_gic_wakeup() 23 void mcucfg_enable_gic_wakeup(uint32_t cluster, uint32_t cpu) in mcucfg_enable_gic_wakeup() 28 void mcucfg_set_bootaddr(uint32_t cluster, uint32_t cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() 35 uintptr_t mcucfg_get_bootaddr(uint32_t cluster, uint32_t cpu) in mcucfg_get_bootaddr() 42 void mcucfg_init_archstate(uint32_t cluster, uint32_t cpu, bool arm64) in mcucfg_init_archstate() 78 bool spm_get_cpu_powerstate(uint32_t cluster, uint32_t cpu) in spm_get_cpu_powerstate() 124 void spm_poweron_cpu(uint32_t cluster, uint32_t cpu) in spm_poweron_cpu() 151 void spm_poweroff_cpu(uint32_t cluster, uint32_t cpu) in spm_poweroff_cpu()
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/spmc/ |
A D | mtspmc.c | 18 void mcucfg_disable_gic_wakeup(unsigned int cluster, unsigned int cpu) in mcucfg_disable_gic_wakeup() 23 void mcucfg_enable_gic_wakeup(unsigned int cluster, unsigned int cpu) in mcucfg_enable_gic_wakeup() 28 void mcucfg_set_bootaddr(unsigned int cluster, unsigned int cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() 35 uintptr_t mcucfg_get_bootaddr(unsigned int cluster, unsigned int cpu) in mcucfg_get_bootaddr() 42 void mcucfg_init_archstate(unsigned int cluster, unsigned int cpu, bool arm64) in mcucfg_init_archstate() 78 bool spm_get_cpu_powerstate(unsigned int cluster, unsigned int cpu) in spm_get_cpu_powerstate() 117 void spm_poweron_cpu(unsigned int cluster, unsigned int cpu) in spm_poweron_cpu() 140 void spm_poweroff_cpu(unsigned int cluster, unsigned int cpu) in spm_poweroff_cpu()
|
/tf-a-ffa_el3_spmc/plat/hisilicon/hikey/ |
A D | hisi_ipc.c | 37 int hisi_cpus_pd_in_cluster_besides_curr(unsigned int cpu, in hisi_cpus_pd_in_cluster_besides_curr() 59 int hisi_cpus_powered_off_besides_curr(unsigned int cpu) in hisi_cpus_powered_off_besides_curr() 97 void hisi_ipc_cpu_on_off(unsigned int cpu, unsigned int cluster, in hisi_ipc_cpu_on_off() 119 void hisi_ipc_cpu_on(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_on() 124 void hisi_ipc_cpu_off(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_off() 129 void hisi_ipc_cluster_on_off(unsigned int cpu, unsigned int cluster, in hisi_ipc_cluster_on_off() 151 void hisi_ipc_cluster_on(unsigned int cpu, unsigned int cluster) in hisi_ipc_cluster_on() 156 void hisi_ipc_cluster_off(unsigned int cpu, unsigned int cluster) in hisi_ipc_cluster_off() 161 void hisi_ipc_cpu_suspend(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_suspend() 177 void hisi_ipc_cluster_suspend(unsigned int cpu, unsigned int cluster) in hisi_ipc_cluster_suspend()
|
A D | hikey_pm.c | 34 int cpu, cluster; in hikey_pwr_domain_on() local 53 int cpu, cluster; in hikey_pwr_domain_on_finish() local 79 int cpu, cluster; in hikey_pwr_domain_off() local 100 unsigned int cpu = mpidr & MPIDR_CPU_MASK; in hikey_pwr_domain_suspend() local 136 unsigned int cluster, cpu; in hikey_pwr_domain_suspend_finish() local
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/ |
A D | plat_pm.c | 62 static void plat_cpu_pwrdwn_common(unsigned int cpu, in plat_cpu_pwrdwn_common() 82 static void plat_cpu_pwron_common(unsigned int cpu, in plat_cpu_pwron_common() 113 static void plat_cluster_pwrdwn_common(unsigned int cpu, in plat_cluster_pwrdwn_common() 128 static void plat_cluster_pwron_common(unsigned int cpu, in plat_cluster_pwron_common() 146 static void plat_mcusys_pwrdwn_common(unsigned int cpu, in plat_mcusys_pwrdwn_common() 159 static void plat_mcusys_pwron_common(unsigned int cpu, in plat_mcusys_pwron_common() 197 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); in plat_power_domain_on() local 253 unsigned int cpu = plat_my_core_pos(); in plat_power_domain_suspend() local 275 unsigned int cpu = plat_my_core_pos(); in plat_power_domain_suspend_finish() local 300 unsigned int cpu = plat_my_core_pos(); in plat_validate_power_state() local [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/ |
A D | plat_pm.c | 61 static void plat_cpu_pwrdwn_common(unsigned int cpu, in plat_cpu_pwrdwn_common() 79 static void plat_cpu_pwron_common(unsigned int cpu, in plat_cpu_pwron_common() 110 static void plat_cluster_pwrdwn_common(unsigned int cpu, in plat_cluster_pwrdwn_common() 125 static void plat_cluster_pwron_common(unsigned int cpu, in plat_cluster_pwron_common() 143 static void plat_mcusys_pwrdwn_common(unsigned int cpu, in plat_mcusys_pwrdwn_common() 156 static void plat_mcusys_pwron_common(unsigned int cpu, in plat_mcusys_pwron_common() 192 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); in plat_power_domain_on() local 248 unsigned int cpu = plat_my_core_pos(); in plat_power_domain_suspend() local 270 unsigned int cpu = plat_my_core_pos(); in plat_power_domain_suspend_finish() local 295 unsigned int cpu = plat_my_core_pos(); in plat_validate_power_state() local [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8183/drivers/spmc/ |
A D | mtspmc.c | 40 void spm_enable_cpu_auto_off(int cluster, int cpu) in spm_enable_cpu_auto_off() 48 void spm_disable_cpu_auto_off(int cluster, int cpu) in spm_disable_cpu_auto_off() 56 void spm_set_cpu_power_off(int cluster, int cpu) in spm_set_cpu_power_off() 73 void mcucfg_set_bootaddr(int cluster, int cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() 90 uintptr_t mcucfg_get_bootaddr(int cluster, int cpu) in mcucfg_get_bootaddr() 107 void mcucfg_init_archstate(int cluster, int cpu, int arm64) in mcucfg_init_archstate() 141 int spm_get_cpu_powerstate(int cluster, int cpu) in spm_get_cpu_powerstate() 203 void spm_poweron_cpu(int cluster, int cpu) in spm_poweron_cpu() 230 void spm_poweroff_cpu(int cluster, int cpu) in spm_poweroff_cpu()
|
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/drivers/flowctrl/ |
A D | flowctrl.c | 86 unsigned int i, cpu = read_mpidr() & MPIDR_CPU_MASK; in tegra_fc_ccplex_pgexit_lock() local 125 int cpu = mpidr & MPIDR_CPU_MASK; in tegra_fc_cpu_powerdn() local 136 int cpu = mpidr & MPIDR_CPU_MASK; in tegra_fc_cluster_idle() local 157 int cpu = mpidr & MPIDR_CPU_MASK; in tegra_fc_cluster_powerdn() local 178 unsigned int i, cpu = read_mpidr() & MPIDR_CPU_MASK; in tegra_fc_is_ccx_allowed() local 203 int cpu = mpidr & MPIDR_CPU_MASK; in tegra_fc_soc_powerdn() local 222 void tegra_fc_cpu_on(int cpu) in tegra_fc_cpu_on() 231 void tegra_fc_cpu_off(int cpu) in tegra_fc_cpu_off()
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/spm/constraints/ |
A D | mt_spm_rc_cpu_buck_ldo.c | 52 bool spm_is_valid_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_is_valid_rc_cpu_buck_ldo() 67 int spm_run_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_run_rc_cpu_buck_ldo() 90 int spm_reset_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_reset_rc_cpu_buck_ldo()
|
A D | mt_spm_rc_dram.c | 84 bool spm_is_valid_rc_dram(unsigned int cpu, int state_id) in spm_is_valid_rc_dram() 124 int spm_run_rc_dram(unsigned int cpu, int state_id) in spm_run_rc_dram() 159 int spm_reset_rc_dram(unsigned int cpu, int state_id) in spm_reset_rc_dram()
|
A D | mt_spm_rc_syspll.c | 83 bool spm_is_valid_rc_syspll(unsigned int cpu, int state_id) in spm_is_valid_rc_syspll() 124 int spm_run_rc_syspll(unsigned int cpu, int state_id) in spm_run_rc_syspll() 160 int spm_reset_rc_syspll(unsigned int cpu, int state_id) in spm_reset_rc_syspll()
|
A D | mt_spm_rc_bus26m.c | 143 bool spm_is_valid_rc_bus26m(unsigned int cpu, int state_id) in spm_is_valid_rc_bus26m() 186 int spm_run_rc_bus26m(unsigned int cpu, int state_id) in spm_run_rc_bus26m() 209 int spm_reset_rc_bus26m(unsigned int cpu, int state_id) in spm_reset_rc_bus26m()
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/spm/constraints/ |
A D | mt_spm_rc_cpu_buck_ldo.c | 53 bool spm_is_valid_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_is_valid_rc_cpu_buck_ldo() 68 int spm_run_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_run_rc_cpu_buck_ldo() 92 int spm_reset_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_reset_rc_cpu_buck_ldo()
|
A D | mt_spm_rc_dram.c | 93 bool spm_is_valid_rc_dram(unsigned int cpu, int state_id) in spm_is_valid_rc_dram() 133 int spm_run_rc_dram(unsigned int cpu, int state_id) in spm_run_rc_dram() 169 int spm_reset_rc_dram(unsigned int cpu, int state_id) in spm_reset_rc_dram()
|
A D | mt_spm_rc_syspll.c | 91 bool spm_is_valid_rc_syspll(unsigned int cpu, int state_id) in spm_is_valid_rc_syspll() 132 int spm_run_rc_syspll(unsigned int cpu, int state_id) in spm_run_rc_syspll() 168 int spm_reset_rc_syspll(unsigned int cpu, int state_id) in spm_reset_rc_syspll()
|
A D | mt_spm_rc_bus26m.c | 153 bool spm_is_valid_rc_bus26m(unsigned int cpu, int state_id) in spm_is_valid_rc_bus26m() 196 int spm_run_rc_bus26m(unsigned int cpu, int state_id) in spm_run_rc_bus26m() 220 int spm_reset_rc_bus26m(unsigned int cpu, int state_id) in spm_reset_rc_bus26m()
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8183/ |
A D | plat_pm.c | 112 #define CPU_IDX(cluster, cpu) ((cluster << 2) + cpu) argument 136 static bool clst_single_pwr(int cluster, int cpu) in clst_single_pwr() 146 static bool clst_single_on(int cluster, int cpu) in clst_single_on() 212 static void mcdi_ctrl_before_hotplug_on(int cluster, int cpu) in mcdi_ctrl_before_hotplug_on() 253 static void hotplug_ctrl_cluster_on(int cluster, int cpu) in hotplug_ctrl_cluster_on() 266 static void hotplug_ctrl_cpu_on(int cluster, int cpu) in hotplug_ctrl_cpu_on() 274 static void hotplug_ctrl_cpu_on_finish(int cluster, int cpu) in hotplug_ctrl_cpu_on_finish() 305 int cpu = MPIDR_AFFLVL0_VAL(mpidr); in plat_mtk_power_domain_on() local 329 int cpu = MPIDR_AFFLVL0_VAL(mpidr); in plat_mtk_power_domain_off() local 348 int cpu = MPIDR_AFFLVL0_VAL(mpidr); in plat_mtk_power_domain_on_finish() local [all …]
|
/tf-a-ffa_el3_spmc/services/spd/tlkd/ |
A D | tlkd_pm.c | 43 int cpu = read_mpidr() & MPIDR_CPU_MASK; in cpu_suspend_handler() local 75 int cpu = read_mpidr() & MPIDR_CPU_MASK; in cpu_resume_handler() local
|
/tf-a-ffa_el3_spmc/plat/rockchip/rk3368/drivers/pmu/ |
A D | pmu.c | 241 uint32_t cpu, in cpus_id_power_domain() 267 uint32_t boot_cpu, boot_cluster, cpu; in nonboot_cpus_off() local 298 uint32_t cpu, cluster; in rockchip_soc_cores_pwr_dm_on() local 362 uint32_t cpu; in plat_rockchip_pmu_init() local
|
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/drivers/pmc/ |
A D | pmc.c | 30 void tegra_pmc_cpu_on(int32_t cpu) in tegra_pmc_cpu_on() 105 int i, cpu = read_mpidr() & MPIDR_CPU_MASK; in tegra_pmc_is_last_on_cpu() local
|
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/common/ |
A D | tegra_fiq_glue.c | 44 uint32_t cpu = plat_my_core_pos(); in tegra_fiq_interrupt_handler() local 132 uint32_t cpu = plat_my_core_pos(); in tegra_fiq_get_intr_context() local
|
/tf-a-ffa_el3_spmc/plat/allwinner/common/ |
A D | sunxi_pm.c | 34 for (unsigned int cpu = 0; cpu < PLATFORM_CORE_COUNT; ++cpu) { in plat_setup_psci_ops() local
|
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/soc/t186/ |
A D | plat_psci_handlers.c | 53 uint32_t cpu = plat_my_core_pos(); in tegra_soc_validate_power_state() local 105 uint32_t cpu = plat_my_core_pos(); in tegra_soc_pwr_domain_suspend() local 201 uint32_t cpu = plat_my_core_pos(); in tegra_get_afflvl1_pwr_state() local 262 uint32_t cpu = plat_my_core_pos(); in tegra_soc_get_target_pwr_state() local
|