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()
56 loongson_sysconf.cores_per_package; in compute_node_distance()58 loongson_sysconf.cores_per_package; in compute_node_distance()
432 cpu_logical_map(cpu) % loongson_sysconf.cores_per_package); in loongson3_init_secondary()434 cpu_logical_map(cpu) / loongson_sysconf.cores_per_package; in loongson3_init_secondary()518 cpu_logical_map(0) % loongson_sysconf.cores_per_package); in loongson3_smp_setup()519 cpu_data[0].package = cpu_logical_map(0) / loongson_sysconf.cores_per_package; in loongson3_smp_setup()
36 int cores_per_package; member
288 cpu_data[0].core = cpu_logical_map(0) % loongson_sysconf.cores_per_package; in loongson_smp_setup()289 cpu_data[0].package = cpu_logical_map(0) / loongson_sysconf.cores_per_package; in loongson_smp_setup()346 cpu_logical_map(cpu) / loongson_sysconf.cores_per_package; in loongson_init_secondary()348 cpu_logical_map(cpu) % loongson_sysconf.cores_per_package; in loongson_init_secondary()
133 loongson_sysconf.cores_per_package = *(dmi_data + SMBIOS_THREAD_PACKAGE_OFFSET); in parse_cpu_table()
146 loongson_sysconf.cores_per_package; in loongson_hwmon_init()
26 int cores_per_package; member