Searched refs:index_msb (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | cacheinfo.c | 742 unsigned int l2_id = 0, l3_id = 0, num_threads_sharing, index_msb; in init_intel_cacheinfo() local 778 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo() 779 l2_id = c->apicid & ~((1 << index_msb) - 1); in init_intel_cacheinfo() 784 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo() 785 l3_id = c->apicid & ~((1 << index_msb) - 1); in init_intel_cacheinfo() 953 int index_msb, i; in __cache_cpumap_setup() local 969 index_msb = get_count_order(num_threads_sharing); in __cache_cpumap_setup() 972 if (cpu_data(i).apicid >> index_msb == c->apicid >> index_msb) { in __cache_cpumap_setup() 1023 int index_msb; in get_cache_id() local 1026 index_msb = get_count_order(num_threads_sharing); in get_cache_id() [all …]
|
H A D | common.c | 911 int index_msb, core_bits; in detect_ht() local 916 index_msb = get_count_order(smp_num_siblings); in detect_ht() 917 c->phys_proc_id = apic->phys_pkg_id(c->initial_apicid, index_msb); in detect_ht() 921 index_msb = get_count_order(smp_num_siblings); in detect_ht() 925 c->cpu_core_id = apic->phys_pkg_id(c->initial_apicid, index_msb) & in detect_ht()
|
/openbmc/linux/arch/x86/kernel/apic/ |
H A D | bigsmp_32.c | 32 static int bigsmp_phys_pkg_id(int cpuid_apic, int index_msb) in bigsmp_phys_pkg_id() argument 34 return cpuid_apic >> index_msb; in bigsmp_phys_pkg_id()
|
H A D | probe_32.c | 21 static int default_phys_pkg_id(int cpuid_apic, int index_msb) in default_phys_pkg_id() argument 23 return cpuid_apic >> index_msb; in default_phys_pkg_id()
|
H A D | x2apic_phys.c | 137 int x2apic_phys_pkg_id(int initial_apicid, int index_msb) in x2apic_phys_pkg_id() argument 139 return initial_apicid >> index_msb; in x2apic_phys_pkg_id()
|
H A D | apic_flat_64.c | 69 static int flat_phys_pkg_id(int initial_apic_id, int index_msb) in flat_phys_pkg_id() argument 71 return initial_apic_id >> index_msb; in flat_phys_pkg_id()
|
H A D | apic_numachip.c | 59 static int numachip_phys_pkg_id(int initial_apic_id, int index_msb) in numachip_phys_pkg_id() argument 61 return initial_apic_id >> index_msb; in numachip_phys_pkg_id()
|
H A D | apic_noop.c | 30 static int noop_phys_pkg_id(int cpuid_apic, int index_msb) { return 0; } in noop_phys_pkg_id() argument
|
H A D | local.h | 20 int x2apic_phys_pkg_id(int initial_apicid, int index_msb);
|
H A D | x2apic_uv_x.c | 792 static int uv_phys_pkg_id(int initial_apicid, int index_msb) in uv_phys_pkg_id() argument 794 return uv_read_apic_id() >> index_msb; in uv_phys_pkg_id()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | vsmp_64.c | 130 static int apicid_phys_pkg_id(int initial_apic_id, int index_msb) in apicid_phys_pkg_id() argument 132 return read_apic_id() >> index_msb; in apicid_phys_pkg_id()
|
/openbmc/linux/arch/x86/xen/ |
H A D | apic.c | 113 static int xen_phys_pkg_id(int initial_apic_id, int index_msb) in xen_phys_pkg_id() argument 115 return initial_apic_id >> index_msb; in xen_phys_pkg_id()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | apic.h | 300 int (*phys_pkg_id)(int cpuid_apic, int index_msb);
|