| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/ |
| H A D | topology.c | 82 smp_num_siblings = LEVEL_MAX_SIBLINGS(ebx); in detect_extended_topology_early() 112 core_level_siblings = smp_num_siblings = LEVEL_MAX_SIBLINGS(ebx); in detect_extended_topology() 163 c->x86_max_cores = (core_level_siblings / smp_num_siblings); in detect_extended_topology()
|
| H A D | hygon.c | 57 smp_num_siblings = ((cpuid_ebx(0x8000001e) >> 8) & 0xff) + 1; in hygon_get_topology_early() 81 if (smp_num_siblings > 1) in hygon_get_topology() 82 c->x86_max_cores /= smp_num_siblings; in hygon_get_topology()
|
| H A D | common.c | 75 int smp_num_siblings = 1; variable 76 EXPORT_SYMBOL(smp_num_siblings); 768 smp_num_siblings = (ebx & 0xff0000) >> 16; in detect_ht_early() 769 if (smp_num_siblings == 1) in detect_ht_early() 783 index_msb = get_count_order(smp_num_siblings); in detect_ht() 786 smp_num_siblings = smp_num_siblings / c->x86_max_cores; in detect_ht() 788 index_msb = get_count_order(smp_num_siblings); in detect_ht()
|
| H A D | amd.c | 350 if (smp_num_siblings > 1) in amd_get_topology() 351 c->x86_max_cores /= smp_num_siblings; in amd_get_topology() 748 smp_num_siblings = ((cpuid_ebx(0x8000001e) >> 8) & 0xff) + 1; in early_init_amd()
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | smp.c | 47 int smp_num_siblings = 1; variable 48 EXPORT_SYMBOL(smp_num_siblings); 87 if (smp_num_siblings > 1) { in set_cpu_sibling_map()
|
| H A D | smp-cmp.c | 120 smp_num_siblings = nvpe; in cmp_smp_setup()
|
| H A D | smp-mt.c | 207 smp_num_siblings = nvpe; in vsmp_smp_setup()
|
| H A D | smp-cps.c | 71 smp_num_siblings = core_vpes; in cps_smp_setup()
|
| H A D | pm-cps.c | 586 uasm_i_andi(&p, v0, t1, (1 << fls(smp_num_siblings)) - 1); in cps_gen_entry_code()
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A D | mips-cm.h | 365 extern int smp_num_siblings; in mips_cm_max_vp_width() 381 return smp_num_siblings; in mips_cm_max_vp_width()
|
| H A D | smp.h | 23 extern int smp_num_siblings;
|
| /OK3568_Linux_fs/kernel/arch/ia64/include/asm/ |
| H A D | smp.h | 57 extern int smp_num_siblings;
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | itmt.c | 201 smt_prio = prio * smp_num_siblings / i; in sched_set_itmt_core_prio()
|
| H A D | smpboot.c | 283 return smp_num_siblings > 1; in topology_smt_supported() 572 bool has_smt = smp_num_siblings > 1; in set_cpu_sibling_map()
|
| H A D | process.c | 838 if (boot_option_idle_override == IDLE_POLL && smp_num_siblings > 1) in select_idle_routine()
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | smp.h | 11 extern int smp_num_siblings;
|
| H A D | perf_event_p4.h | 184 return smp_num_siblings > 1; in p4_ht_active() 192 if (smp_num_siblings == 2) in p4_ht_thread()
|
| /OK3568_Linux_fs/kernel/arch/x86/oprofile/ |
| H A D | op_model_p4.c | 46 if (smp_num_siblings == 2) { in setup_num_counters() 56 return smp_num_siblings == 2 ? 2 : 1; in addr_increment()
|
| H A D | nmi_int.c | 569 switch (smp_num_siblings) { in p4_init()
|
| /OK3568_Linux_fs/kernel/arch/mips/netlogic/common/ |
| H A D | smp.c | 134 smp_num_siblings = nlm_threads_per_core; in nlm_prepare_cpus()
|
| /OK3568_Linux_fs/kernel/Documentation/x86/ |
| H A D | topology.rst | 103 - smp_num_siblings: 108 threads_per_package = cpuinfo_x86.x86_max_cores * smp_num_siblings
|
| /OK3568_Linux_fs/kernel/arch/ia64/kernel/ |
| H A D | setup.c | 844 if (c->threads_per_core > smp_num_siblings) in identify_cpu() 845 smp_num_siblings = c->threads_per_core; in identify_cpu()
|
| H A D | smpboot.c | 120 int smp_num_siblings = 1; variable
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/mce/ |
| H A D | inject.c | 417 cores_per_node = (c->x86_max_cores * smp_num_siblings) / amd_get_nodes_per_socket(); in get_nbc_for_node()
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/apic/ |
| H A D | apic.c | 2334 if (smp_num_siblings == 1) in apic_id_is_primary_thread() 2337 mask = (1U << (fls(smp_num_siblings) - 1)) - 1; in apic_id_is_primary_thread()
|