/trusted-firmware-a/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() 71 bool spm_get_cluster_powerstate(uint32_t cluster) in spm_get_cluster_powerstate() 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() 162 void spm_poweroff_cluster(uint32_t cluster) in spm_poweroff_cluster() [all …]
|
A D | mtspmc_private.h | 27 #define per_cpu(cluster, cpu, reg) \ argument 30 #define per_cluster(cluster, reg) (reg[cluster].cluster_addr) argument
|
/trusted-firmware-a/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() 71 bool spm_get_cluster_powerstate(unsigned int cluster) in spm_get_cluster_powerstate() 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() 151 void spm_poweroff_cluster(unsigned int cluster) in spm_poweroff_cluster() [all …]
|
/trusted-firmware-a/plat/mediatek/mt8183/drivers/spmc/ |
A D | mtspmc.c | 22 static void set_retention(int cluster, int tick) in set_retention() 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() 61 void spm_enable_cluster_auto_off(int cluster) in spm_enable_cluster_auto_off() 132 int spm_get_cluster_powerstate(int cluster) in spm_get_cluster_powerstate() 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() 257 void spm_poweroff_cluster(int cluster) in spm_poweroff_cluster() [all …]
|
/trusted-firmware-a/plat/hisilicon/hikey960/drivers/pwrc/ |
A D | hisi_pwrc.c | 40 #define CPUIDLE_FLAG_REG(cluster) \ argument 114 void hisi_cpuidle_lock(unsigned int cluster, unsigned int core) in hisi_cpuidle_lock() 122 void hisi_cpuidle_unlock(unsigned int cluster, unsigned int core) in hisi_cpuidle_unlock() 129 unsigned int hisi_get_cpuidle_flag(unsigned int cluster) in hisi_get_cpuidle_flag() 165 void hisi_set_cluster_pwdn_flag(unsigned int cluster, in hisi_set_cluster_pwdn_flag() 231 int cluster_is_powered_on(unsigned int cluster) in cluster_is_powered_on() 244 static void *hisi_get_pdc_addr(unsigned int cluster) in hisi_get_pdc_addr() 258 static unsigned int hisi_get_pdc_stat(unsigned int cluster) in hisi_get_pdc_stat() 296 void hisi_disable_pdc(unsigned int cluster) in hisi_disable_pdc() 303 void hisi_enable_pdc(unsigned int cluster) in hisi_enable_pdc() [all …]
|
/trusted-firmware-a/plat/allwinner/common/ |
A D | sunxi_cpu_ops.c | 22 static void sunxi_cpu_disable_power(unsigned int cluster, unsigned int core) in sunxi_cpu_disable_power() 32 static void sunxi_cpu_enable_power(unsigned int cluster, unsigned int core) in sunxi_cpu_enable_power() 51 unsigned int cluster = MPIDR_AFFLVL1_VAL(mpidr); in sunxi_cpu_off() local 69 unsigned int cluster = MPIDR_AFFLVL1_VAL(mpidr); in sunxi_cpu_on() local 96 unsigned int cluster; in sunxi_cpu_power_off_others() local
|
A D | sunxi_topology.c | 23 unsigned int cluster = MPIDR_AFFLVL1_VAL(mpidr); in plat_core_pos_by_mpidr() local
|
/trusted-firmware-a/plat/hisilicon/hikey/ |
A D | hisi_ipc.c | 38 unsigned int cluster) in hisi_cpus_pd_in_cluster_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 | hisi_pwrc.c | 25 void hisi_pwrc_set_core_bx_addr(unsigned int core, unsigned int cluster, in hisi_pwrc_set_core_bx_addr() 40 void hisi_pwrc_set_cluster_wfi(unsigned int cluster) in hisi_pwrc_set_cluster_wfi() 55 void hisi_pwrc_enable_debug(unsigned int core, unsigned int cluster) in hisi_pwrc_enable_debug()
|
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 101 unsigned int cluster = in hikey_pwr_domain_suspend() local 136 unsigned int cluster, cpu; in hikey_pwr_domain_suspend_finish() local
|
/trusted-firmware-a/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() 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() 306 int cluster = MPIDR_AFFLVL1_VAL(mpidr); in plat_mtk_power_domain_on() local 330 int cluster = MPIDR_AFFLVL1_VAL(mpidr); in plat_mtk_power_domain_off() local 349 int cluster = MPIDR_AFFLVL1_VAL(mpidr); in plat_mtk_power_domain_on_finish() local 365 int cluster = MPIDR_AFFLVL1_VAL(mpidr); in plat_mtk_power_domain_suspend() local [all …]
|
/trusted-firmware-a/drivers/marvell/ |
A D | ap807_clocks_init.c | 15 #define AP807_CPU_ARO_CTRL(cluster) \ argument 36 #define AP807_CPU_PLL_CTRL(cluster) \ argument 39 #define AP807_CPU_PLL_PARAM(cluster) AP807_CPU_PLL_CTRL(cluster) argument 40 #define AP807_CPU_PLL_CFG(cluster) (AP807_CPU_PLL_CTRL(cluster) + 0x4) argument
|
/trusted-firmware-a/plat/mediatek/mt8183/drivers/mcdi/ |
A D | mtk_mcdi.c | 28 void sspm_cluster_pwr_off_notify(uint32_t cluster) in sspm_cluster_pwr_off_notify() 33 void sspm_cluster_pwr_on_notify(uint32_t cluster) in sspm_cluster_pwr_on_notify() 88 static uint32_t target_mask(int cluster, int cpu_idx, bool on) in target_mask() 109 void mcdi_pause_clr(int cluster, int cpu_idx, bool on) in mcdi_pause_clr() 118 void mcdi_pause_set(int cluster, int cpu_idx, bool on) in mcdi_pause_set() 155 void mcdi_hotplug_wait_ack(int cluster, int cpu_idx, bool on) in mcdi_hotplug_wait_ack() 165 void mcdi_hotplug_clr(int cluster, int cpu_idx, bool on) in mcdi_hotplug_clr() 183 void mcdi_hotplug_set(int cluster, int cpu_idx, bool on) in mcdi_hotplug_set()
|
/trusted-firmware-a/plat/hisilicon/hikey960/ |
A D | hikey960_pm.c | 65 unsigned int cluster = in hikey960_pwr_domain_on() local 96 unsigned int cluster = in hikey960_pwr_domain_off() local 192 unsigned int cluster = in hikey960_pwr_domain_suspend() local 268 unsigned int cluster = in hikey960_pwr_domain_suspend_finish() local
|
/trusted-firmware-a/plat/ti/k3/common/ |
A D | k3_topology.c | 28 unsigned int cluster = MPIDR_AFFLVL1_VAL(mpidr); in plat_core_pos_by_mpidr() local
|
A D | k3_psci.c | 88 int core, cluster, proc_id, device_id, cluster_id, ret; in k3_pwr_domain_off() local
|
/trusted-firmware-a/plat/hisilicon/hikey960/drivers/ipc/ |
A D | hisi_ipc.c | 133 void hisi_ipc_pm_on_off(unsigned int core, unsigned int cluster, in hisi_ipc_pm_on_off() 147 void hisi_ipc_pm_suspend(unsigned int core, unsigned int cluster, in hisi_ipc_pm_suspend() 165 void hisi_ipc_psci_system_off(unsigned int core, unsigned int cluster) in hisi_ipc_psci_system_off() 178 void hisi_ipc_psci_system_reset(unsigned int core, unsigned int cluster, in hisi_ipc_psci_system_reset()
|
/trusted-firmware-a/plat/rockchip/rk3368/drivers/pmu/ |
A D | pmu.c | 240 static int cpus_id_power_domain(uint32_t cluster, in cpus_id_power_domain() 298 uint32_t cpu, cluster; in rockchip_soc_cores_pwr_dm_on() local
|
/trusted-firmware-a/plat/mediatek/mt6795/ |
A D | plat_pm.c | 41 struct cluster_context cluster[PLATFORM_CLUSTER_COUNT]; member 56 static inline struct core_context *cluster_core(struct cluster_context *cluster, in cluster_core() 73 struct cluster_context *cluster; in get_core_data() local
|
/trusted-firmware-a/plat/mediatek/mt8192/drivers/mcdi/ |
A D | mt_cpu_pm_cpc.c | 59 int mtk_cpu_pm_cluster_prot_aquire(unsigned int cluster) in mtk_cpu_pm_cluster_prot_aquire() 67 void mtk_cpu_pm_cluster_prot_release(unsigned int cluster) in mtk_cpu_pm_cluster_prot_release()
|
/trusted-firmware-a/plat/mediatek/mt8195/drivers/mcdi/ |
A D | mt_cpu_pm_cpc.c | 59 int mtk_cpu_pm_cluster_prot_aquire(unsigned int cluster) in mtk_cpu_pm_cluster_prot_aquire() 67 void mtk_cpu_pm_cluster_prot_release(unsigned int cluster) in mtk_cpu_pm_cluster_prot_release()
|
/trusted-firmware-a/plat/mediatek/mt8173/ |
A D | plat_pm.c | 84 struct cluster_context cluster[PLATFORM_CLUSTER_COUNT]; member 99 static inline struct core_context *cluster_core(struct cluster_context *cluster, in cluster_core() 116 struct cluster_context *cluster; in get_core_data() local
|
/trusted-firmware-a/plat/nvidia/tegra/include/drivers/ |
A D | mce.h | 53 uint32_t cluster; member
|
/trusted-firmware-a/plat/brcm/common/ |
A D | brcm_scpi.c | 183 int power_state, cpu, cluster, rc = -1; in scpi_get_brcm_power_state() local
|
/trusted-firmware-a/plat/nvidia/tegra/soc/t194/drivers/mce/ |
A D | nvg.c | 61 void nvg_update_cstate_info(uint32_t cluster, uint32_t ccplex, in nvg_update_cstate_info()
|