/linux/drivers/irqchip/ |
H A D | qcom-pdc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 45 #define pin_to_hwirq(r, p) ((r)->parent_base + (p) - (r)->pin_base) 88 __pdc_enable_intr(d->hwirq, on); in pdc_enable_intr() 105 * GIC does not handle falling edge or active low. To allow falling edge and 107 * falling edge into a rising edge and active low into an active high. 110 * Level sensitive active low LOW 111 * Rising edge sensitive NOT USED 112 * Falling edge sensitive LOW 113 * Dual Edge sensitive NOT USED [all …]
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | snps,archs-idu-intc.txt | 1 * ARC-HS Interrupt Distribution Unit 9 - compatible: "snps,archs-idu-intc" 10 - interrupt-controller: This is an interrupt controller. 11 - #interrupt-cells: Must be <1> or <2>. 18 - bits[3:0] trigger type and level flags 19 1 = low-to-high edge triggered 20 2 = NOT SUPPORTED (high-to-low edge triggered) 21 4 = active high level-sensitive <<< DEFAULT 22 8 = NOT SUPPORTED (active low level-sensitive) 24 sensitive. [all …]
|
H A D | img,pdc-intc.txt | 10 - compatible: Specifies the compatibility list for the interrupt controller. 11 The type shall be <string> and the value shall include "img,pdc-intc". 13 - reg: Specifies the base PDC physical address(s) and size(s) of the 14 addressable register space. The type shall be <prop-encoded-array>. 16 - interrupt-controller: The presence of this property identifies the node 19 - #interrupt-cells: Specifies the number of cells needed to encode an 22 - num-perips: Number of waking peripherals. 24 - num-syswakes: Number of SysWake inputs. 26 - interrupts: List of interrupt specifiers. The first specifier shall be the 34 - <1st-cell>: The interrupt-number that identifies the interrupt source. [all …]
|
H A D | open-pic.txt | 13 - compatible: Specifies the compatibility list for the PIC. The type 14 shall be <string> and the value shall include "open-pic". 16 - reg: Specifies the base physical address(s) and size(s) of this 17 PIC's addressable register space. The type shall be <prop-encoded-array>. 19 - interrupt-controller: The presence of this property identifies the node 22 - #interrupt-cells: Specifies the number of cells needed to encode an 25 - #address-cells: Specifies the number of cells needed to encode an 27 'interrupt-map' nodes do not have to specify a parent unit address. 31 - pic-no-reset: The presence of this property indicates that the PIC 42 - <1st-cell>: The interrupt-number that identifies the interrupt source. [all …]
|
H A D | nxp,lpc3220-mic.txt | 4 - compatible: "nxp,lpc3220-mic" or "nxp,lpc3220-sic". 5 - reg: should contain IC registers location and length. 6 - interrupt-controller: identifies the node as an interrupt controller. 7 - #interrupt-cells: the number of cells to define an interrupt, should be 2. 10 IRQ_TYPE_EDGE_RISING = low-to-high edge triggered, 11 IRQ_TYPE_EDGE_FALLING = high-to-low edge triggered, 12 IRQ_TYPE_LEVEL_HIGH = active high level-sensitive, 13 IRQ_TYPE_LEVEL_LOW = active low level-sensitive. 17 - interrupts: empty for MIC interrupt controller, cascaded MIC 23 mic: interrupt-controller@40008000 { [all …]
|
H A D | atmel,aic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/atmel,aic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nicolas Ferre <nicolas.ferre@microchip.com> 11 - Dharma balasubiramani <dharma.b@microchip.com> 14 The Advanced Interrupt Controller (AIC) is an 8-level priority, individually 16 hundred and twenty-eight interrupt sources. 21 - atmel,at91rm9200-aic 22 - atmel,sama5d2-aic [all …]
|
H A D | interrupts.txt | 5 ------------------------- 8 "interrupts" property, an "interrupts-extended" property, or both. If both are 16 interrupt-parent = <&intc1>; 19 The "interrupt-parent" property is used to specify the controller to which 25 The "interrupts-extended" property is a special form; useful when a node needs 31 interrupts-extended = <&intc1 5 1>, <&intc2 1 0>; 34 ----------------------------- 36 A device is marked as an interrupt controller with the "interrupt-controller" 37 property. This is a empty, boolean property. An additional "#interrupt-cells" 45 ----------- [all …]
|
H A D | amazon,al-fic.txt | 5 - compatible: should be "amazon,al-fic" 6 - reg: physical base address and size of the registers 7 - interrupt-controller: identifies the node as an interrupt controller 8 - #interrupt-cells : must be 2. Specifies the number of cells needed to encode 9 an interrupt source. Supported trigger types are low-to-high edge 10 triggered and active high level-sensitive. 11 - interrupts: describes which input line in the interrupt parent, this 20 amazon_fic: interrupt-controller@fd8a8500 { 21 compatible = "amazon,al-fic"; 22 interrupt-controller; [all …]
|
H A D | arm,gic.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/arm,gic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marc Zyngier <marc.zyngier@arm.com> 22 - $ref: /schemas/interrupt-controller.yaml# 27 - items: 28 - enum: 29 - arm,arm11mp-gic 30 - arm,cortex-a15-gic [all …]
|
H A D | mediatek,mtk-cirq.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/mediatek,mtk-cirq.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Youlin Pei <youlin.pei@mediatek.com> 14 work outside of MCUSYS which comprises with Cortex-Ax cores, CCI and GIC. 16 to GIC in MCUSYS. When CIRQ is enabled, it will record the edge-sensitive 25 - enum: 26 - mediatek,mt2701-cirq 27 - mediatek,mt8135-cirq [all …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | nvidia,tegra20-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/nvidia,tegra20-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra GPIO Controller (Tegra20 - Tegra210) 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 16 - enum: 17 - nvidia,tegra20-gpio 18 - nvidia,tegra30-gpio [all …]
|
H A D | socionext,uniphier-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/gpio/socionext,uniphier-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Masahiro Yamada <yamada.masahiro@socionext.com> 14 pattern: "^gpio@[0-9a-f]+$" 17 const: socionext,uniphier-gpio 22 gpio-controller: true 24 "#gpio-cells": 27 interrupt-controller: true [all …]
|
H A D | brcm,brcmstb-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/brcm,brcmstb-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The controller's registers are organized as sets of eight 32-bit 15 - Doug Berger <opendmb@gmail.com> 16 - Florian Fainelli <f.fainelli@gmail.com> 21 - enum: 22 - brcm,bcm7445-gpio 23 - const: brcm,brcmstb-gpio [all …]
|
H A D | nvidia,tegra186-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/nvidia,tegra186-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 53 controller, are both extremely non-linear. The header file 54 <dt-bindings/gpio/tegra186-gpio.h> describes the port-level mapping. In 65 module and the sets-of-ports as "controllers". 69 one of the interrupt signals generated by a set-of-ports. The intent is [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | brcm,bcm2835-gpio.txt | 7 - compatible: "brcm,bcm2835-gpio" 8 - compatible: should be one of: 9 "brcm,bcm2835-gpio" - BCM2835 compatible pinctrl 10 "brcm,bcm7211-gpio" - BCM7211 compatible pinctrl 11 "brcm,bcm2711-gpio" - BCM2711 compatible pinctrl 12 "brcm,bcm7211-gpio" - BCM7211 compatible pinctrl 13 - reg: Should contain the physical address of the GPIO module's registers. 14 - gpio-controller: Marks the device node as a GPIO controller. 15 - #gpio-cells : Should be two. The first cell is the pin number and the 17 - bit 0 specifies polarity (0 for normal, 1 for inverted) [all …]
|
/linux/Documentation/virt/kvm/devices/ |
H A D | xics.rst | 1 .. SPDX-License-Identifier: GPL-2.0 25 -EINVAL Value greater than KVM_MAX_VCPU_IDS. 26 -EFAULT Invalid user pointer for attr->addr. 27 -EBUSY A vcpu is already connected to the device. 32 sources, each identified by a 20-bit source number, and a set of 43 least-significant end of the word: 50 * Pending IPI (inter-processor interrupt) priority, 8 bits 64 bitfields, starting from the least-significant end of the word: 77 * Level sensitive flag, 1 bit 79 This bit is 1 for a level-sensitive interrupt source, or 0 for [all …]
|
/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-v2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/irqchip/arm-gic.h> 31 struct vgic_v2_cpu_if *cpuif = &vcpu->arch.vgic_cpu.vgic_v2; in vgic_v2_set_underflow() 33 cpuif->vgic_hcr |= GICH_HCR_UIE; in vgic_v2_set_underflow() 44 * - active bit is transferred as is 45 * - pending bit is 46 * - transferred as is in case of edge sensitive IRQs 47 * - set to the line-level (resample time) for level sensitive IRQs 51 struct vgic_cpu *vgic_cpu = &vcpu->arch.vgic_cpu; in vgic_v2_fold_lr_state() 52 struct vgic_v2_cpu_if *cpuif = &vgic_cpu->vgic_v2; in vgic_v2_fold_lr_state() [all …]
|
/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * TW5864 driver - registers description 8 /* According to TW5864_datasheet_0.6d.pdf, tw5864b1-ds.pdf */ 10 /* Register Description - Direct Map Space */ 11 /* 0x0000 ~ 0x1ffc - H264 Register Map */ 76 * 0->3 4 VLC data buffer in DDR (1M each) 77 * 0->7 8 VLC data buffer in DDR (512k each) 147 /* DDR-DPR Burst Read Enable */ 157 * 0 Single R/W Access (Host <-> DDR) 158 * 1 Burst R/W Access (Host <-> DPR) [all …]
|
/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | mpic.txt | 14 - compatible 22 - reg 24 Value type: <prop-encoded-array> 29 - interrupt-controller 35 - #interrupt-cells 39 specifiers do not contain the interrupt-type or type-specific 42 - #address-cells 47 - pic-no-reset 53 configuration registers to a sane state-- masked or 60 - big-endian [all …]
|
H A D | mpc5200.txt | 2 ---------------------------- 4 (c) 2006-2009 Secret Lab Technologies Ltd 8 ------------------ 9 For mpc5200 on-chip devices, the format for each compatible value is 10 <chip>-<device>[-<mode>]. The OS should be able to match a device driver 21 "fsl,mpc5200-<device>". 29 compatible = "fsl,mpc5200b-<device>","fsl,mpc5200-<device>"; 34 ie. ethernet on mpc5200: compatible = "fsl,mpc5200-fec"; 35 ethernet on mpc5200b: compatible = "fsl,mpc5200b-fec", "fsl,mpc5200-fec"; 39 "fsl,mpc5200-psc-i2s", not "fsl,mpc5200-i2s". This convention is chosen to [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-rcar.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Renesas R-Car GPIO Support 61 #define EDGLEVEL 0x24 /* Edge/level Select Register */ 64 #define BOTHEDGE 0x4c /* One Edge/Both Edge Select Register */ 71 return ioread32(p->base + offs); in gpio_rcar_read() 77 iowrite32(value, p->base + offs); in gpio_rcar_write() 122 * "Setting Edge-Sensitive Interrupt Input Mode" and in gpio_rcar_config_interrupt_input_mode() 123 * "Setting Level-Sensitive Interrupt Input Mode" in gpio_rcar_config_interrupt_input_mode() 126 spin_lock_irqsave(&p->lock, flags); in gpio_rcar_config_interrupt_input_mode() 131 /* Configure edge or level trigger in EDGLEVEL */ in gpio_rcar_config_interrupt_input_mode() [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | wm9713.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9713.c -- Codec touch driver for Wolfson WM9713 AC97 Codec. 31 * Pull up is in the range 1.02k (least sensitive) to 64k (most sensitive) 87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen."); 99 * 2 = Edge triggered, edge on pin delays conversion by delay param (above) 100 * 3 = Edge triggered, edge on pin starts conversion after delay param 163 dev_info(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9713_phy_init() 170 dev_info(wm->dev, "setting 5-wire touchscreen mode."); in wm9713_phy_init() 173 dev_warn(wm->dev, in wm9713_phy_init() 183 dev_info(wm->dev, in wm9713_phy_init() [all …]
|
H A D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs. 31 * Pull up is in the range 1.02k (least sensitive) to 64k (most sensitive) 87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen."); 99 * 2 = Edge triggered, edge on pin delays conversion by delay param (above) 100 * 3 = Edge triggered, edge on pin starts conversion after delay param 160 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9712_phy_init() 167 dev_dbg(wm->dev, "setting 5-wire touchscreen mode.\n"); in wm9712_phy_init() 170 dev_warn(wm->dev, "pressure measurement is not " in wm9712_phy_init() 171 "supported in 5-wire mode\n"); in wm9712_phy_init() [all …]
|
/linux/arch/powerpc/platforms/cell/ |
H A D | interrupt.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Mapping of IIC pending bits into per-node interrupt numbers. 20 * and node is always 0 (IPIs are per-cpu, their source is 74 /* Which bits in IIC_ISR are edge sensitive */
|
/linux/drivers/input/mouse/ |
H A D | byd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 * Absolute coordinate packets are in the range 0-255 for both X and Y 59 * Swipe gesture from off-pad to on-pad 67 * 1 - 8 : least to most delay 114 * 1 - 7 : least to most sensitive 128 * 2 : edge motion 129 * 3 : free scrolling + edge motion 135 * 1 - 5 : slowest to fastest 139 * Edge motion 146 * Left edge region size [all …]
|