| /linux/drivers/pci/controller/dwc/ |
| H A D | pcie-eswin.c | 58 struct reset_control *perst; member 98 ret = reset_control_assert(port->perst); in eswin_pcie_perst_reset() 100 dev_err(pcie->pci.dev, "Failed to assert PERST#\n"); in eswin_pcie_perst_reset() 104 /* Ensure that PERST# has been asserted for at least 100 ms */ in eswin_pcie_perst_reset() 107 ret = reset_control_deassert(port->perst); in eswin_pcie_perst_reset() 109 dev_err(pcie->pci.dev, "Failed to deassert PERST#\n"); in eswin_pcie_perst_reset() 121 reset_control_assert(port->perst); in eswin_pcie_assert() 135 port->perst = of_reset_control_get_exclusive(node, "perst"); in eswin_pcie_parse_port() 136 if (IS_ERR(port->perst)) { in eswin_pcie_parse_port() 137 dev_err(dev, "Failed to get PERST# reset\n"); in eswin_pcie_parse_port() [all …]
|
| H A D | pcie-qcom-ep.c | 185 * @perst_map: PERST regmap 188 * @reset: PERST# GPIO 195 * @perst_en: Flag for PERST enable 196 * @perst_sep_en: Flag for PERST separation enable 200 * @perst_irq: PERST# IRQ 613 syscon = of_parse_phandle(dev->of_node, "qcom,perst-regs", 0); in qcom_pcie_ep_get_io_resources() 615 dev_dbg(dev, "PERST separation not available\n"); in qcom_pcie_ep_get_io_resources() 624 ret = of_property_read_u32_index(dev->of_node, "qcom,perst-regs", in qcom_pcie_ep_get_io_resources() 627 dev_err(dev, "No Perst Enable offset in syscon\n"); in qcom_pcie_ep_get_io_resources() 631 ret = of_property_read_u32_index(dev->of_node, "qcom,perst-regs", in qcom_pcie_ep_get_io_resources() [all …]
|
| H A D | pcie-spacemit-k1.c | 41 #define PCIE_RC_PERST BIT(12) /* 1: assert PERST# */ 147 * Start by asserting fundamental reset (drive PERST# low). The in k1_pcie_init() 148 * PCI CEM spec says that PERST# should be deasserted at least in k1_pcie_init() 171 /* Deassert fundamental reset (drive PERST# high) */ in k1_pcie_init() 185 /* Assert fundamental reset (drive PERST# low) */ in k1_pcie_deinit()
|
| H A D | pcie-kirin.c | 61 * Each slot has a different clock source and uses a separate PERST# pin. 78 /* DWC PERST# */ 81 /* Per-slot PERST# */ 465 /* pcie internal PERST# gpio */ in kirin_pcie_get_resource() 547 /* Send PERST# to each slot */ in kirin_pcie_add_bus() 551 dev_err(pci->dev, "PERST# %s error: %d\n", in kirin_pcie_add_bus() 671 /* perst assert Endpoint */ in kirin_pcie_power_on()
|
| H A D | pcie-uniphier.c | 103 /* assert PERST# */ in uniphier_pcie_init_rc() 115 /* deassert PERST# */ in uniphier_pcie_init_rc()
|
| /linux/drivers/phy/freescale/ |
| H A D | phy-fsl-imx8m-pcie.c | 64 struct reset_control *perst; member 145 reset_control_deassert(imx8_phy->perst); in imx8_pcie_phy_power_on() 165 reset_control_assert(imx8_phy->perst); in imx8_pcie_phy_power_off() 259 imx8_phy->perst = in imx8_pcie_phy_probe() 260 devm_reset_control_get_exclusive(dev, "perst"); in imx8_pcie_phy_probe() 261 if (IS_ERR(imx8_phy->perst)) in imx8_pcie_phy_probe() 262 return dev_err_probe(dev, PTR_ERR(imx8_phy->perst), in imx8_pcie_phy_probe() 263 "Failed to get PCIE PHY PERST control\n"); in imx8_pcie_phy_probe()
|
| /linux/drivers/pci/controller/ |
| H A D | pcie-rockchip-ep.c | 43 * @perst_irq: IRQ used for the PERST# signal. 44 * @perst_asserted: True if the PERST# signal was asserted. 574 * If PERST# was asserted while polling the link, do not notify in rockchip_pcie_ep_link_training() 601 dev_dbg(rockchip->dev, "PERST# asserted, link down\n"); in rockchip_pcie_ep_perst_assert() 620 dev_dbg(rockchip->dev, "PERST# de-asserted, starting link training\n"); in rockchip_pcie_ep_perst_deassert() 639 u32 perst = gpiod_get_value(rockchip->perst_gpio); in rockchip_pcie_ep_perst_irq_thread() local 641 if (perst) in rockchip_pcie_ep_perst_irq_thread() 647 (perst ? IRQF_TRIGGER_HIGH : IRQF_TRIGGER_LOW)); in rockchip_pcie_ep_perst_irq_thread() 666 "failed to get IRQ for PERST# GPIO: %d\n", in rockchip_pcie_ep_setup_irq() 675 * IRQ as a dummy one by faking the host asserting PERST#. in rockchip_pcie_ep_setup_irq() [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | mediatek,mt76x8-pinctrl.yaml | 40 p4led_an, p4led_kn, pcie, pcm, perst, pwm, pwm0, pwm1, 82 p4led_kn, perst, pwm0, pwm1, refclk, sdmode, spi, 226 const: perst 230 enum: [perst]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-rst-defs.h | 179 uint64_t perst:4; member 185 uint64_t perst:4; 192 uint64_t perst:3; member 198 uint64_t perst:3;
|
| /linux/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-ibm-system1.dts | 565 label = "nic1-perst"; 573 label = "bmc-perst"; 581 label = "reset-M2-SSD1-2-perst"; 653 label = "PV-cp0-sw1stk4-perst"; 661 label = "PV-cp0-sw1stk5-perst"; 669 label = "pe-cp-drv0-perst"; 677 label = "pe-cp-drv1-perst"; 685 label = "lom-perst"; 1362 label = "PV-cp1-sw1stk4-perst"; 1370 label = "PV-cp1-sw1stk5-perst"; [all …]
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | armada-388-clearfog.dts | 63 * 1-CON3 PERST# 64 * 2-CON2 PERST#
|
| /linux/Documentation/devicetree/bindings/reset/ |
| H A D | brcm,bcm4908-misc-pcie-reset.yaml | 9 description: This document describes reset controller handling PCIe PERST#
|
| /linux/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-mt76x8.c | 68 static struct mtmips_pmx_func perst_grp[] = { FUNC("perst", 0, 36, 1) }; 182 GRP("perst", perst_grp, 1, MT76X8_GPIO_MODE_PERST),
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-ipq4019-ap.dk07.1-c1.dts | 14 perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
|
| H A D | qcom-ipq4019-ap.dk04.1.dtsi | 103 perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | qcs404-evb.dtsi | 104 perst-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>; 234 perst_state: perst-state {
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | st,stm32-pcie-ep.yaml | 38 description: GPIO controlled connection to PERST# signal
|
| H A D | hisilicon-histb-pcie.txt | 36 - reset-gpios: The gpio to generate PCIe PERST# assert and deassert signal.
|
| H A D | st,stm32-pcie-host.yaml | 49 description: GPIO controlled connection to PERST# signal
|
| /linux/arch/riscv/boot/dts/starfive/ |
| H A D | jh7110-deepcomputing-fml13v01.dts | 42 perst-gpios = <&sysgpio 21 GPIO_ACTIVE_LOW>;
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6q-apalis-eval.dtsi | 57 /* active-high meaning opposite of regular PERST# active-low polarity */
|
| H A D | imx6q-apalis-ixora.dts | 95 /* active-high meaning opposite of regular PERST# active-low polarity */
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | fsl,imx8-pcie-phy.yaml | 41 - const: perst
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | ich8lan.h | 179 /* disable clear of sticky ULP on PERST */ 181 #define I218_ULP_CONFIG1_DISABLE_SMB_PERST 0x1000 /* Disable on PERST# */
|
| /linux/include/linux/bcma/ |
| H A D | bcma_driver_pcie2.h | 10 #define PCIE2_CLKC_DLYPERST 0x0100 /* Delay PeRst to CoE Core */
|