Home
last modified time | relevance | path

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

123

/arch/arm/mach-lionhead/
Dplatsmp.c71 static void __init lionhead_dt_smp_prepare_cpus(unsigned int max_cpus) in lionhead_dt_smp_prepare_cpus() argument
75 for (i = 0; i < max_cpus; i++) in lionhead_dt_smp_prepare_cpus()
86 void __init lionhead_dt_smp_prepare_cpus(unsigned int max_cpus) in lionhead_dt_smp_prepare_cpus() argument
102 static void __init lionhead_smp_prepare_cpus(unsigned int max_cpus) in lionhead_smp_prepare_cpus() argument
108 lionhead_dt_smp_prepare_cpus(max_cpus); in lionhead_smp_prepare_cpus()
/arch/x86/include/asm/
Dsmp.h69 void (*smp_prepare_cpus)(unsigned max_cpus);
70 void (*smp_cpus_done)(unsigned max_cpus);
108 static inline void smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
110 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus()
113 static inline void smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
115 smp_ops.smp_cpus_done(max_cpus); in smp_cpus_done()
155 void native_smp_prepare_cpus(unsigned int max_cpus);
156 void native_smp_cpus_done(unsigned int max_cpus);
/arch/arm/mach-vexpress/
Dplatsmp.c132 static void __init vexpress_dt_smp_prepare_cpus(unsigned int max_cpus) in vexpress_dt_smp_prepare_cpus() argument
138 for (i = 0; i < max_cpus; i++) in vexpress_dt_smp_prepare_cpus()
157 void __init vexpress_dt_smp_prepare_cpus(unsigned int max_cpus) in vexpress_dt_smp_prepare_cpus() argument
177 static void __init vexpress_smp_prepare_cpus(unsigned int max_cpus) in vexpress_smp_prepare_cpus() argument
184 ct_desc->smp_enable(max_cpus); in vexpress_smp_prepare_cpus()
186 vexpress_dt_smp_prepare_cpus(max_cpus); in vexpress_smp_prepare_cpus()
/arch/mips/kernel/
Dsmp-bmips.c39 static int __maybe_unused max_cpus = 1; variable
84 max_cpus = 2; in bmips_smp_setup()
93 max_cpus = (((read_c0_brcm_config() >> 6) & 0x03) + 1) << 1; in bmips_smp_setup()
96 for (i = 0; i < max_cpus; i++) { in bmips_smp_setup()
103 max_cpus = 1; in bmips_smp_setup()
109 for (i = 0; i < max_cpus; i++) { in bmips_smp_setup()
120 static void bmips_prepare_cpus(unsigned int max_cpus) in bmips_prepare_cpus() argument
439 if (max_cpus > 2) in bmips_ebase_setup()
Dsmp-up.c55 static void __init up_prepare_cpus(unsigned int max_cpus) in up_prepare_cpus() argument
/arch/arm64/kernel/
Dsmp.c276 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
400 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
412 if (max_cpus > ncores) in smp_prepare_cpus()
413 max_cpus = ncores; in smp_prepare_cpus()
416 if (max_cpus <= 1) in smp_prepare_cpus()
426 max_cpus--; in smp_prepare_cpus()
428 if (max_cpus == 0) in smp_prepare_cpus()
442 max_cpus--; in smp_prepare_cpus()
/arch/hexagon/kernel/
Dsmp.c214 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
218 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
228 for (i = 0; i < max_cpus; i++) in smp_prepare_cpus()
232 if (max_cpus > 1) in smp_prepare_cpus()
/arch/tile/kernel/
Dsmpboot.c56 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
114 BUG_ON(cpu_count > (max_cpus ? max_cpus : 1)); in smp_prepare_cpus()
241 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
/arch/mips/pmcs-msp71xx/
Dmsp_smtc.c91 static void __init msp_smtc_prepare_cpus(unsigned int max_cpus) in msp_smtc_prepare_cpus() argument
93 smtc_prepare_cpus(max_cpus); in msp_smtc_prepare_cpus()
/arch/arm/mach-zynq/
Dplatsmp.c115 static void __init zynq_smp_prepare_cpus(unsigned int max_cpus) in zynq_smp_prepare_cpus() argument
123 for (i = 0; i < max_cpus; i++) in zynq_smp_prepare_cpus()
/arch/mips/mti-malta/
Dmalta-smtc.c94 static void __init msmtc_prepare_cpus(unsigned int max_cpus) in msmtc_prepare_cpus() argument
96 smtc_prepare_cpus(max_cpus); in msmtc_prepare_cpus()
/arch/mips/include/asm/
Dcmp.h14 extern void cmp_prepare_cpus(unsigned int max_cpus);
/arch/arc/kernel/
Dsmp.c63 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
71 for (i = 0; i < max_cpus; i++) in smp_prepare_cpus()
75 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
/arch/blackfin/mach-bf561/include/mach/
Dsmp.h16 void platform_prepare_cpus(unsigned int max_cpus);
/arch/arm/kernel/
Dsmp.c377 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
399 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
410 if (max_cpus > ncores) in smp_prepare_cpus()
411 max_cpus = ncores; in smp_prepare_cpus()
412 if (ncores > 1 && max_cpus) { in smp_prepare_cpus()
432 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus()
/arch/arm/mach-virt/
Dplatsmp.c33 static void __init virt_smp_prepare_cpus(unsigned int max_cpus) in virt_smp_prepare_cpus() argument
/arch/arm/mach-exynos/
Dplatsmp.c199 static void __init exynos_smp_prepare_cpus(unsigned int max_cpus) in exynos_smp_prepare_cpus() argument
215 for (i = 1; i < max_cpus; ++i) { in exynos_smp_prepare_cpus()
/arch/sparc/kernel/
Dsmp_32.c76 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
184 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
198 if (extra && max_cpus > i - extra) in smp_prepare_cpus()
/arch/sh/include/asm/
Dsmp-ops.h7 void (*prepare_cpus)(unsigned int max_cpus);
/arch/sh/kernel/cpu/sh4a/
Dsmp-shx3.c72 static void shx3_prepare_cpus(unsigned int max_cpus) in shx3_prepare_cpus() argument
84 for (i = 0; i < max_cpus; i++) in shx3_prepare_cpus()
/arch/m32r/kernel/
Dsmpboot.c163 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
192 if (!max_cpus) { in smp_prepare_cpus()
212 if (max_cpus <= cpucount + 1) in smp_prepare_cpus()
366 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
/arch/arm/mach-shmobile/
Dsmp-emev2.c39 static void __init emev2_smp_prepare_cpus(unsigned int max_cpus) in emev2_smp_prepare_cpus() argument
/arch/arm/mach-highbank/
Dplatsmp.c55 static void __init highbank_smp_prepare_cpus(unsigned int max_cpus) in highbank_smp_prepare_cpus() argument
/arch/parisc/kernel/
Dsmp.c406 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
415 parisc_max_cpus = max_cpus; in smp_prepare_cpus()
416 if (!max_cpus) in smp_prepare_cpus()
/arch/x86/xen/
Dsmp.c252 static void __init xen_smp_prepare_cpus(unsigned int max_cpus) in xen_smp_prepare_cpus() argument
258 char *m = (max_cpus == 0) ? in xen_smp_prepare_cpus()
287 while ((num_possible_cpus() > 1) && (num_possible_cpus() > max_cpus)) { in xen_smp_prepare_cpus()
413 static void xen_smp_cpus_done(unsigned int max_cpus) in xen_smp_cpus_done() argument
659 static void __init xen_hvm_smp_prepare_cpus(unsigned int max_cpus) in xen_hvm_smp_prepare_cpus() argument
661 native_smp_prepare_cpus(max_cpus); in xen_hvm_smp_prepare_cpus()

123