Symbol: threads_per_subcore
arch/powerpc/include/asm/cputhreads.h
24
extern int threads_per_subcore;
arch/powerpc/include/asm/cputhreads.h
55
return cpu & (threads_per_subcore - 1);
arch/powerpc/kernel/setup-common.c
384
int threads_per_core, threads_per_subcore, threads_shift __read_mostly;
arch/powerpc/kernel/setup-common.c
387
EXPORT_SYMBOL_GPL(threads_per_subcore);
arch/powerpc/kernel/setup-common.c
396
threads_per_subcore = tpc;
arch/powerpc/kvm/book3s_hv.c
2786
return threads_per_subcore;
arch/powerpc/kvm/book3s_hv.c
3111
if (smt_mode > threads_per_subcore)
arch/powerpc/kvm/book3s_hv.c
3404
while (++thr < threads_per_subcore)
arch/powerpc/kvm/book3s_hv.c
3409
for (thr = 1; thr < threads_per_subcore; ++thr) {
arch/powerpc/kvm/book3s_hv.c
3516
if (n_subcores > 1 && threads_per_subcore < MAX_SMT_THREADS)
arch/powerpc/kvm/book3s_hv.c
3827
((vc->num_threads > threads_per_subcore) || !on_primary_thread())) {
arch/powerpc/kvm/book3s_hv.c
3876
subcore_size = threads_per_subcore;
arch/powerpc/kvm/book3s_hv.c
3946
if (split == 1 && threads_per_subcore == MAX_SMT_THREADS &&
arch/powerpc/kvm/book3s_hv.c
3997
for (thr = 1; thr < threads_per_subcore; ++thr)
arch/powerpc/kvm/book3s_hv.c
5863
kvm->arch.smt_mode = threads_per_subcore;
arch/powerpc/kvm/book3s_hv_ras.c
200
return threads_per_subcore;
arch/powerpc/kvm/powerpc.c
599
r = threads_per_subcore;
arch/powerpc/kvm/powerpc.c
606
r = ((threads_per_subcore << 1) - 1);
arch/powerpc/platforms/powernv/subcore.c
284
int sibling_mask_first_cpu = (1 << threads_per_subcore) - 1;
arch/powerpc/platforms/powernv/subcore.c
288
int offset = (tid / threads_per_subcore) * threads_per_subcore;
arch/powerpc/platforms/powernv/subcore.c
328
threads_per_subcore = threads_per_core / subcores_per_core;