Home
last modified time | relevance | path

Searched full:phy_reset (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.12.1/drivers/phy/lantiq/
Dphy-lantiq-rcu-usb2.c43 struct reset_control *phy_reset; member
123 reset_control_deassert(priv->phy_reset); in ltq_rcu_usb2_phy_power_on()
144 reset_control_assert(priv->phy_reset); in ltq_rcu_usb2_phy_power_off()
201 priv->phy_reset = devm_reset_control_get_optional(dev, "phy"); in ltq_rcu_usb2_of_parse()
203 return PTR_ERR_OR_ZERO(priv->phy_reset); in ltq_rcu_usb2_of_parse()
226 reset_control_assert(priv->phy_reset); in ltq_rcu_usb2_phy_probe()
Dphy-lantiq-vrx200-pcie.c92 struct reset_control *phy_reset; member
262 ret = reset_control_assert(priv->phy_reset); in ltq_vrx200_pcie_phy_init()
268 ret = reset_control_deassert(priv->phy_reset); in ltq_vrx200_pcie_phy_init()
284 reset_control_assert(priv->phy_reset); in ltq_vrx200_pcie_phy_init()
298 ret = reset_control_assert(priv->phy_reset); in ltq_vrx200_pcie_phy_exit()
449 priv->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in ltq_vrx200_pcie_phy_probe()
450 if (IS_ERR(priv->phy_reset)) in ltq_vrx200_pcie_phy_probe()
451 return PTR_ERR(priv->phy_reset); in ltq_vrx200_pcie_phy_probe()
/linux-6.12.1/drivers/phy/qualcomm/
Dphy-qcom-snps-eusb2.c129 struct reset_control *phy_reset; member
254 ret = reset_control_assert(phy->phy_reset); in qcom_snps_eusb2_hsphy_init()
256 dev_err(&p->dev, "failed to assert phy_reset, %d\n", ret); in qcom_snps_eusb2_hsphy_init()
262 ret = reset_control_deassert(phy->phy_reset); in qcom_snps_eusb2_hsphy_init()
264 dev_err(&p->dev, "failed to de-assert phy_reset, %d\n", ret); in qcom_snps_eusb2_hsphy_init()
385 phy->phy_reset = devm_reset_control_get_exclusive(dev, NULL); in qcom_snps_eusb2_hsphy_probe()
386 if (IS_ERR(phy->phy_reset)) in qcom_snps_eusb2_hsphy_probe()
387 return PTR_ERR(phy->phy_reset); in qcom_snps_eusb2_hsphy_probe()
Dphy-qcom-snps-femto-v2.c119 * @phy_reset: phy reset control
133 struct reset_control *phy_reset; member
403 ret = reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_init()
405 dev_err(&phy->dev, "failed to assert phy_reset, %d\n", ret); in qcom_snps_hsphy_init()
411 ret = reset_control_deassert(hsphy->phy_reset); in qcom_snps_hsphy_init()
413 dev_err(&phy->dev, "failed to de-assert phy_reset, %d\n", ret); in qcom_snps_hsphy_init()
483 reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_exit()
587 hsphy->phy_reset = devm_reset_control_get_exclusive(&pdev->dev, NULL); in qcom_snps_hsphy_probe()
588 if (IS_ERR(hsphy->phy_reset)) { in qcom_snps_hsphy_probe()
590 return PTR_ERR(hsphy->phy_reset); in qcom_snps_hsphy_probe()
Dphy-qcom-pcie2.c45 struct reset_control *phy_reset; member
55 ret = reset_control_deassert(qphy->phy_reset); in qcom_pcie2_phy_init()
63 reset_control_assert(qphy->phy_reset); in qcom_pcie2_phy_init()
192 reset_control_assert(qphy->phy_reset); in qcom_pcie2_phy_exit()
288 qphy->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie2_phy_probe()
289 if (IS_ERR(qphy->phy_reset)) { in qcom_pcie2_phy_probe()
291 return PTR_ERR(qphy->phy_reset); in qcom_pcie2_phy_probe()
Dphy-qcom-usb-hs-28nm.c61 struct reset_control *phy_reset; member
185 ret = reset_control_assert(priv->phy_reset); in qcom_snps_hsphy_reset()
191 ret = reset_control_deassert(priv->phy_reset); in qcom_snps_hsphy_reset()
336 priv->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_snps_hsphy_probe()
337 if (IS_ERR(priv->phy_reset)) in qcom_snps_hsphy_probe()
338 return PTR_ERR(priv->phy_reset); in qcom_snps_hsphy_probe()
Dphy-qcom-usb-ss.c30 #define PHY_RESET BIT(7) macro
55 qcom_ssphy_updatel(priv->base + PHY_CTRL1, PHY_RESET, in qcom_ssphy_do_reset()
56 PHY_RESET); in qcom_ssphy_do_reset()
58 qcom_ssphy_updatel(priv->base + PHY_CTRL1, PHY_RESET, 0); in qcom_ssphy_do_reset()
Dphy-qcom-qusb2.c415 * @phy_reset: phy reset control
435 struct reset_control *phy_reset; member
754 ret = reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
756 dev_err(&phy->dev, "failed to assert phy_reset, %d\n", ret); in qusb2_phy_init()
763 ret = reset_control_deassert(qphy->phy_reset); in qusb2_phy_init()
765 dev_err(&phy->dev, "failed to de-assert phy_reset, %d\n", ret); in qusb2_phy_init()
865 reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
887 reset_control_assert(qphy->phy_reset); in qusb2_phy_exit()
991 qphy->phy_reset = devm_reset_control_get_by_index(&pdev->dev, 0); in qusb2_phy_probe()
992 if (IS_ERR(qphy->phy_reset)) { in qusb2_phy_probe()
[all …]
Dphy-qcom-ipq806x-sata.c84 /* Setting PHY_RESET to 1 */ in qcom_ipq806x_sata_phy_init()
100 /* Clearing PHY_RESET to 0 */ in qcom_ipq806x_sata_phy_init()
113 /* Setting PHY_RESET to 1 */ in qcom_ipq806x_sata_phy_exit()
/linux-6.12.1/include/linux/platform_data/
Dusb-omap.h35 unsigned phy_reset:1; member
55 unsigned phy_reset:1; member
/linux-6.12.1/drivers/phy/hisilicon/
Dphy-hix5hd2-sata.c21 #define PHY_RESET BIT(0) macro
85 REF_SSP_EN | PHY_RESET; in hix5hd2_sata_phy_init()
88 val &= ~PHY_RESET; in hix5hd2_sata_phy_init()
/linux-6.12.1/drivers/net/ethernet/qualcomm/emac/
Demac-sgmii.c188 writel(((val & ~PHY_RESET) | PHY_RESET), phy->base + in emac_sgmii_reset_prepare()
193 writel((val & ~PHY_RESET), phy->base + EMAC_EMAC_WRAPPER_CSR2); in emac_sgmii_reset_prepare()
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c75 struct reset_control *phy_reset; member
1622 if (priv->phy_reset) { in rk_gmac_integrated_phy_powerup()
1625 if (priv->phy_reset) in rk_gmac_integrated_phy_powerup()
1626 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_phy_powerup()
1628 if (priv->phy_reset) in rk_gmac_integrated_phy_powerup()
1629 reset_control_deassert(priv->phy_reset); in rk_gmac_integrated_phy_powerup()
1639 if (priv->phy_reset) in rk_gmac_integrated_phy_powerdown()
1640 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_phy_powerdown()
1840 bsp_priv->phy_reset = of_reset_control_get(plat->phy_node, NULL); in rk_gmac_setup()
1841 if (IS_ERR(bsp_priv->phy_reset)) { in rk_gmac_setup()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/phy/
Damlogic,meson-gxl-usb2-phy.yaml52 resets = <&phy_reset>;
Damlogic,g12a-usb3-pcie-phy.yaml61 resets = <&phy_reset>;
Damlogic,g12a-usb2-phy.yaml78 resets = <&phy_reset>;
/linux-6.12.1/include/linux/usb/
Drenesas_usbhs.h62 int (*phy_reset)(struct platform_device *pdev); member
/linux-6.12.1/drivers/usb/renesas_usbhs/
Dcommon.c502 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_hotplug()
740 usbhs_platform_call(priv, phy_reset, pdev); in usbhs_probe()
822 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_resume()
/linux-6.12.1/drivers/phy/amlogic/
Dphy-meson-axg-pcie.c100 ret = phy_reset(priv->analog); in phy_axg_pcie_reset()
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx53-tqma53.dtsi76 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000 /* #PHY_RESET */
/linux-6.12.1/include/linux/phy/
Dphy.h249 int phy_reset(struct phy *phy);
392 static inline int phy_reset(struct phy *phy) in phy_reset() function
/linux-6.12.1/drivers/usb/dwc3/
Ddwc3-keystone.c108 error = phy_reset(kdwc->usb3_phy); in kdwc3_probe()
/linux-6.12.1/drivers/scsi/mvsas/
Dmv_sas.c160 MVS_CHIP_DISP->phy_reset(mvi, no, hard); in mvs_phys_reset()
189 MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_HARD_RESET); in mvs_phy_control()
194 MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_SOFT_RESET); in mvs_phy_control()
1776 MVS_CHIP_DISP->phy_reset(mvi, phy_no, MVS_HARD_RESET); in mvs_sig_time_out()
1820 MVS_CHIP_DISP->phy_reset(mvi, in mvs_int_port()
1852 MVS_CHIP_DISP->phy_reset(mvi, phy_no, MVS_PHY_TUNE); in mvs_int_port()
/linux-6.12.1/include/scsi/
Dscsi_transport_sas.h178 int (*phy_reset)(struct sas_phy *, int); member
/linux-6.12.1/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c235 * @phy_reset: phy reset control.
252 struct reset_control *phy_reset; member
298 ret = reset_control_assert(rphy->phy_reset); in rockchip_usb2phy_reset()
304 ret = reset_control_deassert(rphy->phy_reset); in rockchip_usb2phy_reset()
1405 rphy->phy_reset = devm_reset_control_get_optional(dev, "phy"); in rockchip_usb2phy_probe()
1406 if (IS_ERR(rphy->phy_reset)) in rockchip_usb2phy_probe()
1407 return PTR_ERR(rphy->phy_reset); in rockchip_usb2phy_probe()

123