Lines Matching refs:loongson_sysconf
294 if (cpuid == loongson_sysconf.boot_cpu_id) in fdt_smp_setup()
309 loongson_sysconf.nr_cpus = num_processors; in fdt_smp_setup()
310 set_bit(0, loongson_sysconf.cores_io_master); in fdt_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()
326 pr_info("Detected %i available CPU(s)\n", loongson_sysconf.nr_cpus); in loongson_smp_setup()
336 for (i = 0; i < loongson_sysconf.nr_cpus; i++) { in loongson_prepare_cpus()
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()