Lines Matching refs:cpuid_topo
208 struct cputopo_arm *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
215 if (cpuid_topo->socket_id != cpu_topo->socket_id) in update_siblings_masks()
220 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks()
222 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
227 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()
239 struct cputopo_arm *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local
243 if (cpuid_topo->core_id != -1) in store_cpu_topology()
257 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
258 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology()
259 cpuid_topo->socket_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->socket_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology()
272 cpuid_topo->thread_id = -1; in store_cpu_topology()
273 cpuid_topo->core_id = 0; in store_cpu_topology()
274 cpuid_topo->socket_id = -1; in store_cpu_topology()