Lines Matching refs:cpu_topo
106 struct cputopo_arm *cpu_topo = &cpu_topology[cpu]; in store_cpu_topology() local
108 if (cpuid_topo->socket_id == cpu_topo->socket_id) { in store_cpu_topology()
109 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in store_cpu_topology()
114 if (cpuid_topo->core_id == cpu_topo->core_id) { in store_cpu_topology()
116 &cpu_topo->thread_sibling); in store_cpu_topology()
141 struct cputopo_arm *cpu_topo = &(cpu_topology[cpu]); in init_cpu_topology() local
143 cpu_topo->thread_id = -1; in init_cpu_topology()
144 cpu_topo->core_id = -1; in init_cpu_topology()
145 cpu_topo->socket_id = -1; in init_cpu_topology()
146 cpumask_clear(&cpu_topo->core_sibling); in init_cpu_topology()
147 cpumask_clear(&cpu_topo->thread_sibling); in init_cpu_topology()