• Home
  • Raw
  • Download

Lines Matching refs:x86_processor

215 	struct cpuinfo_x86_processor x86_processor;  in cpuinfo_x86_linux_init()  local
216 memset(&x86_processor, 0, sizeof(x86_processor)); in cpuinfo_x86_linux_init()
217 cpuinfo_x86_init_processor(&x86_processor); in cpuinfo_x86_linux_init()
219 cpuinfo_x86_normalize_brand_string(x86_processor.brand_string, brand_string); in cpuinfo_x86_linux_init()
240 if (x86_processor.cache.l4.size != 0) { in cpuinfo_x86_linux_init()
241 llc_apic_bits = x86_processor.cache.l4.apic_bits; in cpuinfo_x86_linux_init()
242 } else if (x86_processor.cache.l3.size != 0) { in cpuinfo_x86_linux_init()
243 llc_apic_bits = x86_processor.cache.l3.apic_bits; in cpuinfo_x86_linux_init()
244 } else if (x86_processor.cache.l2.size != 0) { in cpuinfo_x86_linux_init()
245 llc_apic_bits = x86_processor.cache.l2.apic_bits; in cpuinfo_x86_linux_init()
246 } else if (x86_processor.cache.l1d.size != 0) { in cpuinfo_x86_linux_init()
247 llc_apic_bits = x86_processor.cache.l1d.apic_bits; in cpuinfo_x86_linux_init()
252 …x86_linux_processors_count, x86_linux_processors, &x86_processor, valid_processor_mask, llc_apic_b… in cpuinfo_x86_linux_init()
343 …~(bit_mask(x86_processor.topology.thread_bits_length) << x86_processor.topology.thread_bits_offset… in cpuinfo_x86_linux_init()
345 …core_apic_mask & ~(bit_mask(x86_processor.topology.core_bits_length) << x86_processor.topology.cor… in cpuinfo_x86_linux_init()
398 .vendor = x86_processor.vendor, in cpuinfo_x86_linux_init()
399 .uarch = x86_processor.uarch, in cpuinfo_x86_linux_init()
400 .cpuid = x86_processor.cpuid, in cpuinfo_x86_linux_init()
417 clusters[cluster_index].vendor = x86_processor.vendor; in cpuinfo_x86_linux_init()
418 clusters[cluster_index].uarch = x86_processor.uarch; in cpuinfo_x86_linux_init()
419 clusters[cluster_index].cpuid = x86_processor.cpuid; in cpuinfo_x86_linux_init()
433 … cpuinfo_x86_format_package_name(x86_processor.vendor, brand_string, packages[package_index].name); in cpuinfo_x86_linux_init()
443 if (x86_processor.cache.l1i.size != 0) { in cpuinfo_x86_linux_init()
444 const uint32_t l1i_id = apic_id & ~bit_mask(x86_processor.cache.l1i.apic_bits); in cpuinfo_x86_linux_init()
450 .size = x86_processor.cache.l1i.size, in cpuinfo_x86_linux_init()
451 .associativity = x86_processor.cache.l1i.associativity, in cpuinfo_x86_linux_init()
452 .sets = x86_processor.cache.l1i.sets, in cpuinfo_x86_linux_init()
453 .partitions = x86_processor.cache.l1i.partitions, in cpuinfo_x86_linux_init()
454 .line_size = x86_processor.cache.l1i.line_size, in cpuinfo_x86_linux_init()
455 .flags = x86_processor.cache.l1i.flags, in cpuinfo_x86_linux_init()
468 if (x86_processor.cache.l1d.size != 0) { in cpuinfo_x86_linux_init()
469 const uint32_t l1d_id = apic_id & ~bit_mask(x86_processor.cache.l1d.apic_bits); in cpuinfo_x86_linux_init()
475 .size = x86_processor.cache.l1d.size, in cpuinfo_x86_linux_init()
476 .associativity = x86_processor.cache.l1d.associativity, in cpuinfo_x86_linux_init()
477 .sets = x86_processor.cache.l1d.sets, in cpuinfo_x86_linux_init()
478 .partitions = x86_processor.cache.l1d.partitions, in cpuinfo_x86_linux_init()
479 .line_size = x86_processor.cache.l1d.line_size, in cpuinfo_x86_linux_init()
480 .flags = x86_processor.cache.l1d.flags, in cpuinfo_x86_linux_init()
493 if (x86_processor.cache.l2.size != 0) { in cpuinfo_x86_linux_init()
494 const uint32_t l2_id = apic_id & ~bit_mask(x86_processor.cache.l2.apic_bits); in cpuinfo_x86_linux_init()
500 .size = x86_processor.cache.l2.size, in cpuinfo_x86_linux_init()
501 .associativity = x86_processor.cache.l2.associativity, in cpuinfo_x86_linux_init()
502 .sets = x86_processor.cache.l2.sets, in cpuinfo_x86_linux_init()
503 .partitions = x86_processor.cache.l2.partitions, in cpuinfo_x86_linux_init()
504 .line_size = x86_processor.cache.l2.line_size, in cpuinfo_x86_linux_init()
505 .flags = x86_processor.cache.l2.flags, in cpuinfo_x86_linux_init()
518 if (x86_processor.cache.l3.size != 0) { in cpuinfo_x86_linux_init()
519 const uint32_t l3_id = apic_id & ~bit_mask(x86_processor.cache.l3.apic_bits); in cpuinfo_x86_linux_init()
525 .size = x86_processor.cache.l3.size, in cpuinfo_x86_linux_init()
526 .associativity = x86_processor.cache.l3.associativity, in cpuinfo_x86_linux_init()
527 .sets = x86_processor.cache.l3.sets, in cpuinfo_x86_linux_init()
528 .partitions = x86_processor.cache.l3.partitions, in cpuinfo_x86_linux_init()
529 .line_size = x86_processor.cache.l3.line_size, in cpuinfo_x86_linux_init()
530 .flags = x86_processor.cache.l3.flags, in cpuinfo_x86_linux_init()
543 if (x86_processor.cache.l4.size != 0) { in cpuinfo_x86_linux_init()
544 const uint32_t l4_id = apic_id & ~bit_mask(x86_processor.cache.l4.apic_bits); in cpuinfo_x86_linux_init()
550 .size = x86_processor.cache.l4.size, in cpuinfo_x86_linux_init()
551 .associativity = x86_processor.cache.l4.associativity, in cpuinfo_x86_linux_init()
552 .sets = x86_processor.cache.l4.sets, in cpuinfo_x86_linux_init()
553 .partitions = x86_processor.cache.l4.partitions, in cpuinfo_x86_linux_init()
554 .line_size = x86_processor.cache.l4.line_size, in cpuinfo_x86_linux_init()
555 .flags = x86_processor.cache.l4.flags, in cpuinfo_x86_linux_init()
594 .uarch = x86_processor.uarch, in cpuinfo_x86_linux_init()
595 .cpuid = x86_processor.cpuid, in cpuinfo_x86_linux_init()