Home
last modified time | relevance | path

Searched refs:ncores (Results 1 – 15 of 15) sorted by relevance

/arch/arm/mach-bcm/
Dbcm63xx_smp.c39 unsigned int i, ncores; in scu_a9_enable() local
62 ncores = scu_base ? scu_get_core_count(scu_base) : 1; in scu_a9_enable()
64 if (ncores > nr_cpu_ids) { in scu_a9_enable()
66 ncores, nr_cpu_ids); in scu_a9_enable()
67 ncores = nr_cpu_ids; in scu_a9_enable()
80 if (ncores > 1) { in scu_a9_enable()
86 ncores = 1; in scu_a9_enable()
91 for (i = 0; i < ncores; i++) in scu_a9_enable()
/arch/arm/mach-spear/
Dplatsmp.c100 unsigned int i, ncores = scu_get_core_count(scu_base); in spear13xx_smp_init_cpus() local
102 if (ncores > nr_cpu_ids) { in spear13xx_smp_init_cpus()
104 ncores, nr_cpu_ids); in spear13xx_smp_init_cpus()
105 ncores = nr_cpu_ids; in spear13xx_smp_init_cpus()
108 for (i = 0; i < ncores; i++) in spear13xx_smp_init_cpus()
/arch/arm/mach-imx/
Dplatsmp.c56 int i, ncores; in imx_smp_init_cpus() local
58 ncores = scu_get_core_count(scu_base); in imx_smp_init_cpus()
60 for (i = ncores; i < NR_CPUS; i++) in imx_smp_init_cpus()
102 int i, ncores = 0; in imx7_smp_init_cpus() local
106 ncores++; in imx7_smp_init_cpus()
108 for (i = ncores; i < NR_CPUS; i++) in imx7_smp_init_cpus()
/arch/arm/mach-realview/
Dplatsmp-dt.c40 unsigned int ncores; in realview_smp_prepare_cpus() local
56 ncores = scu_get_core_count(scu_base); in realview_smp_prepare_cpus()
57 pr_info("SCU: %d cores detected\n", ncores); in realview_smp_prepare_cpus()
58 for (i = 0; i < ncores; i++) in realview_smp_prepare_cpus()
/arch/arm/mach-omap2/
Domap-smp.c261 unsigned int i = 0, ncores = 1, cpu_id; in omap4_smp_init_cpus() local
272 ncores = scu_get_core_count(cfg.scu_base); in omap4_smp_init_cpus()
274 ncores = OMAP5_CORE_COUNT; in omap4_smp_init_cpus()
278 if (ncores > nr_cpu_ids) { in omap4_smp_init_cpus()
280 ncores, nr_cpu_ids); in omap4_smp_init_cpus()
281 ncores = nr_cpu_ids; in omap4_smp_init_cpus()
284 for (i = 0; i < ncores; i++) in omap4_smp_init_cpus()
/arch/arm/mach-rockchip/
Dplatsmp.c28 static int ncores; variable
125 if (cpu >= ncores) { in rockchip_boot_secondary()
127 __func__, cpu, ncores); in rockchip_boot_secondary()
309 ncores = scu_get_core_count(scu_base_addr); in rockchip_smp_prepare_cpus()
310 pr_err("%s: ncores %d\n", __func__, ncores); in rockchip_smp_prepare_cpus()
317 ncores = ((l2ctlr >> 24) & 0x3) + 1; in rockchip_smp_prepare_cpus()
322 for (i = 1; i < ncores; i++) in rockchip_smp_prepare_cpus()
/arch/arm/mach-ux500/
Dplatsmp.c35 unsigned int ncores; in ux500_smp_prepare_cpus() local
63 ncores = scu_get_core_count(scu_base); in ux500_smp_prepare_cpus()
64 for (i = 0; i < ncores; i++) in ux500_smp_prepare_cpus()
/arch/mips/netlogic/xlp/
Dwakeup.c114 int core, n, cpu, ncores; in xlp_enable_secondary_cores() local
171 ncores = nlm_cores_per_node(); in xlp_enable_secondary_cores()
172 for (core = 0; core < ncores; core++) { in xlp_enable_secondary_cores()
182 cpu = (n * ncores + core) * NLM_THREADS_PER_CORE; in xlp_enable_secondary_cores()
/arch/mips/kernel/
Dsmp-cps.c49 unsigned int nclusters, ncores, nvpes, core_vpes; in cps_smp_setup() local
62 ncores = mips_cps_numcores(cl); in cps_smp_setup()
63 for (c = 0; c < ncores; c++) { in cps_smp_setup()
121 unsigned ncores, core_vpes, c, cca; in cps_prepare_cpus() local
172 ncores = mips_cps_numcores(0); in cps_prepare_cpus()
173 mips_cps_core_bootcfg = kcalloc(ncores, sizeof(*mips_cps_core_bootcfg), in cps_prepare_cpus()
176 pr_err("Failed to allocate boot config for %u cores\n", ncores); in cps_prepare_cpus()
181 for (c = 0; c < ncores; c++) { in cps_prepare_cpus()
201 for (c = 0; c < ncores; c++) in cps_prepare_cpus()
/arch/arm/mach-zynq/
Dplatsmp.c28 static int ncores; variable
97 ncores = scu_get_core_count(zynq_scu_base); in zynq_smp_init_cpus()
99 for (i = 0; i < ncores && i < CONFIG_NR_CPUS; i++) in zynq_smp_init_cpus()
/arch/arm/mach-actions/
Dplatsmp.c36 static int ncores; variable
141 ncores = scu_get_core_count(scu_base_addr); in s500_smp_prepare_cpus()
142 pr_debug("%s: ncores %d\n", __func__, ncores); in s500_smp_prepare_cpus()
/arch/arm/mach-mvebu/
Dplatsmp.c93 unsigned int ncores = num_possible_cpus(); in armada_xp_smp_init_cpus() local
95 if (ncores == 0 || ncores > ARMADA_XP_MAX_CPUS) in armada_xp_smp_init_cpus()
/arch/arm/kernel/
Dsmp_scu.c31 unsigned int ncores = readl_relaxed(scu_base + SCU_CONFIG); in scu_get_core_count() local
32 return (ncores & 0x03) + 1; in scu_get_core_count()
Dsmp.c500 unsigned int ncores = num_possible_cpus(); in smp_prepare_cpus() local
509 if (max_cpus > ncores) in smp_prepare_cpus()
510 max_cpus = ncores; in smp_prepare_cpus()
511 if (ncores > 1 && max_cpus) { in smp_prepare_cpus()
/arch/mips/netlogic/xlr/
Dfmn-config.c84 int bkt, n, total_credits, ncores; in check_credit_distribution() local
86 ncores = hweight32(nlm_current_node()->coremask); in check_credit_distribution()
89 for (n = 0; n < ncores; n++) in check_credit_distribution()