Lines Matching refs:cpuid_topo
235 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
242 if (cpuid_topo->llc_id == cpu_topo->llc_id) { in update_siblings_masks()
243 cpumask_set_cpu(cpu, &cpuid_topo->llc_sibling); in update_siblings_masks()
247 if (cpuid_topo->package_id != cpu_topo->package_id) in update_siblings_masks()
251 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks()
253 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
257 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()
263 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local
266 if (cpuid_topo->package_id != -1) in store_cpu_topology()
278 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
279 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology()
280 cpuid_topo->package_id = MPIDR_AFFINITY_LEVEL(mpidr, 2) | in store_cpu_topology()
284 cpuid_topo->thread_id = -1; in store_cpu_topology()
285 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
286 cpuid_topo->package_id = MPIDR_AFFINITY_LEVEL(mpidr, 1) | in store_cpu_topology()
292 cpuid, cpuid_topo->package_id, cpuid_topo->core_id, in store_cpu_topology()
293 cpuid_topo->thread_id, mpidr); in store_cpu_topology()