Home
last modified time | relevance | path

Searched refs:max_cpus (Results 1 – 25 of 92) sorted by relevance

1234

/linux/arch/x86/include/asm/
A Dsmp.h45 void (*smp_prepare_cpus)(unsigned max_cpus);
46 void (*smp_cpus_done)(unsigned max_cpus);
82 static inline void smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
84 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus()
87 static inline void smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
89 smp_ops.smp_cpus_done(max_cpus); in smp_cpus_done()
130 void native_smp_prepare_cpus(unsigned int max_cpus);
132 void native_smp_cpus_done(unsigned int max_cpus);
/linux/arch/arm/mach-mediatek/
A Dplatsmp.c77 static void __init __mtk_smp_prepare_cpus(unsigned int max_cpus, int trustzone) in __mtk_smp_prepare_cpus() argument
123 static void __init mtk_tz_smp_prepare_cpus(unsigned int max_cpus) in mtk_tz_smp_prepare_cpus() argument
125 __mtk_smp_prepare_cpus(max_cpus, 1); in mtk_tz_smp_prepare_cpus()
128 static void __init mtk_smp_prepare_cpus(unsigned int max_cpus) in mtk_smp_prepare_cpus() argument
130 __mtk_smp_prepare_cpus(max_cpus, 0); in mtk_smp_prepare_cpus()
/linux/arch/mips/kernel/
A Dsmp-bmips.c42 static int __maybe_unused max_cpus = 1; variable
107 max_cpus = 2; in bmips_smp_setup()
118 max_cpus = (((read_c0_brcm_config() >> 6) & 0x03) + 1) << 1; in bmips_smp_setup()
121 for (i = 0; i < max_cpus; i++) { in bmips_smp_setup()
128 max_cpus = 1; in bmips_smp_setup()
132 max_cpus = 1; in bmips_smp_setup()
138 if (max_cpus > 1) { in bmips_smp_setup()
142 for (i = 0; i < max_cpus; i++) { in bmips_smp_setup()
162 static void bmips_prepare_cpus(unsigned int max_cpus) in bmips_prepare_cpus() argument
A Dsmp-cmp.c125 void __init cmp_prepare_cpus(unsigned int max_cpus) in cmp_prepare_cpus() argument
128 smp_processor_id(), __func__, max_cpus); in cmp_prepare_cpus()
/linux/arch/hexagon/kernel/
A Dsmp.c195 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
199 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
209 for (i = 0; i < max_cpus; i++) in smp_prepare_cpus()
213 if (max_cpus > 1) { in smp_prepare_cpus()
/linux/arch/riscv/kernel/
A Dsmpboot.c49 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
60 if (max_cpus == 0) in smp_prepare_cpus()
150 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
/linux/arch/arm/mach-shmobile/
A Dsmp-emev2.c30 static void __init emev2_smp_prepare_cpus(unsigned int max_cpus) in emev2_smp_prepare_cpus() argument
42 shmobile_smp_scu_prepare_cpus(EMEV2_SCU_BASE, max_cpus); in emev2_smp_prepare_cpus()
A Dsmp-r8a7779.c39 static void __init r8a7779_smp_prepare_cpus(unsigned int max_cpus) in r8a7779_smp_prepare_cpus() argument
47 shmobile_smp_scu_prepare_cpus(R8A7779_SCU_BASE, max_cpus); in r8a7779_smp_prepare_cpus()
A Dsmp-sh73a0.c45 static void __init sh73a0_smp_prepare_cpus(unsigned int max_cpus) in sh73a0_smp_prepare_cpus() argument
57 shmobile_smp_scu_prepare_cpus(SH73A0_SCU_BASE, max_cpus); in sh73a0_smp_prepare_cpus()
/linux/arch/arm/kernel/
A Dsmp.c481 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
503 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
514 if (max_cpus > ncores) in smp_prepare_cpus()
515 max_cpus = ncores; in smp_prepare_cpus()
516 if (ncores > 1 && max_cpus) { in smp_prepare_cpus()
530 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus()
/linux/arch/x86/xen/
A Dsmp_hvm.c31 static void __init xen_hvm_smp_prepare_cpus(unsigned int max_cpus) in xen_hvm_smp_prepare_cpus() argument
35 native_smp_prepare_cpus(max_cpus); in xen_hvm_smp_prepare_cpus()
/linux/arch/arm/mach-sti/
A Dplatsmp.c49 static void __init sti_smp_prepare_cpus(unsigned int max_cpus) in sti_smp_prepare_cpus() argument
64 if (max_cpus <= 1) in sti_smp_prepare_cpus()
/linux/arch/arm/mach-axxia/
A Dplatsmp.c53 static void __init axxia_smp_prepare_cpus(unsigned int max_cpus) in axxia_smp_prepare_cpus() argument
72 if (cpu_count < max_cpus) { in axxia_smp_prepare_cpus()
/linux/arch/sparc/kernel/
A Dsmp_32.c76 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
182 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
194 if (extra && max_cpus > i - extra) in smp_prepare_cpus()
/linux/arch/openrisc/kernel/
A Dsmp.c74 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
83 if (cpu < max_cpus) in smp_prepare_cpus()
88 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
/linux/arch/arm/mach-rockchip/
A Dplatsmp.c258 static void __init rockchip_smp_prepare_cpus(unsigned int max_cpus) in rockchip_smp_prepare_cpus() argument
326 static void __init rk3036_smp_prepare_cpus(unsigned int max_cpus) in rk3036_smp_prepare_cpus() argument
330 rockchip_smp_prepare_cpus(max_cpus); in rk3036_smp_prepare_cpus()
/linux/arch/arm/mach-imx/
A Dplatsmp.c69 static void __init imx_smp_prepare_cpus(unsigned int max_cpus) in imx_smp_prepare_cpus() argument
130 static void __init ls1021a_smp_prepare_cpus(unsigned int max_cpus) in ls1021a_smp_prepare_cpus() argument
/linux/arch/parisc/kernel/
A Dsmp.c410 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
419 parisc_max_cpus = max_cpus; in smp_prepare_cpus()
420 if (!max_cpus) in smp_prepare_cpus()
/linux/drivers/scsi/csiostor/
A Dcsio_isr.c426 for (j = 0; j < info->max_cpus; j++, k++) { in csio_request_irqs()
465 if (info->max_cpus > 1) { in csio_reduce_sqsets()
466 info->max_cpus--; in csio_reduce_sqsets()
540 n = (j % info->max_cpus) + k; in csio_enable_msix()
544 k += info->max_cpus; in csio_enable_msix()
/linux/arch/sh/kernel/cpu/sh2/
A Dsmp-j2.c43 static void j2_prepare_cpus(unsigned int max_cpus) in j2_prepare_cpus() argument
69 max = max_cpus; in j2_prepare_cpus()
/linux/arch/sh/kernel/cpu/sh4a/
A Dsmp-shx3.c69 static void shx3_prepare_cpus(unsigned int max_cpus) in shx3_prepare_cpus() argument
80 for (i = 0; i < max_cpus; i++) in shx3_prepare_cpus()
/linux/tools/testing/selftests/intel_pstate/
A Drun.sh47 max_cpus=$(($(nproc)-1))
52 for cpu in `seq 0 $max_cpus`
/linux/arch/arm/mach-hisi/
A Dplatsmp.c56 static void __init hi3xxx_smp_prepare_cpus(unsigned int max_cpus) in hi3xxx_smp_prepare_cpus() argument
98 static void __init hisi_common_smp_prepare_cpus(unsigned int max_cpus) in hisi_common_smp_prepare_cpus() argument
/linux/include/linux/
A Dsmp.h134 extern void smp_prepare_cpus(unsigned int max_cpus);
144 extern void smp_cpus_done(unsigned int max_cpus);
/linux/arch/sh/kernel/
A Dsmp.c56 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
62 mp_ops->prepare_cpus(max_cpus); in smp_prepare_cpus()
245 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument

Completed in 39 milliseconds

1234