Home
last modified time | relevance | path

Searched refs:index_msb (Results 1 – 13 of 13) sorted by relevance

/arch/x86/kernel/
Dvsmp_64.c130 static int apicid_phys_pkg_id(int initial_apic_id, int index_msb) in apicid_phys_pkg_id() argument
132 return hard_smp_processor_id() >> index_msb; in apicid_phys_pkg_id()
/arch/x86/kernel/cpu/
Dcacheinfo.c727 unsigned int l2_id = 0, l3_id = 0, num_threads_sharing, index_msb; in init_intel_cacheinfo() local
763 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
764 l2_id = c->apicid & ~((1 << index_msb) - 1); in init_intel_cacheinfo()
769 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
770 l3_id = c->apicid & ~((1 << index_msb) - 1); in init_intel_cacheinfo()
940 int index_msb, i; in __cache_cpumap_setup() local
956 index_msb = get_count_order(num_threads_sharing); in __cache_cpumap_setup()
959 if (cpu_data(i).apicid >> index_msb == c->apicid >> index_msb) { in __cache_cpumap_setup()
1010 int index_msb; in get_cache_id() local
1013 index_msb = get_count_order(num_threads_sharing); in get_cache_id()
[all …]
Dcommon.c754 int index_msb, core_bits; in detect_ht() local
759 index_msb = get_count_order(smp_num_siblings); in detect_ht()
760 c->phys_proc_id = apic->phys_pkg_id(c->initial_apicid, index_msb); in detect_ht()
764 index_msb = get_count_order(smp_num_siblings); in detect_ht()
768 c->cpu_core_id = apic->phys_pkg_id(c->initial_apicid, index_msb) & in detect_ht()
/arch/x86/kernel/apic/
Dbigsmp_32.c70 static int bigsmp_phys_pkg_id(int cpuid_apic, int index_msb) in bigsmp_phys_pkg_id() argument
72 return cpuid_apic >> index_msb; in bigsmp_phys_pkg_id()
Dx2apic_phys.c133 int x2apic_phys_pkg_id(int initial_apicid, int index_msb) in x2apic_phys_pkg_id() argument
135 return initial_apicid >> index_msb; in x2apic_phys_pkg_id()
Dprobe_32.c52 static int default_phys_pkg_id(int cpuid_apic, int index_msb) in default_phys_pkg_id() argument
54 return cpuid_apic >> index_msb; in default_phys_pkg_id()
Dapic_flat_64.c99 static int flat_phys_pkg_id(int initial_apic_id, int index_msb) in flat_phys_pkg_id() argument
101 return initial_apic_id >> index_msb; in flat_phys_pkg_id()
Dlocal.h24 int x2apic_phys_pkg_id(int initial_apicid, int index_msb);
Dapic_numachip.c70 static int numachip_phys_pkg_id(int initial_apic_id, int index_msb) in numachip_phys_pkg_id() argument
72 return initial_apic_id >> index_msb; in numachip_phys_pkg_id()
Dapic_noop.c41 static int noop_phys_pkg_id(int cpuid_apic, int index_msb) in noop_phys_pkg_id() argument
Dx2apic_uv_x.c627 static int uv_phys_pkg_id(int initial_apicid, int index_msb) in uv_phys_pkg_id() argument
629 return uv_read_apic_id() >> index_msb; in uv_phys_pkg_id()
/arch/x86/xen/
Dapic.c125 static int xen_phys_pkg_id(int initial_apic_id, int index_msb) in xen_phys_pkg_id() argument
127 return initial_apic_id >> index_msb; in xen_phys_pkg_id()
/arch/x86/include/asm/
Dapic.h331 int (*phys_pkg_id)(int cpuid_apic, int index_msb);