| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | samsung-pinctrl.txt | 6 on-chip controllers onto these pads. 9 - compatible: should be one of the following. 10 - "samsung,s3c2412-pinctrl": for S3C2412-compatible pin-controller, 11 - "samsung,s3c2416-pinctrl": for S3C2416-compatible pin-controller, 12 - "samsung,s3c2440-pinctrl": for S3C2440-compatible pin-controller, 13 - "samsung,s3c2450-pinctrl": for S3C2450-compatible pin-controller, 14 - "samsung,s3c64xx-pinctrl": for S3C64xx-compatible pin-controller, 15 - "samsung,s5pv210-pinctrl": for S5PV210-compatible pin-controller, 16 - "samsung,exynos3250-pinctrl": for Exynos3250 compatible pin-controller. 17 - "samsung,exynos4210-pinctrl": for Exynos4210 compatible pin-controller. [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | npcm750-pwm-fan.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2014-2018 Nuvoton Technology corporation. 7 #include <linux/hwmon-sysfs.h> 8 #include <linux/interrupt.h> 19 #define NPCM7XX_PWM_REG_BASE(base, n) ((base) + ((n) * 0x1000L)) argument 21 #define NPCM7XX_PWM_REG_PR(base, n) (NPCM7XX_PWM_REG_BASE(base, n) + 0x00) argument 22 #define NPCM7XX_PWM_REG_CSR(base, n) (NPCM7XX_PWM_REG_BASE(base, n) + 0x04) argument 23 #define NPCM7XX_PWM_REG_CR(base, n) (NPCM7XX_PWM_REG_BASE(base, n) + 0x08) argument 24 #define NPCM7XX_PWM_REG_CNRx(base, n, ch) \ argument 25 (NPCM7XX_PWM_REG_BASE(base, n) + 0x0C + (12 * (ch))) [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | npcm750-pwm-fan.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2014-2018 Nuvoton Technology corporation. 7 #include <linux/hwmon-sysfs.h> 8 #include <linux/interrupt.h> 19 #define NPCM7XX_PWM_REG_BASE(base, n) ((base) + ((n) * 0x1000L)) argument 21 #define NPCM7XX_PWM_REG_PR(base, n) (NPCM7XX_PWM_REG_BASE(base, n) + 0x00) argument 22 #define NPCM7XX_PWM_REG_CSR(base, n) (NPCM7XX_PWM_REG_BASE(base, n) + 0x04) argument 23 #define NPCM7XX_PWM_REG_CR(base, n) (NPCM7XX_PWM_REG_BASE(base, n) + 0x08) argument 24 #define NPCM7XX_PWM_REG_CNRx(base, n, ch) \ argument 25 (NPCM7XX_PWM_REG_BASE(base, n) + 0x0C + (12 * (ch))) [all …]
|
| /kernel/linux/linux-5.10/drivers/irqchip/ |
| D | irq-mbigen.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/interrupt.h> 19 /* Interrupt numbers per mbigen node supported */ 22 /* 64 irqs (Pin0-pin63) are reserved for each mbigen chip */ 45 * of interrupt 50 * offset of interrupt type register 51 * This register is used to configure interrupt 57 * struct mbigen_device - holds the information of mbigen device. 60 * @base: mapped address of this mbigen chip. 64 void __iomem *base; member [all …]
|
| D | irq-gic-v2m.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ARM GIC v2m MSI(-X) support 5 * implement ARM Generic Interrupt Controller: GICv2m. 16 #include <linux/dma-iommu.h> 26 #include <linux/irqchip/arm-gic.h> 49 /* APM X-Gene with GICv2m MSI_IIDR register value */ 66 void __iomem *base; /* GICv2m virt address */ member 102 if (v2m->flags & GICV2M_GRAVITON_ADDRESS_ONLY) in gicv2m_get_msi_addr() 103 return v2m->res.start | ((hwirq - 32) << 3); in gicv2m_get_msi_addr() 105 return v2m->res.start + V2M_MSI_SETSPI_NS; in gicv2m_get_msi_addr() [all …]
|
| /kernel/linux/linux-6.6/drivers/irqchip/ |
| D | irq-mbigen.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/interrupt.h> 19 /* Interrupt numbers per mbigen node supported */ 22 /* 64 irqs (Pin0-pin63) are reserved for each mbigen chip */ 45 * of interrupt 50 * offset of interrupt type register 51 * This register is used to configure interrupt 57 * struct mbigen_device - holds the information of mbigen device. 60 * @base: mapped address of this mbigen chip. 64 void __iomem *base; member [all …]
|
| D | irq-gic-v2m.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ARM GIC v2m MSI(-X) support 5 * implement ARM Generic Interrupt Controller: GICv2m. 26 #include <linux/irqchip/arm-gic.h> 27 #include <linux/irqchip/arm-gic-common.h> 50 /* APM X-Gene with GICv2m MSI_IIDR register value */ 67 void __iomem *base; /* GICv2m virt address */ member 102 if (v2m->flags & GICV2M_GRAVITON_ADDRESS_ONLY) in gicv2m_get_msi_addr() 103 return v2m->res.start | ((hwirq - 32) << 3); in gicv2m_get_msi_addr() 105 return v2m->res.start + V2M_MSI_SETSPI_NS; in gicv2m_get_msi_addr() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
| D | st,stih4xx.txt | 3 - sti-vtg: video timing generator 5 - compatible: "st,vtg" 6 - reg: Physical base address of the IP registers and length of memory mapped region. 8 - interrupts : VTG interrupt number to the CPU. 9 - st,slave: phandle on a slave vtg 11 - sti-vtac: video timing advanced inter dye communication Rx and TX 13 - compatible: "st,vtac-main" or "st,vtac-aux" 14 - reg: Physical base address of the IP registers and length of memory mapped region. 15 - clocks: from common clock binding: handle hardware IP needed clocks, the 17 See ../clocks/clock-bindings.txt for details. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/ |
| D | st,stih4xx.txt | 3 - sti-vtg: video timing generator 5 - compatible: "st,vtg" 6 - reg: Physical base address of the IP registers and length of memory mapped region. 8 - interrupts : VTG interrupt number to the CPU. 9 - st,slave: phandle on a slave vtg 11 - sti-vtac: video timing advanced inter dye communication Rx and TX 13 - compatible: "st,vtac-main" or "st,vtac-aux" 14 - reg: Physical base address of the IP registers and length of memory mapped region. 15 - clocks: from common clock binding: handle hardware IP needed clocks, the 17 See ../clocks/clock-bindings.txt for details. [all …]
|
| /kernel/linux/linux-6.6/arch/mips/pci/ |
| D | pci-rt3883.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org> 15 #include <linux/interrupt.h> 22 #include <asm/mach-ralink/rt3883.h> 23 #include <asm/mach-ralink/ralink_regs.h> 60 void __iomem *base; member 77 hose = (struct pci_controller *) bus->sysdata; in pci_bus_to_rt3883_controller() 84 return ioread32(rpc->base + reg); in rt3883_pci_r32() 90 iowrite32(val, rpc->base + reg); in rt3883_pci_w32() 143 generic_handle_domain_irq(rpc->irq_domain, bit); in rt3883_pci_irq_handler() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
| D | cci.txt | 5 ARM multi-cluster systems maintain intra-cluster coherency through a 24 - compatible 28 "arm,cci-400" 29 "arm,cci-500" 30 "arm,cci-550" 32 - reg 35 of cells, containing base and size. 36 Definition: A standard property. Specifies base physical 40 - ranges: 43 as a tuple of cells, containing child address, [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/starfive/ |
| D | pinctrl-starfive-jh7100.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include <dt-bindings/pinctrl/pinctrl-starfive-jh7100.h> 29 #include "../pinctrl-utils.h" 33 #define DRIVER_NAME "pinctrl-starfive" 37 * https://github.com/starfive-tech/JH7100_Docs 48 * The following 32-bit registers come in pairs, but only the offset of the 49 * first register is defined. The first controls (interrupts for) GPIO 0-31 and 50 * the second GPIO 32-63. 54 * Interrupt Type. If set to 1 the interrupt is edge-triggered. If set to 0 the 55 * interrupt is level-triggered. [all …]
|
| /kernel/linux/linux-6.6/drivers/pci/controller/ |
| D | pci-mvebu.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Author: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 27 #include "../pci-bridge-emul.h" 40 #define PCIE_BAR_CTRL_OFF(n) (0x1804 + (((n) - 1) * 4)) 94 phys_addr_t base; member 102 void __iomem *base; member 130 writel(val, port->base + reg); in mvebu_writel() 135 return readl(port->base + reg); in mvebu_readl() 140 return port->io_target != -1 && port->io_attr != -1; in mvebu_has_ioport() 199 * BAR[0] -> internal registers (needed for MSI) [all …]
|
| /kernel/linux/linux-5.10/arch/mips/pci/ |
| D | pci-rt3883.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org> 15 #include <linux/interrupt.h> 21 #include <asm/mach-ralink/rt3883.h> 22 #include <asm/mach-ralink/ralink_regs.h> 59 void __iomem *base; member 76 hose = (struct pci_controller *) bus->sysdata; in pci_bus_to_rt3883_controller() 83 return ioread32(rpc->base + reg); in rt3883_pci_r32() 89 iowrite32(val, rpc->base + reg); in rt3883_pci_w32() 146 irq = irq_find_mapping(rpc->irq_domain, bit); in rt3883_pci_irq_handler() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/dove/ |
| D | pmu.txt | 4 - compatible: value should be "marvell,dove-pmu". 5 May also include "simple-bus" if there are child devices, in which 7 - reg: two base addresses and sizes of the PM controller and PMU. 8 - interrupts: single interrupt number for the PMU interrupt 9 - interrupt-controller: must be specified as the PMU itself is an 10 interrupt controller. 11 - #interrupt-cells: must be 1. 12 - #reset-cells: must be 1. 13 - domains: sub-node containing domain descriptions 16 - ranges: defines the address mapping for child devices, as per the [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/dove/ |
| D | pmu.txt | 4 - compatible: value should be "marvell,dove-pmu". 5 May also include "simple-bus" if there are child devices, in which 7 - reg: two base addresses and sizes of the PM controller and PMU. 8 - interrupts: single interrupt number for the PMU interrupt 9 - interrupt-controller: must be specified as the PMU itself is an 10 interrupt controller. 11 - #interrupt-cells: must be 1. 12 - #reset-cells: must be 1. 13 - domains: sub-node containing domain descriptions 16 - ranges: defines the address mapping for child devices, as per the [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/tegra/ |
| D | nvidia,tegra20-host1x.txt | 4 - compatible: "nvidia,tegra<chip>-host1x" 5 - reg: Physical base address and length of the controller's registers. 6 For pre-Tegra186, one entry describing the whole register area. 7 For Tegra186, one entry for each entry in reg-names: 8 "vm" - VM region assigned to Linux 9 "hypervisor" - Hypervisor region (only if Linux acts as hypervisor) 10 - interrupts: The interrupt outputs from the controller. 11 - #address-cells: The number of cells used to represent physical base addresses 13 - #size-cells: The number of cells used to represent the size of an address 15 - ranges: The mapping of the host1x address space to the CPU address space. [all …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | mfd-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/mfd/mfd-core.c 40 if (!cell->enable) { in mfd_cell_enable() 41 dev_dbg(&pdev->dev, "No .enable() call-back registered\n"); in mfd_cell_enable() 45 return cell->enable(pdev); in mfd_cell_enable() 53 if (!cell->disable) { in mfd_cell_disable() 54 dev_dbg(&pdev->dev, "No .disable() call-back registered\n"); in mfd_cell_disable() 58 return cell->disable(pdev); in mfd_cell_disable() 66 const struct mfd_cell_acpi_match *match = cell->acpi_match; in mfd_acpi_add_device() 67 struct acpi_device *parent, *child; in mfd_acpi_add_device() local [all …]
|
| /kernel/linux/linux-6.6/include/linux/gpio/ |
| D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/pinctrl/pinconf-generic.h> 46 * struct gpio_irq_chip - GPIO interrupt controller 59 * Interrupt translation domain; responsible for mapping between GPIO 76 * If non-NULL, will be set as the parent of this GPIO interrupt 77 * controller's IRQ domain to establish a hierarchical interrupt 79 * interrupt support. 86 * This callback translates a child hardware IRQ offset to a parent 87 * hardware IRQ offset on a hierarchical interrupt chip. The child 88 * hardware IRQs correspond to the GPIO index 0..ngpio-1 (see the [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| D | octeon-usb.txt | 7 - compatible: must be "cavium,octeon-5750-usbn" 9 - reg: specifies the physical base address of the USBN block 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 21 - clock-frequency: speed of the USB reference clock. Allowed values are 24 - cavium,refclk-type: type of the USB reference clock. Allowed values are 27 - refclk-frequency: deprecated, use "clock-frequency". 29 - refclk-type: deprecated, use "cavium,refclk-type". 31 2) Child node [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| D | octeon-usb.txt | 7 - compatible: must be "cavium,octeon-5750-usbn" 9 - reg: specifies the physical base address of the USBN block 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 21 - clock-frequency: speed of the USB reference clock. Allowed values are 24 - cavium,refclk-type: type of the USB reference clock. Allowed values are 27 - refclk-frequency: deprecated, use "clock-frequency". 29 - refclk-type: deprecated, use "cavium,refclk-type". 31 2) Child node [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/ti/ |
| D | keystone-navigator-qmss.txt | 5 multi-core Navigator. QMSS consist of queue managers, packed-data structure 9 management of the packet queues. Packets are queued/de-queued by writing or 20 - compatible : Must be "ti,keystone-navigator-qmss". 21 : Must be "ti,66ak2g-navss-qm" for QMSS on K2G SoC. 22 - clocks : phandle to the reference clock for this device. 23 - queue-range : <start number> total range of queue numbers for the device. 24 - linkram0 : <address size> for internal link ram, where size is the total 26 - linkram1 : <address size> for external link ram, where size is the total 29 - qmgrs : child node describing the individual queue managers on the 32 -- managed-queues : the actual queues managed by each queue manager [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/ti/ |
| D | keystone-navigator-qmss.txt | 5 multi-core Navigator. QMSS consist of queue managers, packed-data structure 9 management of the packet queues. Packets are queued/de-queued by writing or 20 - compatible : Must be "ti,keystone-navigator-qmss". 21 : Must be "ti,66ak2g-navss-qm" for QMSS on K2G SoC. 22 - clocks : phandle to the reference clock for this device. 23 - queue-range : <start number> total range of queue numbers for the device. 24 - linkram0 : <address size> for internal link ram, where size is the total 26 - linkram1 : <address size> for external link ram, where size is the total 29 - qmgrs : child node describing the individual queue managers on the 32 -- managed-queues : the actual queues managed by each queue manager [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/cdns3/ |
| D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017-2018 NXP 6 * Copyright (C) 2018-2019 Cadence. 20 * struct cdns3_role_driver - host/gadget role driver 50 * struct cdns3 - Representation of Cadence USB3 DRD controller. 52 * @xhci_regs: pointer to base of xhci registers 54 * @dev_regs: pointer to base of dev registers 56 * @otg_v0_regs: pointer to base of v0 otg registers 57 * @otg_v1_regs: pointer to base of v1 otg registers 58 * @otg_cdnsp_regs: pointer to base of CDNSP otg registers [all …]
|