/linux-6.12.1/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-6.12.1/drivers/pci/controller/dwc/ |
D | pcie-rcar-gen4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PCIe controller driver for Renesas R-Car Gen4 Series SoCs 4 * Copyright (C) 2022-2023 Renesas Electronics Corporation 6 * The r8a779g0 (R-Car V4H) controller requires a specific firmware to be 7 * provided, to initialize the PHY. Otherwise, the PCIe controller will not 24 #include "pcie-designware.h" 26 /* Renesas-specific */ 27 /* PCIe Mode Setting Register 0 */ 34 /* PCIe Interrupt Status 0 */ 37 /* PCIe Interrupt Status 0 Enable */ [all …]
|
D | pcie-bt1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Baikal-T1 PCIe controller driver 26 #include "pcie-designware.h" 28 /* Baikal-T1 System CCU control registers */ 114 /* Baikal-T1 PCIe specific control registers */ 130 /* Generic Baikal-T1 PCIe interface resources */ 136 /* PCIe bus setup delays and timeouts */ 162 struct dw_pcie dw; member 166 #define to_bt1_pcie(_dw) container_of(_dw, struct bt1_pcie, dw) 169 * Baikal-T1 MMIO space must be read/written by the dword-aligned [all …]
|
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) 21 #include "pcie-designware.h" 57 dev_err(pci->dev, "UNKNOWN IRQ type\n"); in dw_plat_pcie_ep_raise_irq() 84 struct dw_pcie *pci = dw_plat_pcie->pci; in dw_plat_add_pcie_port() 85 struct dw_pcie_rp *pp = &pci->pp; in dw_plat_add_pcie_port() 86 struct device *dev = &pdev->dev; in dw_plat_add_pcie_port() 89 pp->irq = platform_get_irq(pdev, 1); in dw_plat_add_pcie_port() 90 if (pp->irq < 0) in dw_plat_add_pcie_port() [all …]
|
/linux-6.12.1/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 | amlogic,axg-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/amlogic,axg-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Meson AXG DWC PCIe SoC controller 10 - Neil Armstrong <neil.armstrong@linaro.org> 13 Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core. 16 - $ref: /schemas/pci/pci-host-bridge.yaml# 17 - $ref: /schemas/pci/snps,dw-pcie-common.yaml# 19 # We need a select here so we don't match all nodes with 'snps,dw-pcie' [all …]
|
D | rockchip-dw-pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DesignWare based PCIe Endpoint controller on Rockchip SoCs 10 - Niklas Cassel <cassel@kernel.org> 13 RK3588 SoC PCIe Endpoint controller is based on the Synopsys DesignWare 14 PCIe IP and thus inherits all the common properties defined in 15 snps,dw-pcie-ep.yaml. 18 - $ref: /schemas/pci/snps,dw-pcie-ep.yaml# [all …]
|
D | rockchip-dw-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DesignWare based PCIe Root Complex controller on Rockchip SoCs 10 - Shawn Lin <shawn.lin@rock-chips.com> 11 - Simon Xue <xxm@rock-chips.com> 12 - Heiko Stuebner <heiko@sntech.de> 15 RK3568 SoC PCIe Root Complex controller is based on the Synopsys DesignWare 16 PCIe IP and thus inherits all the common properties defined in [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 16 # Please create a separate DT-schema for your DWC PCIe Endpoint controller 17 # and make sure it's assigned with the vendor-specific compatible string. [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 16 # Please create a separate DT-schema for your DWC PCIe Root Port controller 17 # and make sure it's assigned with the vendor-specific compatible string. [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> 21 - socionext,uniphier-pro5-pcie-ep [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 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 | socionext,uniphier-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/socionext,uniphier-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Socionext UniPhier PCIe host controller 10 UniPhier 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 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 19 - $ref: /schemas/pci/snps,dw-pcie.yaml# [all …]
|
D | fsl,imx6q-pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/fsl,imx6q-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX6 PCIe Endpoint controller 10 - Lucas Stach <l.stach@pengutronix.de> 11 - Richard Zhu <hongxing.zhu@nxp.com> 14 This PCIe controller is based on the Synopsys DesignWare PCIe IP and 15 thus inherits all the common properties defined in snps,dw-pcie-ep.yaml. 22 - fsl,imx8mm-pcie-ep [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. 19 See fsl,imx6q-pcie-ep.yaml for details on the Endpoint mode device tree [all …]
|
/linux-6.12.1/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-6.12.1/Documentation/trace/ |
D | hisi-ptt.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 HiSilicon PCIe Tune and Trace device 10 HiSilicon PCIe tune and trace device (PTT) is a PCIe Root Complex 12 to dynamically monitor and tune the PCIe link's events (tune), 15 PCIe link's performance. 17 On Kunpeng 930 SoC, the PCIe Root Complex is composed of several 18 PCIe cores. Each PCIe core includes several Root Ports and a PTT 20 tracing the links of the PCIe core. 23 +--------------Core 0-------+ 25 | | [Root Port]---[Endpoint] [all …]
|
/linux-6.12.1/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 44 #define S10_RP_CFG_ADDR(pcie, reg) \ argument 45 (((pcie)->hip_base) + (reg) + (1 << 20)) 46 #define S10_RP_SECONDARY(pcie) \ argument 47 readb(S10_RP_CFG_ADDR(pcie, PCI_SECONDARY_BUS)) 58 #define TLP_CFG_DW0(pcie, cfg) \ argument 61 #define TLP_CFG_DW1(pcie, tag, be) \ argument 62 (((PCI_DEVID(pcie->root_bus_nr, RP_DEVFN)) << 16) | (tag << 8) | (be)) [all …]
|
/linux-6.12.1/drivers/dma/dw-edma/ |
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-hdma-v0-debugfs.o 6 dw-edma-objs := dw-edma-core.o \ 7 dw-edma-v0-core.o \ 8 dw-hdma-v0-core.o $(dw-edma-y) 9 obj-$(CONFIG_DW_EDMA_PCIE) += dw-edma-pcie.o
|
/linux-6.12.1/include/linux/dma/ |
D | edma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2018-2019 Synopsys, Inc. and/or its affiliates. 30 * struct dw_edma_core_ops - platform-specific eDMA methods 32 * method accepts the channel id in the end-to-end 35 * @pci_address: Get PCIe bus address corresponding to the passed CPU 38 * the DW PCIe RP/EP controller with the DW eDMA device in 56 * enum dw_edma_chip_flags - Flags specific to an eDMA chip 64 * struct dw_edma_chip - representation of DesignWare eDMA controller hardware 79 * @dw: struct dw_edma that is filled by dw_edma_probe() 101 struct dw_edma *dw; member [all …]
|
/linux-6.12.1/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 …]
|