Home
last modified time | relevance | path

Searched refs:apic_id (Results 1 – 14 of 14) sorted by relevance

/external/cpuinfo/src/x86/
Dtopology.c29 uint32_t apic_id = 0; in cpuinfo_x86_detect_topology() local
31 apic_id = leaf1.ebx >> 24; in cpuinfo_x86_detect_topology()
50 …cpuinfo_log_debug("HTT: APIC ID = %08"PRIx32", cores per processor = %"PRIu32, apic_id, cores_per_… in cpuinfo_x86_detect_topology()
60 …cpuinfo_log_debug("HTT: APIC ID = %08"PRIx32", cores per processor = %"PRIu32, apic_id, cores_per_… in cpuinfo_x86_detect_topology()
74 …cpuinfo_log_debug("HTT: APIC ID = %08"PRIx32", logical processors = %"PRIu32, apic_id, logical_pro… in cpuinfo_x86_detect_topology()
94 apic_id = x2apic_id; in cpuinfo_x86_detect_topology()
101 level, apic_id, level_shift, total_shift); in cpuinfo_x86_detect_topology()
108 level, apic_id, level_shift, total_shift); in cpuinfo_x86_detect_topology()
121 "SMT offset %"PRIu32" length %"PRIu32", core offset %"PRIu32" length %"PRIu32, apic_id, in cpuinfo_x86_detect_topology()
126 topology->apic_id = apic_id; in cpuinfo_x86_detect_topology()
Dapi.h50 uint32_t apic_id; member
/external/cpuinfo/src/x86/linux/
Dinit.c42 const uint32_t id_a = processor_a->apic_id; in cmp_x86_linux_processor()
43 const uint32_t id_b = processor_b->apic_id; in cmp_x86_linux_processor()
76 const uint32_t apic_id = linux_processors[i].apic_id; in cpuinfo_x86_count_objects() local
77 …cpuinfo_log_debug("APID ID %"PRIu32": system processor %"PRIu32, apic_id, linux_processors[i].linu… in cpuinfo_x86_count_objects()
80 const uint32_t core_id = apic_id & core_apic_mask; in cpuinfo_x86_count_objects()
86 const uint32_t package_id = apic_id & package_apic_mask; in cpuinfo_x86_count_objects()
92 const uint32_t cluster_id = apic_id & cluster_apic_mask; in cpuinfo_x86_count_objects()
98 const uint32_t l1i_id = apic_id & ~bit_mask(processor->cache.l1i.apic_bits); in cpuinfo_x86_count_objects()
105 const uint32_t l1d_id = apic_id & ~bit_mask(processor->cache.l1d.apic_bits); in cpuinfo_x86_count_objects()
112 const uint32_t l2_id = apic_id & ~bit_mask(processor->cache.l2.apic_bits); in cpuinfo_x86_count_objects()
[all …]
Dcpuinfo.c55 uint32_t apic_id = 0; in parse_apic_id() local
65 apic_id = apic_id * 10 + digit; in parse_apic_id()
68 processor->apic_id = apic_id; in parse_apic_id()
Dapi.h13 uint32_t apic_id; member
/external/llvm-project/openmp/runtime/src/
Dkmp_utility.cpp35 int __kmp_get_physical_id(int log_per_phy, int apic_id) { in __kmp_get_physical_id() argument
58 return ((int)(apic_id >> index_msb)); in __kmp_get_physical_id()
61 return apic_id; in __kmp_get_physical_id()
69 int __kmp_get_logical_id(int log_per_phy, int apic_id) { in __kmp_get_logical_id() argument
90 return ((int)((current_bit - 1) & apic_id)); in __kmp_get_logical_id()
142 p->apic_id = -1; in __kmp_query_cpuid()
231 p->apic_id = data[3]; /* Bits 31-24: Processor Initial APIC ID (X) */ in __kmp_query_cpuid()
243 p->physical_id = __kmp_get_physical_id(log_per_phy, p->apic_id); in __kmp_query_cpuid()
244 p->logical_id = __kmp_get_logical_id(log_per_phy, p->apic_id); in __kmp_query_cpuid()
Dkmp.h1180 int apic_id; member
/external/cpuinfo/src/x86/windows/
Dinit.c52 const uint32_t apic_id = processors[i].apic_id; in cpuinfo_x86_count_caches() local
53 cpuinfo_log_debug("APID ID %"PRIu32": logical processor %"PRIu32, apic_id, i); 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()
63 const uint32_t l1d_id = apic_id & ~bit_mask(x86_processor->cache.l1d.apic_bits); 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()
77 const uint32_t l3_id = apic_id & ~bit_mask(x86_processor->cache.l3.apic_bits); in cpuinfo_x86_count_caches()
84 const uint32_t l4_id = apic_id & ~bit_mask(x86_processor->cache.l4.apic_bits); in cpuinfo_x86_count_caches()
227 processors[processor_id].apic_id = package_apic_id; in cpuinfo_x86_windows_init()
275 if (processors[processor_id].apic_id != current_package_apic_id) { in cpuinfo_x86_windows_init()
277 current_package_apic_id = processors[processor_id].apic_id; in cpuinfo_x86_windows_init()
[all …]
/external/cpuinfo/src/x86/mach/
Dinit.c110 const uint32_t apic_id = in cpuinfo_x86_mach_init() local
114 cpuinfo_log_debug("reconstructed APIC ID 0x%08"PRIx32" for thread %"PRIu32, apic_id, i); in cpuinfo_x86_mach_init()
120 processors[i].apic_id = apic_id; in cpuinfo_x86_mach_init()
/external/mesa3d/src/util/
Du_cpu_detect.c458 uint32_t apic_id[UTIL_MAX_CPUS]; in get_cpu_topology() local
491 apic_id[i] = regs[1] >> 24; in get_cpu_topology()
512 unsigned L3_index = apic_id[i] / in get_cpu_topology()
/external/cpuinfo/tools/
Dcpu-info.c326 printf(": APIC ID 0x%08"PRIx32"\n", processor->apic_id); in main()
/external/cpuinfo/include/
Dcpuinfo.h548 uint32_t apic_id; member
/external/cpuinfo/test/dmesg/
Dalldocube-iwork8.log248 <6>[ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-114
Dzenfone-2.log252 [ 0.000000] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-86