| /arm-trusted-firmware/plat/mediatek/mt8186/drivers/mcdi/ |
| H 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() argument 30 static int pwr_state_reflect(unsigned int cpu, const psci_power_state_t *state) in pwr_state_reflect() argument 41 static int pwr_cpu_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwron() argument 46 static int pwr_cpu_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwrdwn() argument 54 static int pwr_cluster_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwron() argument 59 static int pwr_cluster_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwrdwn() argument 64 static int pwr_mcusys_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwron() argument 75 static int pwr_mcusys_pwron_finished(unsigned int cpu, in pwr_mcusys_pwron_finished() argument 90 pwr_mcusys_pwrdwn(unsigned int cpu,const psci_power_state_t * state) pwr_mcusys_pwrdwn() argument [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8192/drivers/mcdi/ |
| H 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() argument 30 static int pwr_state_reflect(unsigned int cpu, const psci_power_state_t *state) in pwr_state_reflect() argument 41 static int pwr_cpu_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwron() argument 46 static int pwr_cpu_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwrdwn() argument 54 static int pwr_cluster_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwron() argument 59 static int pwr_cluster_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwrdwn() argument 64 static int pwr_mcusys_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwron() argument 75 static int pwr_mcusys_pwron_finished(unsigned int cpu, in pwr_mcusys_pwron_finished() argument 90 pwr_mcusys_pwrdwn(unsigned int cpu,const psci_power_state_t * state) pwr_mcusys_pwrdwn() argument [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8195/drivers/mcdi/ |
| H 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() argument 30 static int pwr_state_reflect(unsigned int cpu, const psci_power_state_t *state) in pwr_state_reflect() argument 41 static int pwr_cpu_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwron() argument 46 static int pwr_cpu_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwrdwn() argument 54 static int pwr_cluster_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwron() argument 59 static int pwr_cluster_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwrdwn() argument 64 static int pwr_mcusys_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwron() argument 75 static int pwr_mcusys_pwron_finished(unsigned int cpu, in pwr_mcusys_pwron_finished() argument 90 pwr_mcusys_pwrdwn(unsigned int cpu,const psci_power_state_t * state) pwr_mcusys_pwrdwn() argument [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8186/drivers/spmc/ |
| H A D | mtspmc.c | 18 void mcucfg_disable_gic_wakeup(unsigned int cluster, unsigned int cpu) in mcucfg_disable_gic_wakeup() argument 23 void mcucfg_enable_gic_wakeup(unsigned int cluster, unsigned int cpu) in mcucfg_enable_gic_wakeup() argument 30 void mcucfg_set_bootaddr(unsigned int cluster, unsigned int cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() argument 37 uintptr_t mcucfg_get_bootaddr(unsigned int cluster, unsigned int cpu) in mcucfg_get_bootaddr() argument 44 mcucfg_init_archstate(unsigned int cluster,unsigned int cpu,bool arm64) mcucfg_init_archstate() argument 80 spm_get_cpu_powerstate(unsigned int cluster,unsigned int cpu) spm_get_cpu_powerstate() argument 91 unsigned int cpu = plat_my_core_pos(); spmc_init() local 124 spm_poweron_cpu(unsigned int cluster,unsigned int cpu) spm_poweron_cpu() argument 146 spm_poweroff_cpu(unsigned int cluster,unsigned int cpu) spm_poweroff_cpu() argument [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8186/ |
| H A D | plat_pm.c | 40 static inline int plat_mt_pm_invoke(int (*func)(unsigned int cpu, in plat_mt_pm_invoke() argument 56 static void plat_cpu_pwrdwn_common(unsigned int cpu, in plat_cpu_pwrdwn_common() argument 75 static void plat_cpu_pwron_common(unsigned int cpu, in plat_cpu_pwron_common() argument 103 plat_cluster_pwrdwn_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_cluster_pwrdwn_common() argument 120 plat_cluster_pwron_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_cluster_pwron_common() argument 139 plat_mcusys_pwrdwn_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_mcusys_pwrdwn_common() argument 153 plat_mcusys_pwron_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_mcusys_pwron_common() argument 190 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); plat_power_domain_on() local 212 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); plat_power_domain_on_finish() local 229 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); plat_power_domain_off() local 246 unsigned int cpu = plat_my_core_pos(); plat_power_domain_suspend() local 269 unsigned int cpu = plat_my_core_pos(); plat_power_domain_suspend_finish() local 295 unsigned int cpu = plat_my_core_pos(); plat_validate_power_state() local 325 unsigned int cpu = plat_my_core_pos(); plat_get_sys_suspend_power_state() local [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8192/drivers/spmc/ |
| H A D | mtspmc.c | 18 void mcucfg_disable_gic_wakeup(uint32_t cluster, uint32_t cpu) in mcucfg_disable_gic_wakeup() argument 23 void mcucfg_enable_gic_wakeup(uint32_t cluster, uint32_t cpu) in mcucfg_enable_gic_wakeup() argument 28 void mcucfg_set_bootaddr(uint32_t cluster, uint32_t cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() argument 35 uintptr_t mcucfg_get_bootaddr(uint32_t cluster, uint32_t cpu) in mcucfg_get_bootaddr() argument 42 void mcucfg_init_archstate(uint32_t cluster, uint32_t cpu, bool arm64) in mcucfg_init_archstate() argument 78 spm_get_cpu_powerstate(uint32_t cluster,uint32_t cpu) spm_get_cpu_powerstate() argument 124 spm_poweron_cpu(uint32_t cluster,uint32_t cpu) spm_poweron_cpu() argument 151 spm_poweroff_cpu(uint32_t cluster,uint32_t cpu) spm_poweroff_cpu() argument [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8195/drivers/spmc/ |
| H A D | mtspmc.c | 18 void mcucfg_disable_gic_wakeup(unsigned int cluster, unsigned int cpu) in mcucfg_disable_gic_wakeup() argument 23 void mcucfg_enable_gic_wakeup(unsigned int cluster, unsigned int cpu) in mcucfg_enable_gic_wakeup() argument 28 void mcucfg_set_bootaddr(unsigned int cluster, unsigned int cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() argument 35 uintptr_t mcucfg_get_bootaddr(unsigned int cluster, unsigned int cpu) in mcucfg_get_bootaddr() argument 42 void mcucfg_init_archstate(unsigned int cluster, unsigned int cpu, bool arm64) in mcucfg_init_archstate() argument 78 spm_get_cpu_powerstate(unsigned int cluster,unsigned int cpu) spm_get_cpu_powerstate() argument 117 spm_poweron_cpu(unsigned int cluster,unsigned int cpu) spm_poweron_cpu() argument 140 spm_poweroff_cpu(unsigned int cluster,unsigned int cpu) spm_poweroff_cpu() argument [all...] |
| /arm-trusted-firmware/plat/hisilicon/hikey/ |
| H 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() argument 59 int hisi_cpus_powered_off_besides_curr(unsigned int cpu) in hisi_cpus_powered_off_besides_curr() argument 97 void hisi_ipc_cpu_on_off(unsigned int cpu, unsigned int cluster, in hisi_ipc_cpu_on_off() argument 119 void hisi_ipc_cpu_on(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_on() argument 124 hisi_ipc_cpu_off(unsigned int cpu,unsigned int cluster) hisi_ipc_cpu_off() argument 129 hisi_ipc_cluster_on_off(unsigned int cpu,unsigned int cluster,unsigned int mode) hisi_ipc_cluster_on_off() argument 151 hisi_ipc_cluster_on(unsigned int cpu,unsigned int cluster) hisi_ipc_cluster_on() argument 156 hisi_ipc_cluster_off(unsigned int cpu,unsigned int cluster) hisi_ipc_cluster_off() argument 161 hisi_ipc_cpu_suspend(unsigned int cpu,unsigned int cluster) hisi_ipc_cpu_suspend() argument 177 hisi_ipc_cluster_suspend(unsigned int cpu,unsigned int cluster) hisi_ipc_cluster_suspend() argument [all...] |
| H 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; hikey_pwr_domain_off() local 100 unsigned int cpu = mpidr & MPIDR_CPU_MASK; hikey_pwr_domain_suspend() local 136 unsigned int cluster, cpu; hikey_pwr_domain_suspend_finish() local [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8195/ |
| H A D | plat_pm.c | 62 static void plat_cpu_pwrdwn_common(unsigned int cpu, in plat_cpu_pwrdwn_common() argument 80 static void plat_cpu_pwron_common(unsigned int cpu, in plat_cpu_pwron_common() argument 111 plat_cluster_pwrdwn_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_cluster_pwrdwn_common() argument 126 plat_cluster_pwron_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_cluster_pwron_common() argument 144 plat_mcusys_pwrdwn_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_mcusys_pwrdwn_common() argument 157 plat_mcusys_pwron_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_mcusys_pwron_common() argument 195 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); plat_power_domain_on() local 217 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); plat_power_domain_on_finish() local 234 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); plat_power_domain_off() local 251 unsigned int cpu = plat_my_core_pos(); plat_power_domain_suspend() local 273 unsigned int cpu = plat_my_core_pos(); plat_power_domain_suspend_finish() local 298 unsigned int cpu = plat_my_core_pos(); plat_validate_power_state() local 328 unsigned int cpu = plat_my_core_pos(); plat_get_sys_suspend_power_state() local [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8192/ |
| H A D | plat_pm.c | 62 static void plat_cpu_pwrdwn_common(unsigned int cpu, in plat_cpu_pwrdwn_common() argument 82 static void plat_cpu_pwron_common(unsigned int cpu, in plat_cpu_pwron_common() argument 113 plat_cluster_pwrdwn_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_cluster_pwrdwn_common() argument 128 plat_cluster_pwron_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_cluster_pwron_common() argument 146 plat_mcusys_pwrdwn_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_mcusys_pwrdwn_common() argument 159 plat_mcusys_pwron_common(unsigned int cpu,const psci_power_state_t * state,unsigned int req_pstate) plat_mcusys_pwron_common() argument 197 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); plat_power_domain_on() local 219 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); plat_power_domain_on_finish() local 236 unsigned int cpu = (unsigned int)plat_core_pos_by_mpidr(mpidr); plat_power_domain_off() local 253 unsigned int cpu = plat_my_core_pos(); plat_power_domain_suspend() local 275 unsigned int cpu = plat_my_core_pos(); plat_power_domain_suspend_finish() local 300 unsigned int cpu = plat_my_core_pos(); plat_validate_power_state() local 326 unsigned int cpu = plat_my_core_pos(); plat_get_sys_suspend_power_state() local [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8183/drivers/spmc/ |
| H A D | mtspmc.c | 40 void spm_enable_cpu_auto_off(int cluster, int cpu) in spm_enable_cpu_auto_off() argument 48 void spm_disable_cpu_auto_off(int cluster, int cpu) in spm_disable_cpu_auto_off() argument 56 void spm_set_cpu_power_off(int cluster, int cpu) in spm_set_cpu_power_off() argument 73 void mcucfg_set_bootaddr(int cluster, int cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() argument 90 mcucfg_get_bootaddr(int cluster,int cpu) mcucfg_get_bootaddr() argument 107 mcucfg_init_archstate(int cluster,int cpu,int arm64) mcucfg_init_archstate() argument 141 spm_get_cpu_powerstate(int cluster,int cpu) spm_get_cpu_powerstate() argument 203 spm_poweron_cpu(int cluster,int cpu) spm_poweron_cpu() argument 230 spm_poweroff_cpu(int cluster,int cpu) spm_poweroff_cpu() argument [all...] |
| /arm-trusted-firmware/plat/nvidia/tegra/drivers/flowctrl/ |
| H 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; tegra_fc_is_ccx_allowed() local 203 int cpu = mpidr & MPIDR_CPU_MASK; tegra_fc_soc_powerdn() local 222 tegra_fc_cpu_on(int cpu) tegra_fc_cpu_on() argument 231 tegra_fc_cpu_off(int cpu) tegra_fc_cpu_off() argument [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8195/drivers/spm/constraints/ |
| H 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() argument 68 int spm_run_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_run_rc_cpu_buck_ldo() argument 92 int spm_reset_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_reset_rc_cpu_buck_ldo() argument
|
| H 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() argument 132 int spm_run_rc_syspll(unsigned int cpu, int state_id) in spm_run_rc_syspll() argument 168 int spm_reset_rc_syspll(unsigned int cpu, int state_id) in spm_reset_rc_syspll() argument
|
| H 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() argument 133 int spm_run_rc_dram(unsigned int cpu, int state_id) in spm_run_rc_dram() argument 169 int spm_reset_rc_dram(unsigned int cpu, int state_id) in spm_reset_rc_dram() argument
|
| /arm-trusted-firmware/plat/mediatek/mt8192/drivers/spm/constraints/ |
| H 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() argument 67 int spm_run_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_run_rc_cpu_buck_ldo() argument 90 int spm_reset_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_reset_rc_cpu_buck_ldo() argument
|
| H 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() argument 124 int spm_run_rc_dram(unsigned int cpu, int state_id) in spm_run_rc_dram() argument 159 int spm_reset_rc_dram(unsigned int cpu, int state_id) in spm_reset_rc_dram() argument
|
| H 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() argument 124 int spm_run_rc_syspll(unsigned int cpu, int state_id) in spm_run_rc_syspll() argument 160 int spm_reset_rc_syspll(unsigned int cpu, int state_id) in spm_reset_rc_syspll() argument
|
| /arm-trusted-firmware/plat/mediatek/mt8183/ |
| H 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() argument 146 static bool clst_single_on(int cluster, int cpu) in clst_single_on() argument 212 static void mcdi_ctrl_before_hotplug_on(int cluster, int cpu) in mcdi_ctrl_before_hotplug_on() argument 220 mcdi_ctrl_before_hotplug_off(int cluster,int cpu,bool cluster_off) mcdi_ctrl_before_hotplug_off() argument 227 mcdi_ctrl_cluster_cpu_off(int cluster,int cpu,bool cluster_off) mcdi_ctrl_cluster_cpu_off() argument 253 hotplug_ctrl_cluster_on(int cluster,int cpu) hotplug_ctrl_cluster_on() argument 266 hotplug_ctrl_cpu_on(int cluster,int cpu) hotplug_ctrl_cpu_on() argument 274 hotplug_ctrl_cpu_on_finish(int cluster,int cpu) hotplug_ctrl_cpu_on_finish() argument 286 hotplug_ctrl_cluster_cpu_off(int cluster,int cpu,bool cluster_off) hotplug_ctrl_cluster_cpu_off() argument 305 int cpu = MPIDR_AFFLVL0_VAL(mpidr); plat_mtk_power_domain_on() local 329 int cpu = MPIDR_AFFLVL0_VAL(mpidr); plat_mtk_power_domain_off() local 348 int cpu = MPIDR_AFFLVL0_VAL(mpidr); plat_mtk_power_domain_on_finish() local 364 int cpu = MPIDR_AFFLVL0_VAL(mpidr); plat_mtk_power_domain_suspend() local [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8186/drivers/spm/constraints/ |
| H A D | mt_spm_rc_cpu_buck_ldo.c | 51 bool spm_is_valid_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_is_valid_rc_cpu_buck_ldo() argument 66 int spm_run_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_run_rc_cpu_buck_ldo() argument 90 int spm_reset_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_reset_rc_cpu_buck_ldo() argument
|
| H 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() argument 124 int spm_run_rc_dram(unsigned int cpu, int state_id) in spm_run_rc_dram() argument 157 int spm_reset_rc_dram(unsigned int cpu, int state_id) in spm_reset_rc_dram() argument
|
| H A D | mt_spm_rc_syspll.c | 90 bool spm_is_valid_rc_syspll(unsigned int cpu, int state_id) in spm_is_valid_rc_syspll() argument 131 int spm_run_rc_syspll(unsigned int cpu, int state_id) in spm_run_rc_syspll() argument 165 int spm_reset_rc_syspll(unsigned int cpu, int state_id) in spm_reset_rc_syspll() argument
|
| /arm-trusted-firmware/services/spd/tlkd/ |
| H 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
|
| /arm-trusted-firmware/plat/imx/imx93/include/ |
| H A D | pwr_ctrl.h | 76 static inline void gpc_force_cpu_suspend(unsigned int cpu) in gpc_force_cpu_suspend() argument 91 static inline void gpc_set_cpu_mode(unsigned int cpu, unsigned int mode) in gpc_set_cpu_mode() argument 96 static inline void gpc_select_wakeup_gic(unsigned int cpu) in gpc_select_wakeup_gic() argument 101 static inline void gpc_select_wakeup_raw_irq(unsigned int cpu) in gpc_select_wakeup_raw_irq() argument 106 static inline void gpc_assert_sw_wakeup(unsigned int cpu) in gpc_assert_sw_wakeup() argument 111 gpc_deassert_sw_wakeup(unsigned int cpu) gpc_deassert_sw_wakeup() argument 116 gpc_clear_cpu_sleep_hold(unsigned int cpu) gpc_clear_cpu_sleep_hold() argument 121 gpc_set_irq_mask(unsigned int cpu,unsigned int idx,uint32_t mask) gpc_set_irq_mask() argument [all...] |