Searched refs:index_msb (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/arch/x86/kernel/cpu/ |
D | cacheinfo.c | 733 unsigned int l2_id = 0, l3_id = 0, num_threads_sharing, index_msb; in init_intel_cacheinfo() local 769 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo() 770 l2_id = c->apicid & ~((1 << index_msb) - 1); in init_intel_cacheinfo() 775 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo() 776 l3_id = c->apicid & ~((1 << index_msb) - 1); in init_intel_cacheinfo() 947 int index_msb, i; in __cache_cpumap_setup() local 963 index_msb = get_count_order(num_threads_sharing); in __cache_cpumap_setup() 966 if (cpu_data(i).apicid >> index_msb == c->apicid >> index_msb) { in __cache_cpumap_setup() 1017 int index_msb; in get_cache_id() local 1020 index_msb = get_count_order(num_threads_sharing); in get_cache_id() [all …]
|
D | common.c | 886 int index_msb, core_bits; in detect_ht() local 891 index_msb = get_count_order(smp_num_siblings); in detect_ht() 892 c->phys_proc_id = apic->phys_pkg_id(c->initial_apicid, index_msb); in detect_ht() 896 index_msb = get_count_order(smp_num_siblings); in detect_ht() 900 c->cpu_core_id = apic->phys_pkg_id(c->initial_apicid, index_msb) & in detect_ht()
|
/linux-6.1.9/arch/x86/kernel/ |
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 hard_smp_processor_id() >> index_msb; in apicid_phys_pkg_id()
|
/linux-6.1.9/arch/x86/kernel/apic/ |
D | bigsmp_32.c | 71 static int bigsmp_phys_pkg_id(int cpuid_apic, int index_msb) in bigsmp_phys_pkg_id() argument 73 return cpuid_apic >> index_msb; in bigsmp_phys_pkg_id()
|
D | probe_32.c | 53 static int default_phys_pkg_id(int cpuid_apic, int index_msb) in default_phys_pkg_id() argument 55 return cpuid_apic >> index_msb; in default_phys_pkg_id()
|
D | x2apic_phys.c | 145 int x2apic_phys_pkg_id(int initial_apicid, int index_msb) in x2apic_phys_pkg_id() argument 147 return initial_apicid >> index_msb; in x2apic_phys_pkg_id()
|
D | apic_flat_64.c | 99 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()
|
D | apic_numachip.c | 70 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()
|
D | local.h | 25 int x2apic_phys_pkg_id(int initial_apicid, int index_msb);
|
D | apic_noop.c | 42 static int noop_phys_pkg_id(int cpuid_apic, int index_msb) in noop_phys_pkg_id() argument
|
D | x2apic_uv_x.c | 814 static int uv_phys_pkg_id(int initial_apicid, int index_msb) in uv_phys_pkg_id() argument 816 return uv_read_apic_id() >> index_msb; in uv_phys_pkg_id()
|
/linux-6.1.9/arch/x86/xen/ |
D | apic.c | 123 static int xen_phys_pkg_id(int initial_apic_id, int index_msb) in xen_phys_pkg_id() argument 125 return initial_apic_id >> index_msb; in xen_phys_pkg_id()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | apic.h | 321 int (*phys_pkg_id)(int cpuid_apic, int index_msb);
|