Home
last modified time | relevance | path

Searched refs:threads_per_subcore (Results 1 – 5 of 5) sorted by relevance

/linux/arch/powerpc/include/asm/
H A Dcputhreads.h24 extern int threads_per_subcore;
29 #define threads_per_subcore 1 macro
55 return cpu & (threads_per_subcore - 1); in cpu_thread_in_subcore()
/linux/arch/powerpc/platforms/powernv/
H A Dsubcore.c284 int sibling_mask_first_cpu = (1 << threads_per_subcore) - 1; in update_subcore_sibling_mask()
288 int offset = (tid / threads_per_subcore) * threads_per_subcore; in update_subcore_sibling_mask()
328 threads_per_subcore = threads_per_core / subcores_per_core; in cpu_update_split_mode()
/linux/arch/powerpc/kernel/
H A Dsetup-common.c384 int threads_per_core, threads_per_subcore, threads_shift __read_mostly; variable
387 EXPORT_SYMBOL_GPL(threads_per_subcore);
396 threads_per_subcore = tpc; in cpu_init_thread_core_maps()
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_ras.c200 return threads_per_subcore; in kvmppc_cur_subcore_size()
H A Dpowerpc.c599 r = threads_per_subcore; in kvm_vm_ioctl_check_extension()
606 r = ((threads_per_subcore << 1) - 1); in kvm_vm_ioctl_check_extension()