| /Linux-v6.6/Documentation/ABI/testing/ | 
| D | sysfs-driver-xdata | 1 What:		/sys/class/misc/drivers/dw-xdata-pcie.<device>/write5 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-v6.6/Documentation/devicetree/bindings/pci/ | 
| D | axis,artpec6-pcie.txt | 1 * Axis ARTPEC-6 PCIe interface3 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-bus.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 | snps,dw-pcie-ep.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 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 | 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.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 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 | 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 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 host controller is based on the Synopsys DesignWare
 16   PCIe IP and thus inherits all the common properties defined in
 [all …]
 
 | 
| D | pci-armada8k.txt | 1 * Marvell Armada 7K/8K PCIe interface3 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 | 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 | 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.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 …]
 
 | 
| 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 Controller4  - 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 | hisilicon,kirin-pcie.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 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 …]
 
 | 
| /Linux-v6.6/Documentation/misc-devices/ | 
| D | dw-xdata-pcie.rst | 1 .. SPDX-License-Identifier: GPL-2.04 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-v6.6/Documentation/trace/ | 
| D | hisi-ptt.rst | 1 .. SPDX-License-Identifier: GPL-2.04 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-v6.6/drivers/pci/controller/dwc/ | 
| D | pcie-bt1.c | 1 // SPDX-License-Identifier: GPL-2.0-only9  * 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.03  * PCIe RC driver for Synopsys DesignWare Core
 5  * Copyright (C) 2015-2016 Synopsys, Inc. (www.synopsys.com)
 21 #include "pcie-designware.h"
 58 		dev_err(pci->dev, "UNKNOWN IRQ type\n");  in dw_plat_pcie_ep_raise_irq()
 85 	struct dw_pcie *pci = dw_plat_pcie->pci;  in dw_plat_add_pcie_port()
 86 	struct dw_pcie_rp *pp = &pci->pp;  in dw_plat_add_pcie_port()
 87 	struct device *dev = &pdev->dev;  in dw_plat_add_pcie_port()
 90 	pp->irq = platform_get_irq(pdev, 1);  in dw_plat_add_pcie_port()
 91 	if (pp->irq < 0)  in dw_plat_add_pcie_port()
 [all …]
 
 | 
| /Linux-v6.6/drivers/pci/controller/ | 
| D | pcie-altera.c | 1 // SPDX-License-Identifier: GPL-2.03  * 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))
 59 #define TLP_CFG_DW0(pcie, cfg)		\  argument
 62 #define TLP_CFG_DW1(pcie, tag, be)	\  argument
 63 	(((TLP_REQ_ID(pcie->root_bus_nr,  RP_DEVFN)) << 16) | (tag << 8) | (be))
 [all …]
 
 | 
| /Linux-v6.6/drivers/dma/dw-edma/ | 
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.03 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-v6.6/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-v6.6/drivers/misc/ | 
| D | dw-xdata-pcie.c | 1 // SPDX-License-Identifier: GPL-2.011 #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-v6.6/Documentation/admin-guide/perf/ | 
| D | hisi-pcie-pmu.rst | 2 HiSilicon PCIe Performance Monitoring Unit (PMU)5 On Hip09, HiSilicon PCIe Performance Monitoring Unit (PMU) could monitor
 6 bandwidth, latency, bus utilization and buffer occupancy data of PCIe.
 8 Each PCIe Core has a PMU to monitor multi Root Ports of this PCIe Core and
 12 HiSilicon PCIe PMU driver
 15 The PCIe PMU driver registers a perf PMU with the name of its sicl-id and PCIe
 38   ------------------------------------------
 40   $# perf stat -e hisi_pcie0_core0/rx_mwr_latency/
 41   $# perf stat -e hisi_pcie0_core0/rx_mwr_cnt/
 42   $# perf stat -g -e hisi_pcie0_core0/rx_mwr_latency/ -e hisi_pcie0_core0/rx_mwr_cnt/
 [all …]
 
 |