Home
last modified time | relevance | path

Searched refs:x86_processor (Results 1 – 4 of 4) sorted by relevance

/external/cpuinfo/src/x86/mach/
Dinit.c58 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()
[all …]
/external/cpuinfo/src/x86/windows/
Dinit.c41 const struct cpuinfo_x86_processor* x86_processor, in cpuinfo_x86_count_caches() argument
55 if (x86_processor->cache.l1i.size != 0) { in cpuinfo_x86_count_caches()
56 const uint32_t l1i_id = apic_id & ~bit_mask(x86_processor->cache.l1i.apic_bits); in cpuinfo_x86_count_caches()
62 if (x86_processor->cache.l1d.size != 0) { in cpuinfo_x86_count_caches()
63 const uint32_t l1d_id = apic_id & ~bit_mask(x86_processor->cache.l1d.apic_bits); in cpuinfo_x86_count_caches()
69 if (x86_processor->cache.l2.size != 0) { in cpuinfo_x86_count_caches()
70 const uint32_t l2_id = apic_id & ~bit_mask(x86_processor->cache.l2.apic_bits); in cpuinfo_x86_count_caches()
76 if (x86_processor->cache.l3.size != 0) { in cpuinfo_x86_count_caches()
77 const uint32_t l3_id = apic_id & ~bit_mask(x86_processor->cache.l3.apic_bits); in cpuinfo_x86_count_caches()
83 if (x86_processor->cache.l4.size != 0) { in cpuinfo_x86_count_caches()
[all …]
/external/cpuinfo/src/x86/linux/
Dinit.c215 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()
[all …]
/external/XNNPACK/third_party/
Dcpuinfo.patch536 struct cpuinfo_x86_processor x86_processor;
537 ZeroMemory(&x86_processor, sizeof(x86_processor));
539 x86_processor.topology.thread_bits_offset + x86_processor.topology.thread_bits_length,
540 x86_processor.topology.core_bits_offset + x86_processor.topology.core_bits_length);