Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dx2apic.h57 static int x2apic_phys_pkg_id(int initial_apicid, int index_msb) in x2apic_phys_pkg_id() argument
59 return initial_apicid >> index_msb; in x2apic_phys_pkg_id()
Dapic.h316 int (*phys_pkg_id)(int cpuid_apic, int index_msb);
565 static inline int default_phys_pkg_id(int cpuid_apic, int index_msb) in default_phys_pkg_id() argument
567 return cpuid_apic >> index_msb; in default_phys_pkg_id()
/arch/x86/kernel/apic/
Dprobe_64.c26 static int apicid_phys_pkg_id(int initial_apic_id, int index_msb) in apicid_phys_pkg_id() argument
28 return hard_smp_processor_id() >> index_msb; in apicid_phys_pkg_id()
Dbigsmp_32.c134 static int bigsmp_phys_pkg_id(int cpuid_apic, int index_msb) in bigsmp_phys_pkg_id() argument
136 return cpuid_apic >> index_msb; in bigsmp_phys_pkg_id()
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_flat_64.c169 static int flat_phys_pkg_id(int initial_apic_id, int index_msb) in flat_phys_pkg_id() argument
171 return initial_apic_id >> index_msb; in flat_phys_pkg_id()
Dapic_noop.c57 static int noop_phys_pkg_id(int cpuid_apic, int index_msb) in noop_phys_pkg_id() argument
Dsummit_32.c312 static int summit_phys_pkg_id(int cpuid_apic, int index_msb) in summit_phys_pkg_id() argument
314 return hard_smp_processor_id() >> index_msb; in summit_phys_pkg_id()
Dnumaq_32.c422 static inline int numaq_phys_pkg_id(int cpuid_apic, int index_msb) in numaq_phys_pkg_id() argument
424 return cpuid_apic >> index_msb; in numaq_phys_pkg_id()
Des7000_32.c584 static int es7000_phys_pkg_id(int cpuid_apic, int index_msb) in es7000_phys_pkg_id() argument
586 return cpuid_apic >> index_msb; in es7000_phys_pkg_id()
Dx2apic_uv_x.c339 static int uv_phys_pkg_id(int initial_apicid, int index_msb) in uv_phys_pkg_id() argument
341 return uv_read_apic_id() >> index_msb; in uv_phys_pkg_id()
/arch/x86/kernel/cpu/
Dintel_cacheinfo.c581 unsigned int l2_id = 0, l3_id = 0, num_threads_sharing, index_msb; in init_intel_cacheinfo() local
617 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
618 l2_id = c->apicid >> index_msb; in init_intel_cacheinfo()
623 index_msb = get_count_order( in init_intel_cacheinfo()
625 l3_id = c->apicid >> index_msb; in init_intel_cacheinfo()
768 int index_msb, i; in cache_shared_cpu_map_setup() local
782 index_msb = get_count_order(num_threads_sharing); in cache_shared_cpu_map_setup()
785 if (cpu_data(i).apicid >> index_msb == in cache_shared_cpu_map_setup()
786 c->apicid >> index_msb) { in cache_shared_cpu_map_setup()
Dcommon.c459 int index_msb, core_bits; in detect_ht() local
483 index_msb = get_count_order(smp_num_siblings); in detect_ht()
484 c->phys_proc_id = apic->phys_pkg_id(c->initial_apicid, index_msb); in detect_ht()
488 index_msb = get_count_order(smp_num_siblings); in detect_ht()
492 c->cpu_core_id = apic->phys_pkg_id(c->initial_apicid, index_msb) & in detect_ht()