Lines Matching refs:loongson_sysconf
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()
445 max_cpus += loongson_sysconf.cores_per_node; in loongson3_smp_setup()
448 if (max_cpus < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
450 loongson_sysconf.nr_cpus = max_cpus ? max_cpus : 1; in loongson3_smp_setup()
457 while (i < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
458 if (loongson_sysconf.reserved_cpus_mask & (1<<i)) { in loongson3_smp_setup()
473 while (num < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
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()
809 if (!(loongson_sysconf.workarounds & WORKAROUND_CPUHOTPLUG)) in loongson3_disable_clock()
826 if (!(loongson_sysconf.workarounds & WORKAROUND_CPUHOTPLUG)) in loongson3_enable_clock()