loongson_sysconf 219 arch/mips/include/asm/mach-loongson64/boot_param.h extern struct loongson_system_configuration loongson_sysconf; loongson_sysconf 16 arch/mips/include/asm/mach-loongson64/irq.h #define LOONGSON_HT1_CFG_BASE loongson_sysconf.ht_control_base loongson_sysconf 113 arch/mips/include/asm/mach-loongson64/loongson.h #define LOONGSON_PCIIO_BASE loongson_sysconf.pci_io_base loongson_sysconf 25 arch/mips/loongson64/common/env.c struct loongson_system_configuration loongson_sysconf; loongson_sysconf 64 arch/mips/loongson64/common/env.c loongson_sysconf.nr_uarts = 1; loongson_sysconf 88 arch/mips/loongson64/common/env.c loongson_sysconf.cputype = ecpu->cputype; loongson_sysconf 92 arch/mips/loongson64/common/env.c loongson_sysconf.cores_per_node = 4; loongson_sysconf 93 arch/mips/loongson64/common/env.c loongson_sysconf.cores_per_package = 4; loongson_sysconf 110 arch/mips/loongson64/common/env.c loongson_sysconf.ht_control_base = 0x90000EFDFB000000; loongson_sysconf 111 arch/mips/loongson64/common/env.c loongson_sysconf.workarounds = WORKAROUND_CPUFREQ; loongson_sysconf 115 arch/mips/loongson64/common/env.c loongson_sysconf.cores_per_node = 4; /* One chip has 2 nodes */ loongson_sysconf 116 arch/mips/loongson64/common/env.c loongson_sysconf.cores_per_package = 8; loongson_sysconf 133 arch/mips/loongson64/common/env.c loongson_sysconf.ht_control_base = 0x90001EFDFB000000; loongson_sysconf 134 arch/mips/loongson64/common/env.c loongson_sysconf.workarounds = WORKAROUND_CPUHOTPLUG; loongson_sysconf 137 arch/mips/loongson64/common/env.c loongson_sysconf.cores_per_node = 1; loongson_sysconf 138 arch/mips/loongson64/common/env.c loongson_sysconf.cores_per_package = 1; loongson_sysconf 142 arch/mips/loongson64/common/env.c loongson_sysconf.nr_cpus = ecpu->nr_cpus; loongson_sysconf 143 arch/mips/loongson64/common/env.c loongson_sysconf.boot_cpu_id = ecpu->cpu_startup_core_id; loongson_sysconf 144 arch/mips/loongson64/common/env.c loongson_sysconf.reserved_cpus_mask = ecpu->reserved_cores_mask; loongson_sysconf 146 arch/mips/loongson64/common/env.c loongson_sysconf.nr_cpus = NR_CPUS; loongson_sysconf 147 arch/mips/loongson64/common/env.c loongson_sysconf.nr_nodes = (loongson_sysconf.nr_cpus + loongson_sysconf 148 arch/mips/loongson64/common/env.c loongson_sysconf.cores_per_node - 1) / loongson_sysconf 149 arch/mips/loongson64/common/env.c loongson_sysconf.cores_per_node; loongson_sysconf 151 arch/mips/loongson64/common/env.c loongson_sysconf.pci_mem_start_addr = eirq_source->pci_mem_start_addr; loongson_sysconf 152 arch/mips/loongson64/common/env.c loongson_sysconf.pci_mem_end_addr = eirq_source->pci_mem_end_addr; loongson_sysconf 153 arch/mips/loongson64/common/env.c loongson_sysconf.pci_io_base = eirq_source->pci_io_start_addr; loongson_sysconf 154 arch/mips/loongson64/common/env.c loongson_sysconf.dma_mask_bits = eirq_source->dma_mask_bits; loongson_sysconf 155 arch/mips/loongson64/common/env.c if (loongson_sysconf.dma_mask_bits < 32 || loongson_sysconf 156 arch/mips/loongson64/common/env.c loongson_sysconf.dma_mask_bits > 64) loongson_sysconf 157 arch/mips/loongson64/common/env.c loongson_sysconf.dma_mask_bits = 32; loongson_sysconf 159 arch/mips/loongson64/common/env.c loongson_sysconf.restart_addr = boot_p->reset_system.ResetWarm; loongson_sysconf 160 arch/mips/loongson64/common/env.c loongson_sysconf.poweroff_addr = boot_p->reset_system.Shutdown; loongson_sysconf 161 arch/mips/loongson64/common/env.c loongson_sysconf.suspend_addr = boot_p->reset_system.DoSuspend; loongson_sysconf 163 arch/mips/loongson64/common/env.c loongson_sysconf.vgabios_addr = boot_p->efi.smbios.vga_bios; loongson_sysconf 165 arch/mips/loongson64/common/env.c loongson_sysconf.poweroff_addr, loongson_sysconf.restart_addr, loongson_sysconf 166 arch/mips/loongson64/common/env.c loongson_sysconf.vgabios_addr); loongson_sysconf 168 arch/mips/loongson64/common/env.c memset(loongson_sysconf.ecname, 0, 32); loongson_sysconf 170 arch/mips/loongson64/common/env.c memcpy(loongson_sysconf.ecname, esys->ec_name, 32); loongson_sysconf 171 arch/mips/loongson64/common/env.c loongson_sysconf.workarounds |= esys->workarounds; loongson_sysconf 173 arch/mips/loongson64/common/env.c loongson_sysconf.nr_uarts = esys->nr_uarts; loongson_sysconf 175 arch/mips/loongson64/common/env.c loongson_sysconf.nr_uarts = 1; loongson_sysconf 176 arch/mips/loongson64/common/env.c memcpy(loongson_sysconf.uarts, esys->uarts, loongson_sysconf 177 arch/mips/loongson64/common/env.c sizeof(struct uart_device) * loongson_sysconf.nr_uarts); loongson_sysconf 179 arch/mips/loongson64/common/env.c loongson_sysconf.nr_sensors = esys->nr_sensors; loongson_sysconf 180 arch/mips/loongson64/common/env.c if (loongson_sysconf.nr_sensors > MAX_SENSORS) loongson_sysconf 181 arch/mips/loongson64/common/env.c loongson_sysconf.nr_sensors = 0; loongson_sysconf 182 arch/mips/loongson64/common/env.c if (loongson_sysconf.nr_sensors) loongson_sysconf 183 arch/mips/loongson64/common/env.c memcpy(loongson_sysconf.sensors, esys->sensors, loongson_sysconf 184 arch/mips/loongson64/common/env.c sizeof(struct sensor_device) * loongson_sysconf.nr_sensors); loongson_sysconf 85 arch/mips/loongson64/common/pci.c loongson_pci_mem_resource.start = loongson_sysconf.pci_mem_start_addr; loongson_sysconf 86 arch/mips/loongson64/common/pci.c loongson_pci_mem_resource.end = loongson_sysconf.pci_mem_end_addr; loongson_sysconf 45 arch/mips/loongson64/common/reset.c void (*fw_restart)(void) = (void *)loongson_sysconf.restart_addr; loongson_sysconf 66 arch/mips/loongson64/common/reset.c void (*fw_poweroff)(void) = (void *)loongson_sysconf.poweroff_addr; loongson_sysconf 76 arch/mips/loongson64/common/serial.c if (loongson_sysconf.uarts[0].uartclk) loongson_sysconf 78 arch/mips/loongson64/common/serial.c loongson_sysconf.uarts[0].uartclk; loongson_sysconf 80 arch/mips/loongson64/common/serial.c for (i = 1; i < loongson_sysconf.nr_uarts; i++) { loongson_sysconf 81 arch/mips/loongson64/common/serial.c iotype = loongson_sysconf.uarts[i].iotype; loongson_sysconf 83 arch/mips/loongson64/common/serial.c loongson_uart_base[i] = loongson_sysconf.uarts[i].uart_base; loongson_sysconf 87 arch/mips/loongson64/common/serial.c MIPS_CPU_IRQ_BASE + loongson_sysconf.uarts[i].int_offset; loongson_sysconf 94 arch/mips/loongson64/common/serial.c loongson_sysconf.uarts[i].int_offset; loongson_sysconf 100 arch/mips/loongson64/common/serial.c loongson_sysconf.uarts[i].uartclk; loongson_sysconf 105 arch/mips/loongson64/common/serial.c memset(&uart8250_data[mips_machtype][loongson_sysconf.nr_uarts], loongson_sysconf 12 arch/mips/loongson64/loongson-3/hpet.c #define SMBUS_CFG_BASE (loongson_sysconf.ht_control_base + 0x0300a000) loongson_sysconf 118 arch/mips/loongson64/loongson-3/irq.c LOONGSON_INT_COREx_INTy(loongson_sysconf.boot_cpu_id, 0); loongson_sysconf 122 arch/mips/loongson64/loongson-3/irq.c LOONGSON_INT_COREx_INTy(loongson_sysconf.boot_cpu_id, 1); loongson_sysconf 58 arch/mips/loongson64/loongson-3/numa.c for (i = 0; i < loongson_sysconf.nr_nodes; i++) { loongson_sysconf 64 arch/mips/loongson64/loongson-3/numa.c loongson_sysconf.nr_cpus, num_online_nodes()); loongson_sysconf 69 arch/mips/loongson64/loongson-3/numa.c int package_row = row * loongson_sysconf.cores_per_node / loongson_sysconf 70 arch/mips/loongson64/loongson-3/numa.c loongson_sysconf.cores_per_package; loongson_sysconf 71 arch/mips/loongson64/loongson-3/numa.c int package_col = col * loongson_sysconf.cores_per_node / loongson_sysconf 72 arch/mips/loongson64/loongson-3/numa.c loongson_sysconf.cores_per_package; loongson_sysconf 213 arch/mips/loongson64/loongson-3/numa.c for (node = 0; node < loongson_sysconf.nr_nodes; node++) { loongson_sysconf 223 arch/mips/loongson64/loongson-3/numa.c for (cpu = 0; cpu < loongson_sysconf.nr_cpus; cpu++) { loongson_sysconf 224 arch/mips/loongson64/loongson-3/numa.c node = cpu / loongson_sysconf.cores_per_node; loongson_sysconf 228 arch/mips/loongson64/loongson-3/numa.c if (loongson_sysconf.reserved_cpus_mask & (1<<cpu)) loongson_sysconf 22 arch/mips/loongson64/loongson-3/platform.c if (loongson_sysconf.ecname[0] != '\0') loongson_sysconf 23 arch/mips/loongson64/loongson-3/platform.c platform_device_register_simple(loongson_sysconf.ecname, -1, NULL, 0); loongson_sysconf 25 arch/mips/loongson64/loongson-3/platform.c for (i = 0; i < loongson_sysconf.nr_sensors; i++) { loongson_sysconf 26 arch/mips/loongson64/loongson-3/platform.c if (loongson_sysconf.sensors[i].type > SENSOR_FAN) loongson_sysconf 33 arch/mips/loongson64/loongson-3/platform.c pdev->name = loongson_sysconf.sensors[i].name; loongson_sysconf 34 arch/mips/loongson64/loongson-3/platform.c pdev->id = loongson_sysconf.sensors[i].id; loongson_sysconf 35 arch/mips/loongson64/loongson-3/platform.c pdev->dev.platform_data = &loongson_sysconf.sensors[i]; loongson_sysconf 314 arch/mips/loongson64/loongson-3/smp.c cpu_logical_map(cpu) % loongson_sysconf.cores_per_package); loongson_sysconf 316 arch/mips/loongson64/loongson-3/smp.c cpu_logical_map(cpu) / loongson_sysconf.cores_per_package; loongson_sysconf 356 arch/mips/loongson64/loongson-3/smp.c while (i < loongson_sysconf.nr_cpus) { loongson_sysconf 357 arch/mips/loongson64/loongson-3/smp.c if (loongson_sysconf.reserved_cpus_mask & (1<<i)) { loongson_sysconf 370 arch/mips/loongson64/loongson-3/smp.c while (num < loongson_sysconf.nr_cpus) { loongson_sysconf 381 arch/mips/loongson64/loongson-3/smp.c cpu_logical_map(0) % loongson_sysconf.cores_per_package); loongson_sysconf 382 arch/mips/loongson64/loongson-3/smp.c cpu_data[0].package = cpu_logical_map(0) / loongson_sysconf.cores_per_package; loongson_sysconf 701 arch/mips/loongson64/loongson-3/smp.c if (!(loongson_sysconf.workarounds & WORKAROUND_CPUHOTPLUG)) loongson_sysconf 715 arch/mips/loongson64/loongson-3/smp.c if (!(loongson_sysconf.workarounds & WORKAROUND_CPUHOTPLUG)) loongson_sysconf 48 arch/mips/pci/fixup-loongson3.c if (!loongson_sysconf.vgabios_addr) loongson_sysconf 55 arch/mips/pci/fixup-loongson3.c res->start = virt_to_phys((void *) loongson_sysconf.vgabios_addr); loongson_sysconf 169 drivers/platform/mips/cpu_hwmon.c nr_packages = loongson_sysconf.nr_cpus / loongson_sysconf 170 drivers/platform/mips/cpu_hwmon.c loongson_sysconf.cores_per_package;