Home
last modified time | relevance | path

Searched full:perst (Results 1 – 25 of 60) sorted by relevance

123

/linux/drivers/pci/controller/dwc/
H A Dpcie-eswin.c58 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 Dpcie-qcom-ep.c185 * @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 Dpcie-spacemit-k1.c41 #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 Dpcie-kirin.c61 * 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 Dpcie-uniphier.c103 /* assert PERST# */ in uniphier_pcie_init_rc()
115 /* deassert PERST# */ in uniphier_pcie_init_rc()
/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8m-pcie.c64 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 Dpcie-rockchip-ep.c43 * @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 Dmediatek,mt76x8-pinctrl.yaml40 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 Dcvmx-rst-defs.h179 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 Daspeed-bmc-ibm-system1.dts565 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 Darmada-388-clearfog.dts63 * 1-CON3 PERST#
64 * 2-CON2 PERST#
/linux/Documentation/devicetree/bindings/reset/
H A Dbrcm,bcm4908-misc-pcie-reset.yaml9 description: This document describes reset controller handling PCIe PERST#
/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mt76x8.c68 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 Dqcom-ipq4019-ap.dk07.1-c1.dts14 perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
H A Dqcom-ipq4019-ap.dk04.1.dtsi103 perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
/linux/arch/arm64/boot/dts/qcom/
H A Dqcs404-evb.dtsi104 perst-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
234 perst_state: perst-state {
/linux/Documentation/devicetree/bindings/pci/
H A Dst,stm32-pcie-ep.yaml38 description: GPIO controlled connection to PERST# signal
H A Dhisilicon-histb-pcie.txt36 - reset-gpios: The gpio to generate PCIe PERST# assert and deassert signal.
H A Dst,stm32-pcie-host.yaml49 description: GPIO controlled connection to PERST# signal
/linux/arch/riscv/boot/dts/starfive/
H A Djh7110-deepcomputing-fml13v01.dts42 perst-gpios = <&sysgpio 21 GPIO_ACTIVE_LOW>;
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6q-apalis-eval.dtsi57 /* active-high meaning opposite of regular PERST# active-low polarity */
H A Dimx6q-apalis-ixora.dts95 /* active-high meaning opposite of regular PERST# active-low polarity */
/linux/Documentation/devicetree/bindings/phy/
H A Dfsl,imx8-pcie-phy.yaml41 - const: perst
/linux/drivers/net/ethernet/intel/e1000e/
H A Dich8lan.h179 /* 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 Dbcma_driver_pcie2.h10 #define PCIE2_CLKC_DLYPERST 0x0100 /* Delay PeRst to CoE Core */

123