Home
last modified time | relevance | path

Searched refs:nr_cores (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/macintosh/
Dwindfarm_pm112.c102 static int nr_cores; variable
160 fmin = (nr_cores > 2) ? 750 : 515; in create_cpu_loop()
272 for (cpu = 0; cpu < nr_cores; ++cpu) { in cpu_fans_tick()
317 for (cpu = 0; cpu < nr_cores; ++cpu) in cpu_fans_tick()
510 for (i = 0; i < nr_cores; ++i) { in pm112_tick()
624 for (i = 0; i < nr_cores; ++i) in pm112_new_sensor()
681 nr_cores = 0; in wf_pm112_init()
683 ++nr_cores; in wf_pm112_init()
/Linux-v5.4/arch/powerpc/perf/
Dimc-pmu.c1415 int i, nr_cores = DIV_ROUND_UP(num_possible_cpus(), threads_per_core); in cleanup_all_core_imc_memory() local
1420 for (i = 0; i < nr_cores; i++) { in cleanup_all_core_imc_memory()
1532 int nr_cores, cpu, res = -ENOMEM; in imc_mem_init() local
1560 nr_cores = DIV_ROUND_UP(num_possible_cpus(), threads_per_core); in imc_mem_init()
1561 pmu_ptr->mem_info = kcalloc(nr_cores, sizeof(struct imc_mem_info), in imc_mem_init()
1567 core_imc_refc = kcalloc(nr_cores, sizeof(struct imc_pmu_ref), in imc_mem_init()
1600 nr_cores = DIV_ROUND_UP(num_possible_cpus(), threads_per_core); in imc_mem_init()
1601 trace_imc_refc = kcalloc(nr_cores, sizeof(struct imc_pmu_ref), in imc_mem_init()
/Linux-v5.4/drivers/bcma/
Dscan.c470 if (bus->nr_cores) in bcma_bus_scan()
511 bus->nr_cores++; in bcma_bus_scan()
Dmain.c271 bus->nr_cores = 0; in bcma_init_bus()
/Linux-v5.4/include/linux/bcma/
Dbcma.h352 u8 nr_cores; member
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Daiutils.c447 if (cc->bus->nr_cores == 0) in ai_buscore_setup()
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_hv.c5444 int nr_cores = cpu_nr_cores(); in kvm_init_subcore_bitmap() local
5447 for (i = 0; i < nr_cores; i++) { in kvm_init_subcore_bitmap()