/Linux-v5.15/Documentation/ABI/testing/ |
D | sysfs-driver-xdata | 1 What: /sys/class/misc/drivers/dw-xdata-pcie.<device>/write 5 Description: Allows the user to enable the PCIe traffic generator which 6 will create write TLPs frames - from the Root Complex to the 7 Endpoint direction or to disable the PCIe traffic generator 13 echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write 15 echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write 17 The user can read the current PCIe link throughput generated 21 cat /sys/class/misc/dw-xdata-pcie.<device>/write 26 What: /sys/class/misc/dw-xdata-pcie.<device>/read 30 Description: Allows the user to enable the PCIe traffic generator which [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/pci/ |
D | axis,artpec6-pcie.txt | 1 * Axis ARTPEC-6 PCIe interface 3 This PCIe host controller is based on the Synopsys DesignWare PCIe IP 4 and thus inherits all the common properties defined in snps,dw-pcie.yaml. 7 - compatible: "axis,artpec6-pcie", "snps,dw-pcie" for ARTPEC-6 in RC mode; 8 "axis,artpec6-pcie-ep", "snps,dw-pcie" for ARTPEC-6 in EP mode; 9 "axis,artpec7-pcie", "snps,dw-pcie" for ARTPEC-7 in RC mode; 10 "axis,artpec7-pcie-ep", "snps,dw-pcie" for ARTPEC-7 in EP mode; 11 - reg: base addresses and lengths of the PCIe controller (DBI), 13 - reg-names: Must include the following entries: 14 - "dbi" [all …]
|
D | qcom,pcie.txt | 3 - compatible: 7 - "qcom,pcie-ipq8064" for ipq8064 8 - "qcom,pcie-ipq8064-v2" for ipq8064 rev 2 or ipq8065 9 - "qcom,pcie-apq8064" for apq8064 10 - "qcom,pcie-apq8084" for apq8084 11 - "qcom,pcie-msm8996" for msm8996 or apq8096 12 - "qcom,pcie-ipq4019" for ipq4019 13 - "qcom,pcie-ipq8074" for ipq8074 14 - "qcom,pcie-qcs404" for qcs404 15 - "qcom,pcie-sdm845" for sdm845 [all …]
|
D | amlogic,meson-pcie.txt | 1 Amlogic Meson AXG DWC PCIE SoC controller 3 Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core. 4 It shares common functions with the PCIe DesignWare core driver and 6 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml. 11 - compatible: 13 - "amlogic,axg-pcie" for AXG SoC Family 14 - "amlogic,g12a-pcie" for G12A SoC Family 16 - reg: 18 - reg-names: Must be 19 - "elbi" External local bus interface registers [all …]
|
D | intel-gw-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/intel-gw-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: PCIe RC controller on Intel Gateway SoCs 10 - Rahul Tanwar <rtanwar@maxlinear.com> 16 const: intel,lgm-pcie 18 - compatible 21 - $ref: /schemas/pci/snps,dw-pcie.yaml# 26 - const: intel,lgm-pcie [all …]
|
D | snps,dw-pcie-ep.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Synopsys DesignWare PCIe endpoint interface 10 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 14 Synopsys DesignWare PCIe host controller endpoint 17 - $ref: /schemas/pci/pci-ep.yaml# 22 - {} [all …]
|
D | snps,dw-pcie.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Synopsys DesignWare PCIe interface 10 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 14 Synopsys DesignWare PCIe host controller 17 - $ref: /schemas/pci/pci-bus.yaml# 22 - {} [all …]
|
D | pci-armada8k.txt | 1 * Marvell Armada 7K/8K PCIe interface 3 This PCIe host controller is based on the Synopsys DesignWare PCIe IP 4 and thus inherits all the common properties defined in snps,dw-pcie.yaml. 7 - compatible: "marvell,armada8k-pcie" 8 - reg: must contain two register regions 9 - the control register region 10 - the config space region 11 - reg-names: 12 - "ctrl" for the control register region 13 - "config" for the config space region [all …]
|
D | socionext,uniphier-pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/socionext,uniphier-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Socionext UniPhier PCIe endpoint controller 10 UniPhier PCIe endpoint controller is based on the Synopsys DesignWare 11 PCI core. It shares common features with the PCIe DesignWare core and 13 Documentation/devicetree/bindings/pci/snps,dw-pcie-ep.yaml. 16 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 19 - $ref: /schemas/pci/snps,dw-pcie-ep.yaml# [all …]
|
D | uniphier-pcie.txt | 1 Socionext UniPhier PCIe host controller bindings 3 This describes the devicetree bindings for PCIe host controller implemented 6 UniPhier PCIe host controller is based on the Synopsys DesignWare PCI core. 7 It shares common functions with the PCIe DesignWare core driver and inherits 9 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml. 12 - compatible: Should be "socionext,uniphier-pcie". 13 - reg: Specifies offset and length of the register set for the device. 14 According to the reg-names, appropriate register sets are required. 15 - reg-names: Must include the following entries: 16 "dbi" - controller configuration registers [all …]
|
D | samsung,exynos-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/samsung,exynos-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung SoC series PCIe Host Controller Device Tree Bindings 10 - Marek Szyprowski <m.szyprowski@samsung.com> 11 - Jaehoon Chung <jh80.chung@samsung.com> 14 Exynos5433 SoC PCIe host controller is based on the Synopsys DesignWare 15 PCIe IP and thus inherits all the common properties defined in 16 snps,dw-pcie.yaml. [all …]
|
D | nvidia,tegra194-pcie.txt | 1 NVIDIA Tegra PCIe controller (Synopsys DesignWare Core based) 3 This PCIe controller is based on the Synopsis Designware PCIe IP 4 and thus inherits all the common properties defined in snps,dw-pcie.yaml and 5 snps,dw-pcie-ep.yaml. 10 - power-domains: A phandle to the node that controls power to the respective 11 PCIe controller and a specifier name for the PCIe controller. Following are 12 the specifiers for the different PCIe controllers 20 "include/dt-bindings/power/tegra194-powergate.h" file. 21 - reg: A list of physical base address and length pairs for each set of 22 controller registers. Must contain an entry for each entry in the reg-names [all …]
|
D | sifive,fu740-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/sifive,fu740-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SiFive FU740 PCIe host controller 10 SiFive FU740 PCIe host controller is based on the Synopsys DesignWare 11 PCI core. It shares common features with the PCIe DesignWare core and 13 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml. 16 - Paul Walmsley <paul.walmsley@sifive.com> 17 - Greentime Hu <greentime.hu@sifive.com> [all …]
|
D | ti-pci.txt | 3 PCIe DesignWare Controller 4 - compatible: Should be "ti,dra7-pcie" for RC (deprecated) 5 Should be "ti,dra7-pcie-ep" for EP (deprecated) 6 Should be "ti,dra746-pcie-rc" for dra74x/dra76 in RC mode 7 Should be "ti,dra746-pcie-ep" for dra74x/dra76 in EP mode 8 Should be "ti,dra726-pcie-rc" for dra72x in RC mode 9 Should be "ti,dra726-pcie-ep" for dra72x in EP mode 10 - phys : list of PHY specifiers (used by generic PHY framework) 11 - phy-names : must be "pcie-phy0", "pcie-phy1", "pcie-phyN".. based on the 13 - ti,hwmods : Name of the hwmod associated to the pcie, "pcie<X>", [all …]
|
D | fsl,imx6q-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/fsl,imx6q-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX6 PCIe host controller 10 - Lucas Stach <l.stach@pengutronix.de> 11 - Richard Zhu <hongxing.zhu@nxp.com> 14 This PCIe host controller is based on the Synopsys DesignWare PCIe IP 15 and thus inherits all the common properties defined in snps,dw-pcie.yaml. 18 - $ref: /schemas/pci/snps,dw-pcie.yaml# [all …]
|
D | hisilicon,kirin-pcie.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pci/hisilicon,kirin-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HiSilicon Kirin SoCs PCIe host DT description 10 - Xiaowei Song <songxiaowei@hisilicon.com> 11 - Binghui Wang <wangbinghui@hisilicon.com> 14 Kirin PCIe host controller is based on the Synopsys DesignWare PCI core. 15 It shares common functions with the PCIe DesignWare core driver and 17 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml. [all …]
|
D | spear13xx-pcie.txt | 1 SPEAr13XX PCIe DT detail: 4 SPEAr13XX uses the Synopsys DesignWare PCIe controller and ST MiPHY as PHY 8 - compatible : should be "st,spear1340-pcie", "snps,dw-pcie". 9 - phys : phandle to PHY node associated with PCIe controller 10 - phy-names : must be "pcie-phy" 11 - All other definitions as per generic PCI bindings 14 - st,pcie-is-gen1 indicates that forced gen1 initialization is needed.
|
/Linux-v5.15/Documentation/misc-devices/ |
D | dw-xdata-pcie.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Driver for Synopsys DesignWare PCIe traffic generator (also known as xData) 8 Synopsys DesignWare PCIe prototype solution 17 ----------- 19 This driver should be used as a host-side (Root Complex) driver and Synopsys 22 The dw-xdata-pcie driver can be used to enable/disable PCIe traffic 24 PCIe link performance analysis. 31 ------- 33 Write TLPs traffic generation - Root Complex to Endpoint direction 38 # echo 1 > /sys/class/misc/dw-xdata-pcie.0/write [all …]
|
/Linux-v5.15/drivers/dma/dw-edma/ |
D | dw-edma-pcie.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2018-2019 Synopsys, Inc. and/or its affiliates. 4 * Synopsys DesignWare eDMA PCIe driver 14 #include <linux/pci-epf.h> 18 #include "dw-edma-core.h" 62 /* Channel 0 - BAR 2, offset 0 Mbytes, size 2 Kbytes */ 64 /* Channel 1 - BAR 2, offset 2 Mbytes, size 2 Kbytes */ 68 /* Channel 0 - BAR 2, offset 4 Mbytes, size 2 Kbytes */ 70 /* Channel 1 - BAR 2, offset 6 Mbytes, size 2 Kbytes */ 75 /* Channel 0 - BAR 2, offset 8 Mbytes, size 2 Kbytes */ [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 obj-$(CONFIG_DW_EDMA) += dw-edma.o 4 dw-edma-$(CONFIG_DEBUG_FS) := dw-edma-v0-debugfs.o 5 dw-edma-objs := dw-edma-core.o \ 6 dw-edma-v0-core.o $(dw-edma-y) 7 obj-$(CONFIG_DW_EDMA_PCIE) += dw-edma-pcie.o
|
/Linux-v5.15/drivers/pci/controller/ |
D | pcie-altera.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright Altera Corporation (C) 2013-2015. All rights reserved 6 * Description: Altera PCIe host controller driver 45 #define S10_RP_CFG_ADDR(pcie, reg) \ argument 46 (((pcie)->hip_base) + (reg) + (1 << 20)) 47 #define S10_RP_SECONDARY(pcie) \ argument 48 readb(S10_RP_CFG_ADDR(pcie, PCI_SECONDARY_BUS)) 60 #define TLP_CFG_DW0(pcie, cfg) \ argument 63 #define TLP_CFG_DW1(pcie, tag, be) \ argument 64 (((TLP_REQ_ID(pcie->root_bus_nr, RP_DEVFN)) << 16) | (tag << 8) | (be)) [all …]
|
/Linux-v5.15/drivers/pci/controller/dwc/ |
D | pcie-designware-plat.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCIe RC driver for Synopsys DesignWare Core 5 * Copyright (C) 2015-2016 Synopsys, Inc. (www.synopsys.com) 22 #include "pcie-designware.h" 71 dev_err(pci->dev, "UNKNOWN IRQ type\n"); in dw_plat_pcie_ep_raise_irq() 98 struct dw_pcie *pci = dw_plat_pcie->pci; in dw_plat_add_pcie_port() 99 struct pcie_port *pp = &pci->pp; in dw_plat_add_pcie_port() 100 struct device *dev = &pdev->dev; in dw_plat_add_pcie_port() 103 pp->irq = platform_get_irq(pdev, 1); in dw_plat_add_pcie_port() 104 if (pp->irq < 0) in dw_plat_add_pcie_port() [all …]
|
/Linux-v5.15/drivers/misc/ |
D | dw-xdata-pcie.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/pci-epf.h> 20 #define DW_XDATA_DRIVER_NAME "dw-xdata-pcie" 73 static inline struct dw_xdata_regs __iomem *__dw_regs(struct dw_xdata *dw) in __dw_regs() argument 75 return dw->rg_region.vaddr; in __dw_regs() 78 static void dw_xdata_stop(struct dw_xdata *dw) in dw_xdata_stop() argument 82 mutex_lock(&dw->mutex); in dw_xdata_stop() 84 burst = readl(&(__dw_regs(dw)->burst_cnt)); in dw_xdata_stop() 88 writel(burst, &(__dw_regs(dw)->burst_cnt)); in dw_xdata_stop() 91 mutex_unlock(&dw->mutex); in dw_xdata_stop() [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | spear1310.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 compatible = "st,spear-spics-gpio"; 17 st-spics,peripcfg-reg = <0x3b0>; 18 st-spics,sw-enable-bit = <12>; 19 st-spics,cs-value-bit = <11>; 20 st-spics,cs-enable-mask = <3>; 21 st-spics,cs-enable-shift = <8>; 22 gpio-controller; 23 #gpio-cells = <2>; 27 compatible = "st,spear1310-miphy"; [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/marvell/ |
D | armada-cp11x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/interrupt-controller/mvebu-icu.h> 9 #include <dt-bindings/thermal/thermal.h> 11 #include "armada-common.dtsi" 27 thermal-zones { 28 CP11X_LABEL(thermal_ic): CP11X_NODE_NAME(thermal-ic) { 29 polling-delay-passive = <0>; /* Interrupt driven */ 30 polling-delay = <0>; /* Interrupt driven */ 32 thermal-sensors = <&CP11X_LABEL(thermal) 0>; 42 cooling-maps { }; [all …]
|