Lines Matching refs:cpuid_topo
32 struct cputopo_parisc *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
39 if (cpuid_topo->socket_id != cpu_topo->socket_id) in update_siblings_masks()
44 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks()
46 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
51 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()
65 struct cputopo_parisc *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local
71 if (cpuid_topo->core_id != -1) in store_cpu_topology()
75 cpuid_topo->thread_id = -1; in store_cpu_topology()
76 cpuid_topo->core_id = 0; in store_cpu_topology()
86 cpuid_topo->core_id = cpu_topology[cpu].core_id; in store_cpu_topology()
88 cpuid_topo->core_id++; in store_cpu_topology()
89 cpuid_topo->socket_id = cpu_topology[cpu].socket_id; in store_cpu_topology()
95 if (cpuid_topo->socket_id == -1) in store_cpu_topology()
99 if (cpuid_topo->socket_id == -1) in store_cpu_topology()
100 cpuid_topo->socket_id = max_socket + 1; in store_cpu_topology()