Home
last modified time | relevance | path

Searched full:loongson (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/Linux-v6.1/Documentation/devicetree/bindings/interrupt-controller/
Dloongson,pch-msi.yaml4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,pch-msi.yaml#"
7 title: Loongson PCH MSI Controller
13 This interrupt controller is found in the Loongson LS7A family of PCH for
19 const: loongson,pch-msi-1.0
24 loongson,msi-base-vec:
32 loongson,msi-num-vecs:
46 - loongson,msi-base-vec
47 - loongson,msi-num-vecs
55 compatible = "loongson,pch-msi-1.0";
58 loongson,msi-base-vec = <64>;
[all …]
Dloongson,liointc.yaml4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,liointc.yaml#"
7 title: Loongson Local I/O Interrupt Controller
13 This interrupt controller is found in the Loongson-3 family of chips and
14 Loongson-2K1000 chip, as the primary package interrupt controller which
23 - loongson,liointc-1.0
24 - loongson,liointc-1.0a
25 - loongson,liointc-2.0
57 'loongson,parent_int_map':
74 - 'loongson,parent_int_map'
84 - loongson,liointc-2.0
[all …]
Dloongson,pch-pic.yaml4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,pch-pic.yaml#"
7 title: Loongson PCH PIC Controller
13 This interrupt controller is found in the Loongson LS7A family of PCH for
19 const: loongson,pch-pic-1.0
24 loongson,pic-base-vec:
40 - loongson,pic-base-vec
50 compatible = "loongson,pch-pic-1.0";
54 loongson,pic-base-vec = <64>;
Dloongson,htvec.yaml4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,htvec.yaml#"
7 title: Loongson-3 HyperTransport Interrupt Vector Controller
13 This interrupt controller is found in the Loongson-3 family of chips for
18 const: loongson,htvec-1.0
46 compatible = "loongson,htvec-1.0";
Dloongson,htpic.yaml4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,htpic.yaml#"
7 title: Loongson-3 HyperTransport Interrupt Controller
16 This interrupt controller is found in the Loongson-3 family of chips to transmit
21 const: loongson,htpic-1.0
50 compatible = "loongson,htpic-1.0";
/Linux-v6.1/Documentation/devicetree/bindings/mips/loongson/
Ddevices.yaml4 $id: http://devicetree.org/schemas/mips/loongson/devices.yaml#
7 title: Loongson based Platforms Device Tree Bindings
12 Devices with a Loongson CPU shall have the following properties.
22 - const: loongson,loongson64c-4core-ls7a
26 - const: loongson,loongson64c-4core-rs780e
30 - const: loongson,loongson64c-8core-rs780e
34 - const: loongson,loongson64g-4core-ls7a
38 - const: loongson,loongson64v-4core-virtio
Dls2k-reset.yaml4 $id: "http://devicetree.org/schemas/mips/loongson/ls2k-reset.yaml#"
7 title: Loongson 2K1000 PM Controller
10 - Qing Zhang <zhangqing@loongson.cn>
13 This controller can be found in Loongson-2K1000 Soc systems.
17 const: loongson,ls2k-pm
34 compatible = "loongson,ls2k-pm";
Drs780e-acpi.yaml4 $id: "http://devicetree.org/schemas/mips/loongson/rs780e-acpi.yaml#"
7 title: Loongson RS780E PCH ACPI Controller
13 This controller can be found in Loongson-3 systems with RS780E PCH.
17 const: loongson,rs780e-acpi
37 compatible = "loongson,rs780e-acpi";
/Linux-v6.1/Documentation/loongarch/
Dirq-chip-model.rst7 Currently, LoongArch based processors (e.g. Loongson-3A5000) can only work together
136 Documentation of Loongson-3A5000:
138 …https://github.com/loongson/LoongArch-Documentation/releases/latest/download/Loongson-3A5000-userm…
140 …https://github.com/loongson/LoongArch-Documentation/releases/latest/download/Loongson-3A5000-userm…
142 Documentation of Loongson's LS7A chipset:
144 …https://github.com/loongson/LoongArch-Documentation/releases/latest/download/Loongson-7A1000-userm…
146 …https://github.com/loongson/LoongArch-Documentation/releases/latest/download/Loongson-7A1000-userm…
152 "Loongson 3A5000 Processor Reference Manual";
154 "Loongson 3A5000 Processor Reference Manual";
156 "Loongson 3A5000 Processor Reference Manual";
[all …]
Dintroduction.rst83 - LSX (Loongson SIMD eXtension) with 128-bit vectors,
84 - LASX (Loongson Advanced SIMD eXtension) with 256-bit vectors.
348 Relationship of Loongson and LoongArch
352 Loongson is a family of processors. Loongson includes 3 series: Loongson-1 is
353 the 32-bit processor series, Loongson-2 is the low-end 64-bit processor series,
354 and Loongson-3 is the high-end 64-bit processor series. Old Loongson is based on
355 MIPS, while New Loongson is based on LoongArch. Take Loongson-3 as an example:
356 Loongson-3A1000/3B1500/3A2000/3A3000/3A4000 are MIPS-compatible, while Loongson-
364 Official web site of Loongson Technology Corp. Ltd.:
366 http://www.loongson.cn/
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/pci/
Dloongson.yaml4 $id: http://devicetree.org/schemas/pci/loongson.yaml#
7 title: Loongson PCI Host Controller
13 PCI host controller found on Loongson PCHs and SoCs.
21 - loongson,ls2k-pci
22 - loongson,ls7a-pci
23 - loongson,rs780e-pci
50 compatible = "loongson,rs780e-pci";
/Linux-v6.1/drivers/platform/mips/
DKconfig20 bool "Loongson-3 CPU HWMon Driver"
25 Loongson-3A/3B CPU Hwmon (temperature sensor) driver.
28 bool "Loongson RS780E ACPI Controller"
31 Loongson RS780E PCH ACPI Controller driver.
34 bool "Loongson-2K1000 Reset Controller"
37 Loongson-2K1000 Reset Controller driver.
/Linux-v6.1/arch/loongarch/kernel/
Dcpu-probe.c5 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
200 __cpu_family[cpu] = "Loongson-32bit"; in cpu_probe_loongson()
201 pr_info("32-bit Loongson Processor probed (LA132 Core)\n"); in cpu_probe_loongson()
206 __cpu_family[cpu] = "Loongson-64bit"; in cpu_probe_loongson()
207 pr_info("64-bit Loongson Processor probed (LA264 Core)\n"); in cpu_probe_loongson()
212 __cpu_family[cpu] = "Loongson-64bit"; in cpu_probe_loongson()
213 pr_info("64-bit Loongson Processor probed (LA364 Core)\n"); in cpu_probe_loongson()
218 __cpu_family[cpu] = "Loongson-64bit"; in cpu_probe_loongson()
219 pr_info("64-bit Loongson Processor probed (LA464 Core)\n"); in cpu_probe_loongson()
224 __cpu_family[cpu] = "Loongson-64bit"; in cpu_probe_loongson()
[all …]
Denv.c3 * Author: Huacai Chen <chenhuacai@loongson.cn>
5 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
13 #include <asm/loongson.h>
39 if (loongson_sysconf.cpuname && !strncmp(loongson_sysconf.cpuname, "Loongson", 8)) { in init_cpu_fullname()
72 loongson_kobj = kobject_create_and_add("loongson", firmware_kobj); in boardinfo_init()
/Linux-v6.1/arch/mips/boot/dts/loongson/
Dloongson64c_4core_ls7a.dts9 compatible = "loongson,loongson64c-4core-ls7a";
14 compatible = "loongson,htvec-1.0";
29 compatible = "loongson,pch-msi-1.0";
33 loongson,msi-base-vec = <64>;
34 loongson,msi-num-vecs = <64>;
Dloongson64g_4core_ls7a.dts9 compatible = "loongson,loongson64g-4core-ls7a";
14 compatible = "loongson,htvec-1.0";
33 compatible = "loongson,pch-msi-1.0";
37 loongson,msi-base-vec = <64>;
38 loongson,msi-num-vecs = <192>;
Dloongson64-2k1000.dtsi8 compatible = "loongson,loongson2k1000";
19 compatible = "loongson,gs264";
56 compatible = "loongson,ls2k-pm";
61 compatible = "loongson,liointc-2.0";
74 loongson,parent_int_map = <0xffffffff>, /* int0 */
81 compatible = "loongson,liointc-2.0";
94 loongson,parent_int_map = <0x00000000>, /* int0 */
110 compatible = "loongson,ls2k-pci";
127 "loongson, pci-gmac";
150 "loongson, pci-gmac";
/Linux-v6.1/drivers/irqchip/
DKconfig500 bool "Loongson-1 Interrupt Controller"
506 Support for the Loongson-1 platform Interrupt Controller.
590 bool "Loongson Local I/O Interrupt Controller"
596 Support for the Loongson Local I/O Interrupt Controller.
599 bool "Loongson Extend I/O Interrupt Controller"
615 Support for the Loongson-3 HyperTransport PIC Controller.
618 bool "Loongson HyperTransport Interrupt Vector Controller"
623 Support for the Loongson HyperTransport Interrupt Vector Controller.
626 bool "Loongson PCH PIC Controller"
632 Support for the Loongson PCH PIC Controller.
[all …]
Dirq-loongson-liointc.c4 * Loongson Local IO Interrupt Controller support
20 #include <loongson.h>
22 #include <asm/loongson.h>
224 pr_err("loongson-liointc: cannot add IRQ domain\n"); in liointc_init()
232 pr_err("loongson-liointc: unable to register IRQ domain\n"); in liointc_init()
308 if (!of_device_is_compatible(node, "loongson,liointc-2.0")) { in liointc_of_init()
328 "loongson,parent_int_map", in liointc_of_init()
333 pr_err("loongson-liointc: No parent_int_map\n"); in liointc_of_init()
345 IRQCHIP_DECLARE(loongson_liointc_1_0, "loongson,liointc-1.0", liointc_of_init);
346 IRQCHIP_DECLARE(loongson_liointc_1_0a, "loongson,liointc-1.0a", liointc_of_init);
[all …]
/Linux-v6.1/Documentation/translations/zh_CN/loongarch/
Dirq-chip-model.rst6 :Translator: Huacai Chen <chenhuacai@loongson.cn>
140 …https://github.com/loongson/LoongArch-Documentation/releases/latest/download/Loongson-3A5000-userm…
142 …https://github.com/loongson/LoongArch-Documentation/releases/latest/download/Loongson-3A5000-userm…
146 …https://github.com/loongson/LoongArch-Documentation/releases/latest/download/Loongson-7A1000-userm…
148 …https://github.com/loongson/LoongArch-Documentation/releases/latest/download/Loongson-7A1000-userm…
/Linux-v6.1/arch/mips/include/asm/mach-loongson64/
Dkernel-entry-init.h28 /* Loongson-3A R4+ */
33 /* Loongson-3A R2/R3 */
59 /* Loongson-3A R4+ */
64 /* Loongson-3A R2/R3 */
91 b 2f /* Loongson-3A1000/3A2000/3A3000/3A4000 */
92 1: dins a0, t2, 14, 2 /* Loongson-3B1000/3B1500 need bit 15~14 */
/Linux-v6.1/drivers/gpio/
Dgpio-loongson.c3 * Loongson-2F/3A/3B GPIO Support
20 #include <loongson.h>
103 gc->label = "loongson-gpio-chip"; in loongson_gpio_probe()
116 .name = "loongson-gpio",
128 pr_err("error registering loongson GPIO driver\n"); in loongson_gpio_setup()
132 pdev = platform_device_register_simple("loongson-gpio", -1, NULL, 0); in loongson_gpio_setup()
/Linux-v6.1/drivers/platform/loongarch/
Dloongson-laptop.c3 * Generic Loongson processor based LAPTOP/ALL-IN-ONE driver
5 * Jianmin Lv <lvjianmin@loongson.cn>
6 * Huacai Chen <chenhuacai@loongson.cn>
8 * Copyright (C) 2022 Loongson Technology Corporation Limited
32 #define ACPI_LAPTOP_NAME "loongson-laptop"
33 #define ACPI_LAPTOP_ACPI_EVENT_PREFIX "loongson"
263 .name = "loongson-hotkey",
414 pr_info("Loongson lvds error: 0x%x\n", status); in loongson_laptop_turn_on_backlight()
430 pr_info("Loongson lvds error: 0x%x\n", status); in loongson_laptop_turn_off_backlight()
575 "Loongson Generic Laptop/All-in-One Extra Buttons"; in generic_acpi_laptop_init()
[all …]
/Linux-v6.1/arch/loongarch/include/asm/
Dcpu.h6 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
12 * As described in LoongArch specs from Loongson Technology, the PRID register
37 #define PRID_SERIES_LA132 0x8000 /* Loongson 32bit */
38 #define PRID_SERIES_LA264 0xa000 /* Loongson 64bit, 2-issue */
39 #define PRID_SERIES_LA364 0xb000 /* Loongson 64bit,3-issue */
40 #define PRID_SERIES_LA464 0xc000 /* Loongson 64bit, 4-issue */
41 #define PRID_SERIES_LA664 0xd000 /* Loongson 64bit, 6-issue */
/Linux-v6.1/drivers/cpufreq/
Dloongson2_cpufreq.c2 * Cpufreq driver for the loongson-2 processors
4 * The 2E revision of loongson processor not support this feature.
24 #include <asm/mach-loongson2ef/loongson.h>
120 * This is the simple version of Loongson-2 wait, Maybe we need do this in
150 pr_info("Loongson-2F CPU frequency driver\n"); in cpufreq_init()
180 MODULE_PARM_DESC(nowait, "Disable Loongson-2F specific wait");

12345678910>>...19