Lines Matching refs:cpuid_topo
199 struct cputopo_arm *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
206 if (cpuid_topo->socket_id != cpu_topo->socket_id) in update_siblings_masks()
211 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks()
213 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
218 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()
230 struct cputopo_arm *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local
234 if (cpuid_topo->core_id != -1) in store_cpu_topology()
248 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
249 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology()
250 cpuid_topo->socket_id = MPIDR_AFFINITY_LEVEL(mpidr, 2); in store_cpu_topology()
253 cpuid_topo->thread_id = -1; in store_cpu_topology()
254 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
255 cpuid_topo->socket_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology()
263 cpuid_topo->thread_id = -1; in store_cpu_topology()
264 cpuid_topo->core_id = 0; in store_cpu_topology()
265 cpuid_topo->socket_id = -1; in store_cpu_topology()