Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/xen/arch/x86/cpu/
A Dintel_cacheinfo.c126 unsigned int l2_id = 0, l3_id = 0, num_threads_sharing, index_msb; in init_intel_cacheinfo() local
160 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
161 l2_id = c->apicid >> index_msb; in init_intel_cacheinfo()
166 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
167 l3_id = c->apicid >> index_msb; in init_intel_cacheinfo()
A Dcommon.c280 static inline u32 _phys_pkg_id(u32 cpuid_apic, int index_msb) in _phys_pkg_id() argument
282 return cpuid_apic >> index_msb; in _phys_pkg_id()
292 static inline u32 phys_pkg_id(u32 cpuid_apic, int index_msb) in phys_pkg_id() argument
294 return _phys_pkg_id(get_apic_id(), index_msb); in phys_pkg_id()
589 int index_msb, core_bits; in detect_ht() local
602 index_msb = get_count_order(c->x86_num_siblings); in detect_ht()
603 c->phys_proc_id = phys_pkg_id((ebx >> 24) & 0xFF, index_msb); in detect_ht()
611 index_msb = get_count_order(c->x86_num_siblings) ; in detect_ht()
615 c->cpu_core_id = phys_pkg_id((ebx >> 24) & 0xFF, index_msb) & in detect_ht()

Completed in 4 milliseconds