Lines Matching refs:loongson_sysconf
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()
476 max_cpus += loongson_sysconf.cores_per_node; in loongson3_smp_setup()
479 if (max_cpus < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
481 loongson_sysconf.nr_cpus = max_cpus ? max_cpus : 1; in loongson3_smp_setup()
488 while (i < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
489 if (loongson_sysconf.reserved_cpus_mask & (1<<i)) { in loongson3_smp_setup()
504 while (num < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
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()
840 if (!(loongson_sysconf.workarounds & WORKAROUND_CPUHOTPLUG)) in loongson3_disable_clock()
857 if (!(loongson_sysconf.workarounds & WORKAROUND_CPUHOTPLUG)) in loongson3_enable_clock()