Lines Matching refs:x86_processor
58 struct cpuinfo_x86_processor x86_processor; in cpuinfo_x86_mach_init() local
59 memset(&x86_processor, 0, sizeof(x86_processor)); in cpuinfo_x86_mach_init()
60 cpuinfo_x86_init_processor(&x86_processor); in cpuinfo_x86_mach_init()
62 cpuinfo_x86_normalize_brand_string(x86_processor.brand_string, brand_string); in cpuinfo_x86_mach_init()
75 .vendor = x86_processor.vendor, in cpuinfo_x86_mach_init()
76 .uarch = x86_processor.uarch, in cpuinfo_x86_mach_init()
77 .cpuid = x86_processor.cpuid, in cpuinfo_x86_mach_init()
85 cpuinfo_x86_format_package_name(x86_processor.vendor, brand_string, packages[i].name); in cpuinfo_x86_mach_init()
94 .vendor = x86_processor.vendor, in cpuinfo_x86_mach_init()
95 .uarch = x86_processor.uarch, in cpuinfo_x86_mach_init()
96 .cpuid = x86_processor.cpuid, in cpuinfo_x86_mach_init()
105 const uint32_t thread_bits_mask = bit_mask(x86_processor.topology.thread_bits_length); in cpuinfo_x86_mach_init()
106 const uint32_t core_bits_mask = bit_mask(x86_processor.topology.core_bits_length); in cpuinfo_x86_mach_init()
108 x86_processor.topology.thread_bits_offset + x86_processor.topology.thread_bits_length, in cpuinfo_x86_mach_init()
109 x86_processor.topology.core_bits_offset + x86_processor.topology.core_bits_length); in cpuinfo_x86_mach_init()
111 ((smt_id & thread_bits_mask) << x86_processor.topology.thread_bits_offset) | in cpuinfo_x86_mach_init()
112 ((core_id & core_bits_mask) << x86_processor.topology.core_bits_offset) | in cpuinfo_x86_mach_init()
124 if (x86_processor.cache.l1i.size != 0 || x86_processor.cache.l1d.size != 0) { in cpuinfo_x86_mach_init()
137 if (x86_processor.cache.l2.size != 0) { in cpuinfo_x86_mach_init()
140 if (x86_processor.cache.l3.size != 0) { in cpuinfo_x86_mach_init()
155 if (x86_processor.cache.l3.size != 0) { in cpuinfo_x86_mach_init()
171 if (x86_processor.cache.l4.size != 0) { in cpuinfo_x86_mach_init()
187 if (x86_processor.cache.l1i.size != 0) { in cpuinfo_x86_mach_init()
196 .size = x86_processor.cache.l1i.size, in cpuinfo_x86_mach_init()
197 .associativity = x86_processor.cache.l1i.associativity, in cpuinfo_x86_mach_init()
198 .sets = x86_processor.cache.l1i.sets, in cpuinfo_x86_mach_init()
199 .partitions = x86_processor.cache.l1i.partitions, in cpuinfo_x86_mach_init()
200 .line_size = x86_processor.cache.l1i.line_size, in cpuinfo_x86_mach_init()
201 .flags = x86_processor.cache.l1i.flags, in cpuinfo_x86_mach_init()
211 if (x86_processor.cache.l1d.size != 0) { in cpuinfo_x86_mach_init()
220 .size = x86_processor.cache.l1d.size, in cpuinfo_x86_mach_init()
221 .associativity = x86_processor.cache.l1d.associativity, in cpuinfo_x86_mach_init()
222 .sets = x86_processor.cache.l1d.sets, in cpuinfo_x86_mach_init()
223 .partitions = x86_processor.cache.l1d.partitions, in cpuinfo_x86_mach_init()
224 .line_size = x86_processor.cache.l1d.line_size, in cpuinfo_x86_mach_init()
225 .flags = x86_processor.cache.l1d.flags, in cpuinfo_x86_mach_init()
244 .size = x86_processor.cache.l2.size, in cpuinfo_x86_mach_init()
245 .associativity = x86_processor.cache.l2.associativity, in cpuinfo_x86_mach_init()
246 .sets = x86_processor.cache.l2.sets, in cpuinfo_x86_mach_init()
247 .partitions = x86_processor.cache.l2.partitions, in cpuinfo_x86_mach_init()
248 .line_size = x86_processor.cache.l2.line_size, in cpuinfo_x86_mach_init()
249 .flags = x86_processor.cache.l2.flags, in cpuinfo_x86_mach_init()
268 .size = x86_processor.cache.l3.size, in cpuinfo_x86_mach_init()
269 .associativity = x86_processor.cache.l3.associativity, in cpuinfo_x86_mach_init()
270 .sets = x86_processor.cache.l3.sets, in cpuinfo_x86_mach_init()
271 .partitions = x86_processor.cache.l3.partitions, in cpuinfo_x86_mach_init()
272 .line_size = x86_processor.cache.l3.line_size, in cpuinfo_x86_mach_init()
273 .flags = x86_processor.cache.l3.flags, in cpuinfo_x86_mach_init()
292 .size = x86_processor.cache.l4.size, in cpuinfo_x86_mach_init()
293 .associativity = x86_processor.cache.l4.associativity, in cpuinfo_x86_mach_init()
294 .sets = x86_processor.cache.l4.sets, in cpuinfo_x86_mach_init()
295 .partitions = x86_processor.cache.l4.partitions, in cpuinfo_x86_mach_init()
296 .line_size = x86_processor.cache.l4.line_size, in cpuinfo_x86_mach_init()
297 .flags = x86_processor.cache.l4.flags, in cpuinfo_x86_mach_init()
330 .uarch = x86_processor.uarch, in cpuinfo_x86_mach_init()
331 .cpuid = x86_processor.cpuid, in cpuinfo_x86_mach_init()