Lines Matching refs:cpuid_topo
216 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
223 if (cpuid_topo->cluster_id != cpu_topo->cluster_id) in update_siblings_masks()
228 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks()
230 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
235 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()
241 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local
244 if (cpuid_topo->cluster_id != -1) in store_cpu_topology()
256 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
257 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology()
258 cpuid_topo->cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 2) | in store_cpu_topology()
262 cpuid_topo->thread_id = -1; in store_cpu_topology()
263 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
264 cpuid_topo->cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 1) | in store_cpu_topology()
270 cpuid, cpuid_topo->cluster_id, cpuid_topo->core_id, in store_cpu_topology()
271 cpuid_topo->thread_id, mpidr); in store_cpu_topology()