| /OK3568_Linux_fs/kernel/arch/mips/boot/dts/loongson/ |
| H A D | ls7a-pch.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 compatible = "simple-bus"; 6 #address-cells = <2>; 7 #size-cells = <2>; 13 pic: interrupt-controller@10000000 { 14 compatible = "loongson,pch-pic-1.0"; 16 interrupt-controller; 17 interrupt-parent = <&htvec>; 18 loongson,pic-base-vec = <0>; 19 #interrupt-cells = <2>; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pci/ |
| H A D | mediatek-pcie.txt | 4 - compatible: Should contain one of the following strings: 5 "mediatek,mt2701-pcie" 6 "mediatek,mt2712-pcie" 7 "mediatek,mt7622-pcie" 8 "mediatek,mt7623-pcie" 9 "mediatek,mt7629-pcie" 10 - device_type: Must be "pci" 11 - reg: Base addresses and lengths of the PCIe subsys and root ports. 12 - reg-names: Names of the above areas to use during resource lookup. 13 - #address-cells: Address representation for root ports (must be 3) [all …]
|
| H A D | mvebu-pci.txt | 5 - compatible: one of the following values: 6 marvell,armada-370-pcie 7 marvell,armada-xp-pcie 8 marvell,dove-pcie 9 marvell,kirkwood-pcie 10 - #address-cells, set to <3> 11 - #size-cells, set to <2> 12 - #interrupt-cells, set to <1> 13 - bus-range: PCI bus numbers covered 14 - device_type, set to "pci" [all …]
|
| H A D | xilinx-pcie.txt | 4 - #address-cells: Address representation for root ports, set to <3> 5 - #size-cells: Size representation for root ports, set to <2> 6 - #interrupt-cells: specifies the number of cells needed to encode an 7 interrupt source. The value must be 1. 8 - compatible: Should contain "xlnx,axi-pcie-host-1.00.a" 9 - reg: Should contain AXI PCIe registers location and length 10 - device_type: must be "pci" 11 - interrupts: Should contain AXI PCIe interrupt 12 - interrupt-map-mask, 13 interrupt-map: standard PCI properties to define the mapping of the [all …]
|
| H A D | ralink,rt3883-pci.txt | 7 - compatible: must be "ralink,rt3883-pci" 9 - reg: specifies the physical base address of the controller and 12 - #address-cells: specifies the number of cells needed to encode an 15 - #size-cells: specifies the number of cells used to represent the size 18 - ranges: specifies the translation between child address space and parent 23 - status: indicates the operational status of the device. 28 The main node must have two child nodes which describes the built-in 29 interrupt controller and the PCI host bridge. 31 a) Interrupt controller: 35 - interrupt-controller: identifies the node as an interrupt controller [all …]
|
| H A D | xilinx-versal-cpm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/xilinx-versal-cpm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com> 13 - $ref: /schemas/pci/pci-bus.yaml# 17 const: xlnx,versal-cpm-host-1.00 21 - description: Configuration space region and bridge registers. 22 - description: CPM system level control and status registers. 24 reg-names: [all …]
|
| H A D | rockchip-pcie.txt | 4 - #address-cells: Address representation for root ports, set to <3> 5 - #size-cells: Size representation for root ports, set to <2> 6 - #interrupt-cells: specifies the number of cells needed to encode an 7 interrupt source. The value must be 1. 8 - compatible: Should contain "rockchip,rk3399-pcie" 9 - reg: Two register ranges as listed in the reg-names property 10 - reg-names: Must include the following names 11 - "axi-base" 12 - "apb-base" 13 - clocks: Must contain an entry for each entry in clock-names. [all …]
|
| H A D | faraday,ftpci100.txt | 5 plain and dual PCI. The plain version embeds a cascading interrupt controller 7 chips interrupt controller. 14 - compatible: ranging from specific to generic, should be one of 15 "cortina,gemini-pci", "faraday,ftpci100" 16 "cortina,gemini-pci-dual", "faraday,ftpci100-dual" 18 "faraday,ftpci100-dual" 19 - reg: memory base and size for the host bridge 20 - #address-cells: set to <3> 21 - #size-cells: set to <2> 22 - #interrupt-cells: set to <1> [all …]
|
| H A D | brcm,iproc-pcie.txt | 4 - compatible: 5 "brcm,iproc-pcie" for the first generation of PAXB based controller, 7 "brcm,iproc-pcie-paxb-v2" for the second generation of PAXB-based 9 "brcm,iproc-pcie-paxc" for the first generation of PAXC based 11 "brcm,iproc-pcie-paxc-v2" for the second generation of PAXC based 13 PAXB-based root complex is used for external endpoint devices. PAXC-based 15 - reg: base address and length of the PCIe controller I/O register space 16 - #interrupt-cells: set to <1> 17 - interrupt-map-mask and interrupt-map, standard PCI properties to define the 18 mapping of the PCIe interface to interrupt numbers [all …]
|
| H A D | rockchip-pcie-host.txt | 4 - #address-cells: Address representation for root ports, set to <3> 5 - #size-cells: Size representation for root ports, set to <2> 6 - #interrupt-cells: specifies the number of cells needed to encode an 7 interrupt source. The value must be 1. 8 - compatible: Should contain "rockchip,rk3399-pcie" 9 - reg: Two register ranges as listed in the reg-names property 10 - reg-names: Must include the following names 11 - "axi-base" 12 - "apb-base" 13 - clocks: Must contain an entry for each entry in clock-names. [all …]
|
| H A D | versatile.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 16 - $ref: /schemas/pci/pci-bus.yaml# 20 const: arm,versatile-pci 24 - description: Versatile-specific registers 25 - description: Self Config space 26 - description: Config space 31 "#interrupt-cells": true [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/core-api/irq/ |
| H A D | irq-domain.rst | 2 The irq_domain interrupt number mapping library 7 This is simple when there is only one interrupt controller, but in 8 systems with multiple interrupt controllers the kernel must ensure 9 that each one gets assigned non-overlapping allocations of Linux 12 The number of interrupt controllers registered as unique irqchips 15 mechanisms as the IRQ core system by modelling their interrupt 16 handlers as irqchips, i.e. in effect cascading interrupt controllers. 18 Here the interrupt number loose all kind of correspondence to 19 hardware interrupt numbers: whereas in the past, IRQ numbers could 21 interrupt controller (i.e. the component actually fireing the [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | armada-xp-mv78260.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 13 #include "armada-xp.dtsi" 17 compatible = "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp"; 26 #address-cells = <1>; 27 #size-cells = <0>; 28 enable-method = "marvell,armada-xp-smp"; 32 compatible = "marvell,sheeva-v7"; 35 clock-latency = <1000000>; 40 compatible = "marvell,sheeva-v7"; [all …]
|
| H A D | armada-xp-mv78460.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 13 #include "armada-xp.dtsi" 17 compatible = "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp"; 27 #address-cells = <1>; 28 #size-cells = <0>; 29 enable-method = "marvell,armada-xp-smp"; 33 compatible = "marvell,sheeva-v7"; 36 clock-latency = <1000000>; 41 compatible = "marvell,sheeva-v7"; [all …]
|
| H A D | armada-xp-mv78230.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 13 #include "armada-xp.dtsi" 17 compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp"; 25 #address-cells = <1>; 26 #size-cells = <0>; 27 enable-method = "marvell,armada-xp-smp"; 31 compatible = "marvell,sheeva-v7"; 34 clock-latency = <1000000>; 39 compatible = "marvell,sheeva-v7"; [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | armada-xp-mv78460.dtsi | 6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 8 * This file is dual-licensed: you can use it either under the terms 50 #include "armada-xp.dtsi" 54 compatible = "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp"; 64 #address-cells = <1>; 65 #size-cells = <0>; 66 enable-method = "marvell,armada-xp-smp"; 70 compatible = "marvell,sheeva-v7"; 73 clock-latency = <1000000>; 78 compatible = "marvell,sheeva-v7"; [all …]
|
| H A D | armada-xp-mv78260.dtsi | 6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 8 * This file is dual-licensed: you can use it either under the terms 50 #include "armada-xp.dtsi" 54 compatible = "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp"; 63 #address-cells = <1>; 64 #size-cells = <0>; 65 enable-method = "marvell,armada-xp-smp"; 69 compatible = "marvell,sheeva-v7"; 72 clock-latency = <1000000>; 77 compatible = "marvell,sheeva-v7"; [all …]
|
| H A D | armada-xp-mv78230.dtsi | 6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 8 * This file is dual-licensed: you can use it either under the terms 50 #include "armada-xp.dtsi" 54 compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp"; 62 #address-cells = <1>; 63 #size-cells = <0>; 64 enable-method = "marvell,armada-xp-smp"; 68 compatible = "marvell,sheeva-v7"; 71 clock-latency = <1000000>; 76 compatible = "marvell,sheeva-v7"; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/of/ |
| H A D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 8 * Copyright (C) 1996-2001 Cort Dougan 13 * device tree to actual irq numbers on an interrupt controller 29 * irq_of_parse_and_map - Parse and map an interrupt into linux virq space 30 * @dev: Device node of the device whose interrupt is to be mapped 31 * @index: Index of the interrupt to map 48 * of_irq_find_parent - Given a device node, find its interrupt parent node 51 * Returns a pointer to the interrupt parent node, or NULL if the interrupt 63 if (of_property_read_u32(child, "interrupt-parent", &parent)) { in of_irq_find_parent() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | renesas,rza1-irqc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/renesas,rza1-irqc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas RZ/A1 Interrupt Controller 10 - Chris Brandt <chris.brandt@renesas.com> 11 - Geert Uytterhoeven <geert+renesas@glider.be> 14 The RZ/A1 Interrupt Controller is a front-end for the GIC found on Renesas RZ/A1 and 16 - IRQ sense select for 8 external interrupts, 1:1-mapped to 8 GIC SPI interrupts, 17 - NMI edge select. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/dma/ipu/ |
| H A D | ipu_irq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/dma/ipu-dma.h> 20 * Register read / write - shall be inlined by the compiler 24 return __raw_readl(ipu->reg_ipu + reg); in ipu_read_reg() 29 __raw_writel(value, ipu->reg_ipu + reg); in ipu_write_reg() 95 struct ipu_irq_map *map = irq_data_get_irq_chip_data(d); in ipu_irq_unmask() local 102 bank = map->bank; in ipu_irq_unmask() 105 pr_err("IPU: %s(%u) - unmapped!\n", __func__, d->irq); in ipu_irq_unmask() 109 reg = ipu_read_reg(bank->ipu, bank->control); in ipu_irq_unmask() 110 reg |= (1UL << (map->source & 31)); in ipu_irq_unmask() [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/common/ |
| H A D | cds_pci_ft.c | 4 * SPDX-License-Identifier: GPL-2.0+ 18 u32 *map = NULL, *piccells = NULL; in cds_pci_fixup() local 27 map = fdt_getprop_w(blob, node, "interrupt-map", &len); in cds_pci_fixup() 29 /* Each item in "interrupt-map" property is translated with in cds_pci_fixup() 31 * PCI #address-cells, PCI #interrupt-cells, in cds_pci_fixup() 32 * PIC address, PIC #address-cells, PIC #interrupt-cells. in cds_pci_fixup() 34 cells = fdt_getprop_u32_default(blob, path, "#address-cells", 1); in cds_pci_fixup() 35 cells += fdt_getprop_u32_default(blob, path, "#interrupt-cells", 1); in cds_pci_fixup() 36 off = fdt_node_offset_by_phandle(blob, fdt32_to_cpu(*(map+cells))); in cds_pci_fixup() 40 piccells = (u32 *)fdt_getprop(blob, off, "#address-cells", NULL); in cds_pci_fixup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/base/regmap/ |
| H A D | regmap-irq.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/interrupt.h> 24 struct regmap *map; member 52 return &data->chip->irqs[irq]; in irq_to_regmap_irq() 59 mutex_lock(&d->lock); in regmap_irq_lock() 66 if (d->chip->mask_writeonly) in regmap_irq_update_bits() 67 return regmap_write_bits(d->map, reg, mask, val); in regmap_irq_update_bits() 69 return regmap_update_bits(d->map, reg, mask, val); in regmap_irq_update_bits() 75 struct regmap *map = d->map; in regmap_irq_sync_unlock() local 81 if (d->chip->runtime_pm) { in regmap_irq_sync_unlock() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/mips/dts/ |
| H A D | img,boston.dts | 1 /dts-v1/; 3 #include <dt-bindings/clock/boston-clock.h> 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include <dt-bindings/interrupt-controller/mips-gic.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 14 stdout-path = &uart0; 18 #address-cells = <1>; 19 #size-cells = <0>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/irqchip/ |
| H A D | irq-ingenic-tcu.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/interrupt.h> 11 #include <linux/mfd/ingenic-tcu.h> 17 struct regmap *map; member 26 struct irq_chip *irq_chip = irq_data_get_irq_chip(&desc->irq_data); in ingenic_tcu_intc_cascade() 29 struct regmap *map = gc->private; in ingenic_tcu_intc_cascade() local 33 regmap_read(map, TCU_REG_TFR, &irq_reg); in ingenic_tcu_intc_cascade() 34 regmap_read(map, TCU_REG_TMR, &irq_mask); in ingenic_tcu_intc_cascade() 50 struct regmap *map = gc->private; in ingenic_tcu_gc_unmask_enable_reg() local 51 u32 mask = d->mask; in ingenic_tcu_gc_unmask_enable_reg() [all …]
|