Home
last modified time | relevance | path

Searched refs:threads_per_core (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/arch/powerpc/include/asm/
Dcputhreads.h20 extern int threads_per_core;
25 #define threads_per_core 1 macro
48 for (i = 0; i < NR_CPUS; i += threads_per_core) { in cpu_thread_mask_to_cores()
79 return cpu & (threads_per_core - 1); in cpu_thread_in_core()
89 return cpu & ~(threads_per_core - 1); in cpu_first_thread_sibling()
94 return cpu | (threads_per_core - 1); in cpu_last_thread_sibling()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dsubcore.c155 for (i = cpu + 1; i < cpu + threads_per_core; i++) in wait_for_sync_step()
200 for (i = cpu + 1; i < cpu + threads_per_core; i++) in unsplit_core()
319 threads_per_subcore = threads_per_core / subcores_per_core; in cpu_update_split_mode()
417 if (setup_max_cpus % threads_per_core) in subcore_init()
Didle.c116 int first_cpu = i * threads_per_core; in pnv_alloc_idle_core_states()
122 for (j = 0; j < threads_per_core; j++) { in pnv_alloc_idle_core_states()
/linux-4.4.14/arch/powerpc/kernel/
Dsetup_64.c152 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()
157 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()
167 min(threads_per_core, smt); in check_smt_enabled()
177 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()
Dsetup-common.c394 int threads_per_core, threads_per_subcore, threads_shift; variable
396 EXPORT_SYMBOL_GPL(threads_per_core);
405 threads_per_core = tpc; in cpu_init_thread_core_maps()
Dsmp.c487 if (threads_per_core > 1 && secondaries_inhibited() && in __cpu_up()
706 for (i = 0; i < threads_per_core; i++) { in start_secondary()
806 for (i = 0; i < threads_per_core; i++) { in __cpu_disable()
/linux-4.4.14/arch/powerpc/kvm/
De500mc.c373 if (threads_per_core == 2) in kvmppc_core_init_vm_e500mc()
384 if (threads_per_core == 2) in kvmppc_core_destroy_vm_e500mc()
421 kvmppc_init_lpid(KVMPPC_NR_LPIDS/threads_per_core); in kvmppc_e500mc_init()
De500.h302 if (threads_per_core == 2) in get_thread_specific_lpid()
Dbook3s_hv.c2309 if ((threads_per_core > 1) && in kvmppc_run_core()
/linux-4.4.14/arch/ia64/kernel/
Dsetup.c697 if (c->threads_per_core > 1 || c->cores_per_socket > 1) in show_cpuinfo()
809 c->threads_per_core = c->cores_per_socket = c->num_log = 1; in identify_cpu()
814 if (c->threads_per_core > smp_num_siblings) in identify_cpu()
815 smp_num_siblings = c->threads_per_core; in identify_cpu()
Dsmpboot.c592 if (cpu_data(cpu)->threads_per_core == 1 && in remove_siblinginfo()
755 if (cpu_data(cpu)->threads_per_core == 1 && in __cpu_up()
830 c->threads_per_core = info.overview_tpc; in identify_siblings()
Dtopology.c149 if (cpu_data(cpu)->threads_per_core <= 1 && in cache_shared_cpu_map_setup()
/linux-4.4.14/drivers/hwmon/
Dibmpowernv.c152 cpuid, cpuid + threads_per_core - 1); in make_sensor_label()
/linux-4.4.14/drivers/cpufreq/
Dpowernv-cpufreq.c397 for (i = 0; i < threads_per_core; i++) in powernv_cpufreq_cpu_init()
/linux-4.4.14/arch/powerpc/mm/
Dnuma.c570 for (i = 0; i < threads_per_core; i++) { in verify_cpu_node_mapping()
1356 for (j = 0; j < threads_per_core; j++) { in update_lookup_table()
/linux-4.4.14/arch/ia64/include/asm/
Dprocessor.h215 unsigned char threads_per_core; /* Threads per core */ member