Searched refs:ncores (Results 1 – 13 of 13) sorted by relevance
/arch/arm/mach-highbank/ |
D | platsmp.c | 45 unsigned int i, ncores; in smp_init_cpus() local 47 ncores = scu_get_core_count(scu_base_addr); in smp_init_cpus() 50 if (ncores > NR_CPUS) { in smp_init_cpus() 54 ncores, NR_CPUS); in smp_init_cpus() 55 ncores = NR_CPUS; in smp_init_cpus() 58 for (i = 0; i < ncores; i++) in smp_init_cpus()
|
/arch/arm/mach-realview/ |
D | platsmp.c | 49 unsigned int i, ncores; in smp_init_cpus() local 51 ncores = scu_base ? scu_get_core_count(scu_base) : 1; in smp_init_cpus() 54 if (ncores > nr_cpu_ids) { in smp_init_cpus() 56 ncores, nr_cpu_ids); in smp_init_cpus() 57 ncores = nr_cpu_ids; in smp_init_cpus() 60 for (i = 0; i < ncores; i++) in smp_init_cpus()
|
/arch/arm/mach-omap2/ |
D | omap-smp.c | 150 unsigned int i, ncores; in smp_init_cpus() local 159 ncores = scu_get_core_count(scu_base); in smp_init_cpus() 162 if (ncores > nr_cpu_ids) { in smp_init_cpus() 164 ncores, nr_cpu_ids); in smp_init_cpus() 165 ncores = nr_cpu_ids; in smp_init_cpus() 168 for (i = 0; i < ncores; i++) in smp_init_cpus()
|
/arch/arm/mach-exynos/ |
D | platsmp.c | 167 unsigned int i, ncores; in smp_init_cpus() local 170 ncores = 2; in smp_init_cpus() 172 ncores = scu_base ? scu_get_core_count(scu_base) : 1; in smp_init_cpus() 175 if (ncores > nr_cpu_ids) { in smp_init_cpus() 177 ncores, nr_cpu_ids); in smp_init_cpus() 178 ncores = nr_cpu_ids; in smp_init_cpus() 181 for (i = 0; i < ncores; i++) in smp_init_cpus()
|
/arch/arm/mach-vexpress/ |
D | platsmp.c | 105 int ncores = 0, i; in vexpress_dt_smp_init_cpus() local 109 ncores = of_scan_flat_dt(vexpress_dt_cpus_num, NULL); in vexpress_dt_smp_init_cpus() 112 ncores = scu_get_core_count(vexpress_dt_cortex_a9_scu_base); in vexpress_dt_smp_init_cpus() 119 if (ncores < 2) in vexpress_dt_smp_init_cpus() 122 if (ncores > nr_cpu_ids) { in vexpress_dt_smp_init_cpus() 124 ncores, nr_cpu_ids); in vexpress_dt_smp_init_cpus() 125 ncores = nr_cpu_ids; in vexpress_dt_smp_init_cpus() 128 for (i = 0; i < ncores; ++i) in vexpress_dt_smp_init_cpus()
|
D | ct-ca9x4.c | 207 int i, ncores; in ct_ca9x4_init_cpu_map() local 213 ncores = scu_get_core_count(ct_ca9x4_scu_base); in ct_ca9x4_init_cpu_map() 215 if (ncores > nr_cpu_ids) { in ct_ca9x4_init_cpu_map() 217 ncores, nr_cpu_ids); in ct_ca9x4_init_cpu_map() 218 ncores = nr_cpu_ids; in ct_ca9x4_init_cpu_map() 221 for (i = 0; i < ncores; ++i) in ct_ca9x4_init_cpu_map()
|
/arch/arm/mach-shmobile/ |
D | platsmp.c | 78 unsigned int ncores = shmobile_smp_get_core_count(); in smp_init_cpus() local 81 if (ncores > nr_cpu_ids) { in smp_init_cpus() 83 ncores, nr_cpu_ids); in smp_init_cpus() 84 ncores = nr_cpu_ids; in smp_init_cpus() 87 for (i = 0; i < ncores; i++) in smp_init_cpus()
|
/arch/arm/mach-ux500/ |
D | platsmp.c | 155 unsigned int i, ncores; in smp_init_cpus() local 157 ncores = scu_base ? scu_get_core_count(scu_base) : 1; in smp_init_cpus() 160 if (ncores > nr_cpu_ids) { in smp_init_cpus() 162 ncores, nr_cpu_ids); in smp_init_cpus() 163 ncores = nr_cpu_ids; in smp_init_cpus() 166 for (i = 0; i < ncores; i++) in smp_init_cpus()
|
/arch/arm/mach-msm/ |
D | platsmp.c | 158 unsigned int i, ncores = get_core_count(); in smp_init_cpus() local 160 if (ncores > nr_cpu_ids) { in smp_init_cpus() 162 ncores, nr_cpu_ids); in smp_init_cpus() 163 ncores = nr_cpu_ids; in smp_init_cpus() 166 for (i = 0; i < ncores; i++) in smp_init_cpus()
|
/arch/arm/mach-tegra/ |
D | platsmp.c | 170 unsigned int i, ncores = scu_get_core_count(scu_base); in smp_init_cpus() local 172 if (ncores > nr_cpu_ids) { in smp_init_cpus() 174 ncores, nr_cpu_ids); in smp_init_cpus() 175 ncores = nr_cpu_ids; in smp_init_cpus() 178 for (i = 0; i < ncores; i++) in smp_init_cpus()
|
/arch/arm/mach-imx/ |
D | platsmp.c | 67 int i, ncores; in smp_init_cpus() local 69 ncores = scu_get_core_count(scu_base); in smp_init_cpus() 71 for (i = 0; i < ncores; i++) in smp_init_cpus()
|
/arch/arm/kernel/ |
D | smp_scu.c | 30 unsigned int ncores = __raw_readl(scu_base + SCU_CONFIG); in scu_get_core_count() local 31 return (ncores & 0x03) + 1; in scu_get_core_count()
|
D | smp.c | 335 unsigned int ncores = num_possible_cpus(); in smp_prepare_cpus() local 344 if (max_cpus > ncores) in smp_prepare_cpus() 345 max_cpus = ncores; in smp_prepare_cpus() 346 if (ncores > 1 && max_cpus) { in smp_prepare_cpus()
|