/linux-6.14.4/arch/riscv/boot/dts/sophgo/ |
D | sg2042-cpus.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #address-cells = <1>; 9 #size-cells = <0>; 10 timebase-frequency = <50000000>; 12 cpu-map { 259 riscv,isa = "rv64imafdc"; 260 riscv,isa-base = "rv64i"; 261 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", 265 i-cache-block-size = <64>; 266 i-cache-size = <65536>; [all …]
|
/linux-6.14.4/drivers/i2c/busses/ |
D | i2c-pca-isa.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * i2c-pca-isa.c driver for PCA9564 on ISA boards 17 #include <linux/isa.h> 19 #include <linux/i2c-algo-pca.h> 24 #define DRIVER "i2c-pca-isa" 27 static unsigned long base; variable 28 static int irq = -1; 42 base+reg, val); in pca_isa_writebyte() 44 outb(val, base+reg); in pca_isa_writebyte() 49 int res = inb(base+reg); in pca_isa_readbyte() [all …]
|
D | i2c-elektor.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* ------------------------------------------------------------------------- */ 3 /* i2c-elektor.c i2c-hw access for PCF8584 style isa bus adaptes */ 4 /* ------------------------------------------------------------------------- */ 5 /* Copyright (C) 1995-97 Simon G. Vogl 6 1998-99 Hans Berglund 9 /* ------------------------------------------------------------------------- */ 15 for Alpha Processor Inc. UP-2000(+) boards */ 26 #include <linux/isa.h> 28 #include <linux/i2c-algo-pcf.h> [all …]
|
/linux-6.14.4/arch/powerpc/kernel/ |
D | isa-bridge.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Routines for tracking a legacy ISA bridge 26 #include <asm/pci-bridge.h> 28 #include <asm/ppc-pci.h> 29 #include <asm/isa-bridge.h> 31 unsigned long isa_io_base; /* NULL if no ISA bus */ 34 /* Cached ISA bridge dev. */ 73 pr_err("ISA: Bad CPU mapping: %s\n", __func__); in process_ISA_OF_ranges() 74 return -EINVAL; in process_ISA_OF_ranges() 79 pr_warn("ISA: bridge %pOF has non aligned IO range\n", isa_node); in process_ISA_OF_ranges() [all …]
|
D | legacy_serial.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <asm/pci-bridge.h> 17 #include <asm/ppc-pci.h> 43 {.type = "tsi-bridge",}, 46 {.compatible = "simple-bus",}, 47 {.compatible = "wrs,epld-localbus",}, 52 static int legacy_serial_console = -1; 60 offset = offset << p->regshift; in tsi_serial_in() 62 tmp = readl(p->membase + (UART_IIR & ~3)); in tsi_serial_in() 65 return readb(p->membase + offset); in tsi_serial_in() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/riscv/ |
D | cpus.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V CPUs 10 - Paul Walmsley <[email protected]> 11 - Palmer Dabbelt <[email protected]> 12 - Conor Dooley <[email protected]> 15 This document uses some terminology common to the RISC-V community 19 mandated by the RISC-V ISA: a PC and some registers. This 27 - $ref: /schemas/cpu.yaml# [all …]
|
D | extensions.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V ISA extensions 10 - Paul Walmsley <[email protected]> 11 - Palmer Dabbelt <[email protected]> 12 - Conor Dooley <[email protected]> 15 RISC-V has a large number of extensions, some of which are "standard" 16 extensions, meaning they are ratified by RISC-V International, and others 34 riscv,isa: [all …]
|
/linux-6.14.4/arch/powerpc/boot/dts/fsl/ |
D | e5500_power_isa.dtsi | 2 * e5500 Power ISA Device Tree Source (include) 37 power-isa-version = "2.06"; 38 power-isa-b; // Base 39 power-isa-e; // Embedded 40 power-isa-atb; // Alternate Time Base 41 power-isa-cs; // Cache Specification 42 power-isa-ds; // Decorated Storage 43 power-isa-e.ed; // Embedded.Enhanced Debug 44 power-isa-e.pd; // Embedded.External PID 45 power-isa-e.hv; // Embedded.Hypervisor [all …]
|
D | e500mc_power_isa.dtsi | 2 * e500mc Power ISA Device Tree Source (include) 37 power-isa-version = "2.06"; 38 power-isa-b; // Base 39 power-isa-e; // Embedded 40 power-isa-atb; // Alternate Time Base 41 power-isa-cs; // Cache Specification 42 power-isa-ds; // Decorated Storage 43 power-isa-e.ed; // Embedded.Enhanced Debug 44 power-isa-e.pd; // Embedded.External PID 45 power-isa-e.hv; // Embedded.Hypervisor [all …]
|
D | e6500_power_isa.dtsi | 2 * e6500 Power ISA Device Tree Source (include) 37 power-isa-version = "2.06"; 38 power-isa-b; // Base 39 power-isa-e; // Embedded 40 power-isa-atb; // Alternate Time Base 41 power-isa-cs; // Cache Specification 42 power-isa-ds; // Decorated Storage 43 power-isa-e.ed; // Embedded.Enhanced Debug 44 power-isa-e.pd; // Embedded.External PID 45 power-isa-e.hv; // Embedded.Hypervisor [all …]
|
D | e500v2_power_isa.dtsi | 2 * e500v2 Power ISA Device Tree Source (include) 37 power-isa-version = "2.03"; 38 power-isa-b; // Base 39 power-isa-e; // Embedded 40 power-isa-atb; // Alternate Time Base 41 power-isa-cs; // Cache Specification 42 power-isa-e.le; // Embedded.Little-Endian 43 power-isa-e.pm; // Embedded.Performance Monitor 44 power-isa-ecl; // Embedded Cache Locking 45 power-isa-mmc; // Memory Coherence [all …]
|
D | e500v1_power_isa.dtsi | 2 * e500v1 Power ISA Device Tree Source (include) 37 power-isa-version = "2.03"; 38 power-isa-b; // Base 39 power-isa-e; // Embedded 40 power-isa-atb; // Alternate Time Base 41 power-isa-cs; // Cache Specification 42 power-isa-e.le; // Embedded.Little-Endian 43 power-isa-e.pm; // Embedded.Performance Monitor 44 power-isa-ecl; // Embedded Cache Locking 45 power-isa-mmc; // Memory Coherence [all …]
|
/linux-6.14.4/include/linux/ |
D | isa.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * ISA bus. 33 return -ENODEV; in isa_register_driver() 52 pr_err("%s: Number of irq (%u) does not match number of base (%u)\n", \ 54 return -EINVAL; \ 68 * module_isa_driver() - Helper macro for registering a ISA driver 72 * Helper macro for ISA drivers which do not do anything special in module 81 * module_isa_driver_with_irq() - Helper macro for registering an ISA driver with irq 86 * Helper macro for ISA drivers with irq that do not do anything special in 95 * max_num_isa_dev() - Maximum possible number registered of an ISA device [all …]
|
/linux-6.14.4/arch/arc/kernel/ |
D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 31 #include <asm/dsp-impl.h> 38 /* Part of U-boot ABI: see head.S */ 51 unsigned long base; member 87 struct bcr_generic isa; in arcompact_mumbojumbo() local 89 READ_BCR(ARC_REG_ISA_CFG_BCR, isa); in arcompact_mumbojumbo() 91 if (!isa.ver) /* ISA BCR absent, use Kconfig info */ in arcompact_mumbojumbo() 94 /* ARC700_BUILD only has 2 bits of isa info */ in arcompact_mumbojumbo() 95 atomic = isa.info & 1; in arcompact_mumbojumbo() [all …]
|
/linux-6.14.4/arch/riscv/boot/dts/spacemit/ |
D | k1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 /dts-v1/; 8 #address-cells = <2>; 9 #size-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 timebase-frequency = <24000000>; 18 cpu-map { 54 …riscv,isa = "rv64imafdcv_zicbom_zicbop_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_z… 55 riscv,isa-base = "rv64i"; [all …]
|
/linux-6.14.4/Documentation/arch/riscv/ |
D | hwprobe.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 RISC-V Hardware Probing Interface 4 --------------------------------- 6 The RISC-V hardware probing interface is based around a single syscall, which 18 The arguments are split into three groups: an array of key-value pairs, a CPU 19 set, and some flags. The key-value pairs are supplied with a count. Userspace 22 will be cleared to -1, and its value set to 0. The CPU set is defined by 23 CPU_SET(3) with size ``cpusetsize`` bytes. For value-like keys (eg. vendor, 25 have the same value. Otherwise -1 will be returned. For boolean-like keys, the 33 by sys_riscv_hwprobe() to only those which match each of the key-value pairs. [all …]
|
/linux-6.14.4/arch/riscv/boot/dts/sifive/ |
D | fu540-c000.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2018-2019 SiFive, Inc */ 4 /dts-v1/; 6 #include <dt-bindings/clock/sifive-fu540-prci.h> 9 #address-cells = <2>; 10 #size-cells = <2>; 11 compatible = "sifive,fu540-c000", "sifive,fu540"; 23 #address-cells = <1>; 24 #size-cells = <0>; 28 i-cache-block-size = <64>; [all …]
|
D | fu740-c000.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 /dts-v1/; 6 #include <dt-bindings/clock/sifive-fu740-prci.h> 9 #address-cells = <2>; 10 #size-cells = <2>; 11 compatible = "sifive,fu740-c000", "sifive,fu740"; 23 #address-cells = <1>; 24 #size-cells = <0>; 28 i-cache-block-size = <64>; 29 i-cache-sets = <128>; [all …]
|
/linux-6.14.4/drivers/net/ethernet/cirrus/ |
D | cs89x0.h | 1 /* Copyright, 1988-1992, Russell Nelson, Crynwr Software 18 #define PP_ChipID 0x0000 /* offset 0h -> Corp -ID */ 19 /* offset 2h -> Model/Product Number */ 20 /* offset 3h -> Chip Revision Number */ 22 #define PP_ISAIOB 0x0020 /* IO base address */ 23 #define PP_CS8900_ISAINT 0x0022 /* ISA interrupt select */ 24 #define PP_CS8920_ISAINT 0x0370 /* ISA interrupt select */ 25 #define PP_CS8900_ISADMA 0x0024 /* ISA Rec DMA channel */ 26 #define PP_CS8920_ISADMA 0x0374 /* ISA Rec DMA channel */ 27 #define PP_ISASOF 0x0026 /* ISA DMA offset */ [all …]
|
/linux-6.14.4/Documentation/i2c/busses/ |
D | i2c-pca-isa.rst | 2 Kernel driver i2c-pca-isa 7 This driver supports ISA boards using the Philips PCA 9564 13 ----------------- 15 * base int 16 I/O base address 23 ----------- 25 This driver supports ISA boards using the Philips PCA 9564
|
/linux-6.14.4/Documentation/hwmon/ |
D | w83627hf.rst | 5 * Winbond W83627HF (ISA accesses ONLY) 7 Addresses scanned: ISA address retrieved from Super I/O registers 10 Addresses scanned: ISA address retrieved from Super I/O registers 13 Addresses scanned: ISA address retrieved from Super I/O registers 16 Addresses scanned: ISA address retrieved from Super I/O registers 19 Addresses scanned: ISA address retrieved from Super I/O registers 29 ----------------- 39 ----------- 41 This driver implements support for ISA accesses *only* for 45 This driver supports ISA accesses, which should be more reliable [all …]
|
/linux-6.14.4/drivers/hwmon/ |
D | lm78.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lm78.c - Part of lm_sensors, Linux kernel modules for hardware 17 #include <linux/hwmon-vid.h> 18 #include <linux/hwmon-sysfs.h> 35 /* Length of ISA address segment */ 38 /* Where are the ISA address/data registers relative to the base address */ 90 return val == 0 ? -1 : val == 255 ? 0 : 1350000 / (val * div); in FAN_FROM_REG() 94 * TEMP: mC (-128C to +127C) 99 int nval = clamp_val(val, -128000, 127000) ; in TEMP_TO_REG() 100 return nval < 0 ? (nval - 500) / 1000 : (nval + 500) / 1000; in TEMP_TO_REG() [all …]
|
/linux-6.14.4/arch/riscv/kernel/ |
D | cpu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 * Returns the hart ID of the given device tree node, or -ENODEV if the node 28 * isn't an enabled and valid RISC-V hart node. 37 return -ENODEV; in riscv_of_processor_hartid() 45 return -ENODEV; in riscv_of_processor_hartid() 52 const char *isa; in riscv_early_of_processor_hartid() local 56 return -ENODEV; in riscv_early_of_processor_hartid() 62 return -ENODEV; in riscv_early_of_processor_hartid() 67 return -ENODEV; in riscv_early_of_processor_hartid() 70 if (of_property_read_string(node, "riscv,isa-base", &isa)) in riscv_early_of_processor_hartid() [all …]
|
D | cpufeature.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <asm/text-patching.h> 32 #define NUM_ALPHA_EXTS ('z' - 'a' + 1) 38 /* Host ISA bitmap */ 41 /* Per-cpu ISA extensions. */ 47 * riscv_isa_extension_base() - Get base extension word 49 * @isa_bitmap: ISA bitmap to use 50 * Return: base extension word as unsigned long value 52 * NOTE: If isa_bitmap is NULL then Host ISA bitmap will be used. 63 * __riscv_isa_extension_available() - Check whether given extension [all …]
|
/linux-6.14.4/arch/riscv/boot/dts/microchip/ |
D | mpfs.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2021 Microchip Technology Inc */ 4 /dts-v1/; 5 #include "dt-bindings/clock/microchip,mpfs-clock.h" 8 #address-cells = <2>; 9 #size-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 timebase-frequency = <1000000>; 21 i-cache-block-size = <64>; [all …]
|