Searched refs:cores_per_package (Results 1 – 8 of 8) sorted by relevance
95 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()
54 loongson_sysconf.cores_per_package; in compute_node_distance()56 loongson_sysconf.cores_per_package; in compute_node_distance()
418 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()
318 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()
129 loongson_sysconf.cores_per_package = *(dmi_data + SMBIOS_THREAD_PACKAGE_OFFSET); in parse_cpu_table()
38 int cores_per_package; member
146 loongson_sysconf.cores_per_package; in loongson_hwmon_init()
26 int cores_per_package; member