/linux-6.14.4/Documentation/devicetree/bindings/pci/ |
D | qcom,pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/qcom,pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <[email protected]> 15 - enum: 16 - qcom,sa8775p-pcie-ep 17 - qcom,sdx55-pcie-ep 18 - qcom,sm8450-pcie-ep 19 - items: [all …]
|
/linux-6.14.4/drivers/pci/controller/dwc/ |
D | pcie-qcom-ep.c | 1 // SPDX-License-Identifier: GPL-2.0 27 #include "pcie-designware.h" 28 #include "pcie-qcom-common.h" 153 #define to_pcie_ep(x) dev_get_drvdata((x)->dev) 163 * struct qcom_pcie_ep_cfg - Per SoC config struct 175 * struct qcom_pcie_ep - Qualcomm PCIe Endpoint Controller 180 * @perst_map: PERST regmap 183 * @reset: PERST# GPIO 190 * @perst_en: Flag for PERST enable 191 * @perst_sep_en: Flag for PERST separation enable [all …]
|
D | pci-keystone.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013-2014 Texas Instruments., Ltd. 8 * Author: Murali Karicheri <m-[email protected]> 9 * Implementation based on pci-exynos.c and pcie-designware.c 31 #include "pcie-designware.h" 59 #define PCIE_LEGACY_IRQ_ENABLE_SET(n) (0x188 + (0x10 * ((n) - 1))) 60 #define PCIE_LEGACY_IRQ_ENABLE_CLR(n) (0x18c + (0x10 * ((n) - 1))) 84 #define ERR_NONFATAL BIT(2) /* Non-fatal error */ 110 #define to_keystone_pcie(x) dev_get_drvdata((x)->dev) 144 return readl(ks_pcie->va_app_base + offset); in ks_pcie_app_readl() [all …]
|
D | pci-imx6.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 18 #include <linux/mfd/syscon/imx7-iomuxc-gpr.h> 37 #include "pcie-designware.h" 75 #define to_imx_pcie(x) dev_get_drvdata((x)->dev) 110 #define imx_check_flag(pci, val) (pci->drvdata->flags & val) 170 /* PCIe Port Logic registers (memory-mapped) */ 183 /* PHY registers (not memory-mapped) */ 220 WARN_ON(imx_pcie->drvdata->variant != IMX8MQ && in imx_pcie_grp_offset() 221 imx_pcie->drvdata->variant != IMX8MQ_EP && in imx_pcie_grp_offset() [all …]
|
/linux-6.14.4/arch/arm/boot/dts/marvell/ |
D | armada-388-clearfog.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include "armada-388-clearfog.dtsi" 13 compatible = "solidrun,clearfog-pro-a1", "solidrun,clearfog-a1", 18 internal-regs { 28 reset-gpios = <&expander0 2 GPIO_ACTIVE_LOW>; 34 gpio-keys { 35 compatible = "gpio-keys"; 36 pinctrl-0 = <&rear_button_pins>; 37 pinctrl-names = "default"; [all …]
|
D | armada-388-clearfog.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include "armada-388.dtsi" 9 #include "armada-38x-solidrun-microsom.dtsi" 13 /* So that mvebu u-boot can update the MAC addresses */ 20 stdout-path = "serial0:115200n8"; 23 reg_3p3v: regulator-3p3v { 24 compatible = "regulator-fixed"; 25 regulator-name = "3P3V"; 26 regulator-min-microvolt = <3300000>; 27 regulator-max-microvolt = <3300000>; [all …]
|
/linux-6.14.4/drivers/pci/controller/ |
D | pcie-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Author: Shawn Lin <shawn.lin@rock-chips.com> 8 * Wenrui Li <wenrui.li@rock-chips.com> 25 #include "pcie-rockchip.h" 29 struct device *dev = rockchip->dev; in rockchip_pcie_parse_dt() 31 struct device_node *node = dev->of_node; in rockchip_pcie_parse_dt() 32 struct resource *regs; in rockchip_pcie_parse_dt() local 35 if (rockchip->is_rc) { in rockchip_pcie_parse_dt() 36 regs = platform_get_resource_byname(pdev, in rockchip_pcie_parse_dt() 38 "axi-base"); in rockchip_pcie_parse_dt() [all …]
|
D | pcie-mediatek-gen3.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/clk-provider.h> 78 #define PCIE_MSI_ENABLE GENMASK(PCIE_MSI_SET_NUM + 8 - 1, 8) 82 GENMASK(PCIE_INTX_SHIFT + PCI_NUM_INTX - 1, PCIE_INTX_SHIFT) 86 #define PCIE_MSI_SET_ENABLE GENMASK(PCIE_MSI_SET_NUM - 1, 0) 120 (((((size) - 1) << 1) & GENMASK(6, 1)) | PCIE_ATR_EN) 141 SKIP_PCIE_RSTB = BIT(0), /* Skip PERST# assertion during device 148 * struct mtk_gen3_pcie_pdata - differentiate between host generations 163 * struct mtk_msi_set - MSI information for each set 175 * struct mtk_gen3_pcie - PCIe port information [all …]
|
D | pcie-brcmstb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright (C) 2009 - 2019 Broadcom */ 26 #include <linux/pci-ecam.h> 37 /* BRCM_PCIE_CAP_REGS - Offset for the mandatory capability config regs */ 165 #define BRCM_INT_PCI_MSI_MASK GENMASK(BRCM_INT_PCI_MSI_NR - 1, 0) 167 32 - BRCM_INT_PCI_MSI_LEGACY_NR) 194 #define IDX_ADDR(pcie) ((pcie)->reg_offsets[EXT_CFG_INDEX]) 195 #define DATA_ADDR(pcie) ((pcie)->reg_offsets[EXT_CFG_DATA]) 196 #define PCIE_RGR1_SW_INIT_1(pcie) ((pcie)->reg_offsets[RGR1_SW_INIT_1]) 197 #define HARD_DEBUG(pcie) ((pcie)->reg_offsets[PCIE_HARD_DEBUG]) [all …]
|
D | pcie-mediatek.c | 1 // SPDX-License-Identifier: GPL-2.0 74 /* PCIe V2 per-port registers */ 127 (GENMASK(((size) - 1), 0) << ((where) & 0x3)) 145 * struct mtk_pcie_soc - differentiate between host generations 165 * struct mtk_pcie_port - PCIe port information 209 * struct mtk_pcie - PCIe host information 213 * @free_ck: free-run reference clock 215 * @soc: pointer to SoC-dependent operations 229 struct device *dev = pcie->dev; in mtk_pcie_subsys_powerdown() 231 clk_disable_unprepare(pcie->free_ck); in mtk_pcie_subsys_powerdown() [all …]
|
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)) 120 struct resource regs; 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) 200 * BAR[1] -> covers all DRAM banks [all …]
|
D | pci-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2008-2009, NVIDIA Corporation. 11 * Bits taken from arch/arm/mach-dove/pcie.c 256 * Fields in PADS_REFCLK_CFG*. Those registers form an array of 16-bit 317 } regs; member 365 struct resource regs; member 378 writel(value, pcie->afi + offset); in afi_writel() 383 return readl(pcie->afi + offset); in afi_readl() 389 writel(value, pcie->pads + offset); in pads_writel() 394 return readl(pcie->pads + offset); in pads_readl() [all …]
|
/linux-6.14.4/include/linux/bcma/ |
D | bcma_driver_pcie2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #define PCIE2_CLKC_DLYPERST 0x0100 /* Delay PeRst to CoE Core */ 134 /* PCIE gen2 config regs */ 151 #define pcie2_read16(pcie2, offset) bcma_read16((pcie2)->core, offset) 152 #define pcie2_read32(pcie2, offset) bcma_read32((pcie2)->core, offset) 153 #define pcie2_write16(pcie2, offset, val) bcma_write16((pcie2)->core, offset, val) 154 #define pcie2_write32(pcie2, offset, val) bcma_write32((pcie2)->core, offset, val) 156 #define pcie2_set32(pcie2, offset, set) bcma_set32((pcie2)->core, offset, set) 157 #define pcie2_mask32(pcie2, offset, mask) bcma_mask32((pcie2)->core, offset, mask)
|
/linux-6.14.4/drivers/net/ethernet/intel/e1000e/ |
D | ich8lan.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 36 #define E1000_ICH_FWSM_PCIM2PCI 0x01000000 /* ME PCIm-to-PCI active */ 93 /* bit24: RXDCTL thresholds granularity: 0 - cache lines, 1 - descriptors */ 99 #define E1000_FLASH_BASE_ADDR 0xE000 /*offset of NVM access regs */ 106 #define E1000_PCH2_RAR_ENTRIES 5 /* RAR[0], SHRA[0-3] */ 107 #define E1000_PCH_LPT_RAR_ENTRIES 12 /* RAR[0], SHRA[0-10] */ 144 /* Half-duplex collision counts */ 179 /* disable clear of sticky ULP on PERST */ 181 #define I218_ULP_CONFIG1_DISABLE_SMB_PERST 0x1000 /* Disable on PERST# */ [all …]
|
/linux-6.14.4/drivers/misc/cxl/ |
D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include <asm/pnv-pci.h> 89 #define AFUD_READ(afu, off) in_be64(afu->native->afu_desc_mmio + off) 90 #define AFUD_READ_LE(afu, off) in_le64(afu->native->afu_desc_mmio + off) 161 dev_info(&dev->dev, "dump_cxl_config_space\n"); in dump_cxl_config_space() 164 dev_info(&dev->dev, "BAR0: %#.8x\n", val); in dump_cxl_config_space() 166 dev_info(&dev->dev, "BAR1: %#.8x\n", val); in dump_cxl_config_space() 168 dev_info(&dev->dev, "BAR2: %#.8x\n", val); in dump_cxl_config_space() 170 dev_info(&dev->dev, "BAR3: %#.8x\n", val); in dump_cxl_config_space() 172 dev_info(&dev->dev, "BAR4: %#.8x\n", val); in dump_cxl_config_space() [all …]
|
/linux-6.14.4/drivers/misc/genwqe/ |
D | card_base.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Author: Joerg-Stephan Vogt <[email protected]> 26 #include <linux/dma-mapping.h> 37 MODULE_AUTHOR("Joerg-Stephan Vogt <[email protected]>"); 59 /* Initial SR-IOV bring-up image */ 108 * genwqe_devnode() - Set default access mode for genwqe devices. 110 * @mode: Carrier to pass-back given mode (permissions) 128 * genwqe_dev_alloc() - Create and prepare a new card descriptor 142 return ERR_PTR(-ENODEV); in genwqe_dev_alloc() 146 return ERR_PTR(-ENOMEM); in genwqe_dev_alloc() [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/qcom/ |
D | msm8996.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/qcom,gcc-msm8996.h> 8 #include <dt-bindings/clock/qcom,mmcc-msm8996.h> 9 #include <dt-bindings/clock/qcom,rpmcc.h> 10 #include <dt-bindings/interconnect/qcom,msm8996.h> 11 #include <dt-bindings/interconnect/qcom,msm8996-cbf.h> 12 #include <dt-bindings/firmware/qcom,scm.h> 13 #include <dt-bindings/gpio/gpio.h> [all …]
|
D | msm8998.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/clock/qcom,gcc-msm8998.h> 6 #include <dt-bindings/clock/qcom,gpucc-msm8998.h> 7 #include <dt-bindings/clock/qcom,mmcc-msm8998.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/firmware/qcom,scm.h> 10 #include <dt-bindings/power/qcom-rpmpd.h> 11 #include <dt-bindings/gpio/gpio.h> 14 interrupt-parent = <&intc>; [all …]
|
/linux-6.14.4/arch/arm/boot/dts/qcom/ |
D | qcom-sdx55.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 9 #include <dt-bindings/clock/qcom,gcc-sdx55.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interconnect/qcom,sdx55.h> 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> 15 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 18 #address-cells = <1>; 19 #size-cells = <1>; [all …]
|
D | qcom-sdx65.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 9 #include <dt-bindings/clock/qcom,gcc-sdx65.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/power/qcom-rpmpd.h> 14 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 15 #include <dt-bindings/interconnect/qcom,sdx65.h> 18 #address-cells = <1>; 19 #size-cells = <1>; [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/freescale/ |
D | imx8mp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/imx8mp-clock.h> 7 #include <dt-bindings/power/imx8mp-power.h> 8 #include <dt-bindings/reset/imx8mp-reset.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interconnect/fsl,imx8mp.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/thermal/thermal.h> 15 #include "imx8mp-pinfunc.h" [all …]
|
/linux-6.14.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_self_test.c | 1 // SPDX-License-Identifier: GPL-2.0 30 u32 imm1; /* 1st value in predicate condition, left-to-right */ 31 u32 imm2; /* 2nd value in predicate condition, left-to-right */ 32 u32 imm3; /* 3rd value in predicate condition, left-to-right */ 33 u32 imm4; /* 4th value in predicate condition, left-to-right */ 36 /* struct representing self test record - a single test */ 54 return (args->val1 == args->imm1); in peq() 59 return (args->val1 != args->imm1); in pneq() 64 return ((args->val1 & args->imm1) != args->imm2); in pand_neq() 69 return (((args->val1 & args->imm1) != args->imm2) && in pand_neq_x2() [all …]
|