Searched refs:index_msb (Results 1 – 10 of 10) sorted by relevance
/arch/x86/include/asm/ |
D | x2apic.h | 39 static int x2apic_phys_pkg_id(int initial_apicid, int index_msb) in x2apic_phys_pkg_id() argument 41 return initial_apicid >> index_msb; in x2apic_phys_pkg_id()
|
D | apic.h | 306 int (*phys_pkg_id)(int cpuid_apic, int index_msb); 549 static inline int default_phys_pkg_id(int cpuid_apic, int index_msb) in default_phys_pkg_id() argument 551 return cpuid_apic >> index_msb; in default_phys_pkg_id()
|
/arch/x86/kernel/apic/ |
D | bigsmp_32.c | 94 static int bigsmp_phys_pkg_id(int cpuid_apic, int index_msb) in bigsmp_phys_pkg_id() argument 96 return cpuid_apic >> index_msb; in bigsmp_phys_pkg_id()
|
D | apic_numachip.c | 72 static int numachip_phys_pkg_id(int initial_apic_id, int index_msb) in numachip_phys_pkg_id() argument 74 return initial_apic_id >> index_msb; in numachip_phys_pkg_id()
|
D | apic_flat_64.c | 147 static int flat_phys_pkg_id(int initial_apic_id, int index_msb) in flat_phys_pkg_id() argument 149 return initial_apic_id >> index_msb; in flat_phys_pkg_id()
|
D | apic_noop.c | 56 static int noop_phys_pkg_id(int cpuid_apic, int index_msb) in noop_phys_pkg_id() argument
|
D | x2apic_uv_x.c | 336 static int uv_phys_pkg_id(int initial_apicid, int index_msb) in uv_phys_pkg_id() argument 338 return uv_read_apic_id() >> index_msb; in uv_phys_pkg_id()
|
/arch/x86/kernel/ |
D | vsmp_64.c | 209 static int apicid_phys_pkg_id(int initial_apic_id, int index_msb) in apicid_phys_pkg_id() argument 211 return hard_smp_processor_id() >> index_msb; in apicid_phys_pkg_id()
|
/arch/x86/kernel/cpu/ |
D | intel_cacheinfo.c | 601 unsigned int l2_id = 0, l3_id = 0, num_threads_sharing, index_msb; in init_intel_cacheinfo() local 637 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo() 638 l2_id = c->apicid & ~((1 << index_msb) - 1); in init_intel_cacheinfo() 643 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo() 644 l3_id = c->apicid & ~((1 << index_msb) - 1); in init_intel_cacheinfo() 811 int index_msb, i; in cache_shared_cpu_map_setup() local 825 index_msb = get_count_order(num_threads_sharing); in cache_shared_cpu_map_setup() 828 if (cpu_data(i).apicid >> index_msb == in cache_shared_cpu_map_setup() 829 c->apicid >> index_msb) { in cache_shared_cpu_map_setup()
|
D | common.c | 511 int index_msb, core_bits; in detect_ht() local 535 index_msb = get_count_order(smp_num_siblings); in detect_ht() 536 c->phys_proc_id = apic->phys_pkg_id(c->initial_apicid, index_msb); in detect_ht() 540 index_msb = get_count_order(smp_num_siblings); in detect_ht() 544 c->cpu_core_id = apic->phys_pkg_id(c->initial_apicid, index_msb) & in detect_ht()
|