Home
last modified time | relevance | path

Searched refs:cores_per_package (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/arch/mips/loongson64/
Denv.c95 loongson_sysconf.cores_per_package = 2; in prom_lefi_init_env()
100 loongson_sysconf.cores_per_package = 4; in prom_lefi_init_env()
122 loongson_sysconf.cores_per_package = 8; in prom_lefi_init_env()
143 loongson_sysconf.cores_per_package = 1; in prom_lefi_init_env()
Dnuma.c54 loongson_sysconf.cores_per_package; in compute_node_distance()
56 loongson_sysconf.cores_per_package; in compute_node_distance()
Dsmp.c418 cpu_logical_map(cpu) % loongson_sysconf.cores_per_package); in loongson3_init_secondary()
420 cpu_logical_map(cpu) / loongson_sysconf.cores_per_package; in loongson3_init_secondary()
487 cpu_logical_map(0) % loongson_sysconf.cores_per_package); in loongson3_smp_setup()
488 cpu_data[0].package = cpu_logical_map(0) / loongson_sysconf.cores_per_package; in loongson3_smp_setup()
/linux-6.12.1/arch/loongarch/kernel/
Dsmp.c318 if (loongson_sysconf.cores_per_package == 0) in loongson_smp_setup()
319 loongson_sysconf.cores_per_package = num_processors; in loongson_smp_setup()
321 cpu_data[0].core = cpu_logical_map(0) % loongson_sysconf.cores_per_package; in loongson_smp_setup()
322 cpu_data[0].package = cpu_logical_map(0) / loongson_sysconf.cores_per_package; in loongson_smp_setup()
380 cpu_logical_map(cpu) / loongson_sysconf.cores_per_package; in loongson_init_secondary()
382 cpu_logical_map(cpu) % loongson_sysconf.cores_per_package; in loongson_init_secondary()
Dsetup.c129 loongson_sysconf.cores_per_package = *(dmi_data + SMBIOS_THREAD_PACKAGE_OFFSET); in parse_cpu_table()
/linux-6.12.1/arch/loongarch/include/asm/
Dbootinfo.h38 int cores_per_package; member
/linux-6.12.1/drivers/platform/mips/
Dcpu_hwmon.c146 loongson_sysconf.cores_per_package; in loongson_hwmon_init()
/linux-6.12.1/arch/mips/include/asm/mach-loongson64/
Dloongson.h26 int cores_per_package; member