Lines Matching defs:cluster_id
77 unsigned int cluster_id = MPIDR_AFFLVL1_VAL(mpidr);
80 sc_pm_set_resource_power_mode(ipc_handle, cluster_id == 0 ?
83 if (cluster_id == 1)
87 ap_core_index[cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id],
89 ERROR("core %d power on failed!\n", cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id);
94 ap_core_index[cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id],
96 ERROR("boot core %d failed!\n", cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id);
117 unsigned int cluster_id = MPIDR_AFFLVL1_VAL(mpidr);
122 ap_core_index[cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id],
126 cci_disable_snoop_dvm_reqs(cluster_id);
127 if (cluster_id == 1)
130 printf("turn off cluster:%d core:%d\n", cluster_id, cpu_id);
136 unsigned int cluster_id = MPIDR_AFFLVL1_VAL(mpidr);
142 ap_core_index[cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id],
145 ap_core_index[cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id],
155 if (cluster_id == 1)
196 ap_core_index[cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id],
200 ap_core_index[cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id],
204 ap_core_index[cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id],
212 unsigned int cluster_id = MPIDR_AFFLVL1_VAL(mpidr);
220 ap_core_index[cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id],
264 if (cluster_id == 1)
271 ap_core_index[cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id],
274 ap_core_index[cpu_id + PLATFORM_CLUSTER0_CORE_COUNT * cluster_id],