Lines Matching refs:cluster_off
220 static void mcdi_ctrl_before_hotplug_off(int cluster, int cpu, bool cluster_off) in mcdi_ctrl_before_hotplug_off() argument
223 mcdi_pause_set(cluster_off ? cluster : -1, in mcdi_ctrl_before_hotplug_off()
227 static void mcdi_ctrl_cluster_cpu_off(int cluster, int cpu, bool cluster_off) in mcdi_ctrl_cluster_cpu_off() argument
234 if (cluster_off) in mcdi_ctrl_cluster_cpu_off()
286 static void hotplug_ctrl_cluster_cpu_off(int cluster, int cpu, bool cluster_off) in hotplug_ctrl_cluster_cpu_off() argument
291 mcdi_hotplug_set(cluster_off ? cluster : -1, in hotplug_ctrl_cluster_cpu_off()
296 if (cluster_off) in hotplug_ctrl_cluster_cpu_off()
333 bool cluster_off = (HP_CLUSTER_OFF && afflvl1 && in plat_mtk_power_domain_off() local
338 if (cluster_off) in plat_mtk_power_domain_off()
341 mcdi_ctrl_before_hotplug_off(cluster, cpu, cluster_off); in plat_mtk_power_domain_off()
342 hotplug_ctrl_cluster_cpu_off(cluster, cpu, cluster_off); in plat_mtk_power_domain_off()
369 bool cluster_off = MCDI_C2 && afflvl1 && clst_single_pwr(cluster, cpu); in plat_mtk_power_domain_suspend() local
375 if (cluster_off || afflvl2) in plat_mtk_power_domain_suspend()
398 mcdi_ctrl_cluster_cpu_off(cluster, cpu, cluster_off); in plat_mtk_power_domain_suspend()