Lines Matching refs:c
29 void detect_extended_topology(struct cpuinfo_x86 *c) in detect_extended_topology() argument
37 if (c->cpuid_level < 0xb) in detect_extended_topology()
48 set_cpu_cap(c, X86_FEATURE_XTOPOLOGY); in detect_extended_topology()
53 c->initial_apicid = edx; in detect_extended_topology()
79 c->cpu_core_id = apic->phys_pkg_id(c->initial_apicid, ht_mask_width) in detect_extended_topology()
81 c->phys_proc_id = apic->phys_pkg_id(c->initial_apicid, core_plus_mask_width); in detect_extended_topology()
85 c->apicid = apic->phys_pkg_id(c->initial_apicid, 0); in detect_extended_topology()
87 c->x86_max_cores = (core_level_siblings / smp_num_siblings); in detect_extended_topology()
91 c->phys_proc_id); in detect_extended_topology()
92 if (c->x86_max_cores > 1) in detect_extended_topology()
94 c->cpu_core_id); in detect_extended_topology()