Home
last modified time | relevance | path

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

123

/Linux-v6.1/drivers/phy/lantiq/
Dphy-lantiq-rcu-usb2.c44 struct reset_control *phy_reset; member
124 reset_control_deassert(priv->phy_reset); in ltq_rcu_usb2_phy_power_on()
145 reset_control_assert(priv->phy_reset); in ltq_rcu_usb2_phy_power_off()
202 priv->phy_reset = devm_reset_control_get_optional(dev, "phy"); in ltq_rcu_usb2_of_parse()
204 return PTR_ERR_OR_ZERO(priv->phy_reset); in ltq_rcu_usb2_of_parse()
227 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-v6.1/drivers/phy/qualcomm/
Dphy-qcom-snps-femto-v2.c119 * @phy_reset: phy reset control
130 struct reset_control *phy_reset; member
383 ret = reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_init()
385 dev_err(&phy->dev, "failed to assert phy_reset, %d\n", ret); in qcom_snps_hsphy_init()
391 ret = reset_control_deassert(hsphy->phy_reset); in qcom_snps_hsphy_init()
393 dev_err(&phy->dev, "failed to de-assert phy_reset, %d\n", ret); in qcom_snps_hsphy_init()
463 reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_exit()
566 hsphy->phy_reset = devm_reset_control_get_exclusive(&pdev->dev, NULL); in qcom_snps_hsphy_probe()
567 if (IS_ERR(hsphy->phy_reset)) { in qcom_snps_hsphy_probe()
569 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()
284 qphy->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie2_phy_probe()
285 if (IS_ERR(qphy->phy_reset)) { in qcom_pcie2_phy_probe()
287 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.c416 * @phy_reset: phy reset control
436 struct reset_control *phy_reset; member
755 ret = reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
757 dev_err(&phy->dev, "failed to assert phy_reset, %d\n", ret); in qusb2_phy_init()
764 ret = reset_control_deassert(qphy->phy_reset); in qusb2_phy_init()
766 dev_err(&phy->dev, "failed to de-assert phy_reset, %d\n", ret); in qusb2_phy_init()
866 reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
888 reset_control_assert(qphy->phy_reset); in qusb2_phy_exit()
989 qphy->phy_reset = devm_reset_control_get_by_index(&pdev->dev, 0); in qusb2_phy_probe()
990 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-v6.1/include/linux/platform_data/
Dusb-omap.h35 unsigned phy_reset:1; member
55 unsigned phy_reset:1; member
/Linux-v6.1/drivers/phy/hisilicon/
Dphy-hix5hd2-sata.c20 #define PHY_RESET BIT(0) macro
84 REF_SSP_EN | PHY_RESET; in hix5hd2_sata_phy_init()
87 val &= ~PHY_RESET; in hix5hd2_sata_phy_init()
/Linux-v6.1/drivers/pci/controller/
Dpcie-mediatek-gen3.c121 * @phy_reset: PHY reset control
140 struct reset_control *phy_reset; member
779 pcie->phy_reset = devm_reset_control_get_optional_exclusive(dev, "phy"); in mtk_pcie_parse_port()
780 if (IS_ERR(pcie->phy_reset)) { in mtk_pcie_parse_port()
781 ret = PTR_ERR(pcie->phy_reset); in mtk_pcie_parse_port()
821 reset_control_deassert(pcie->phy_reset); in mtk_pcie_power_up()
857 reset_control_assert(pcie->phy_reset); in mtk_pcie_power_up()
872 reset_control_assert(pcie->phy_reset); in mtk_pcie_power_down()
887 reset_control_assert(pcie->phy_reset); in mtk_pcie_setup()
/Linux-v6.1/drivers/pci/controller/dwc/
Dpcie-qcom.c131 struct reset_control *phy_reset; member
164 struct reset_control *phy_reset; member
317 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_1_0()
318 return PTR_ERR_OR_ZERO(res->phy_reset); in qcom_pcie_get_resources_2_1_0()
331 reset_control_assert(res->phy_reset); in qcom_pcie_deinit_2_1_0()
351 reset_control_assert(res->phy_reset); in qcom_pcie_init_2_1_0()
371 ret = reset_control_deassert(res->phy_reset); in qcom_pcie_init_2_1_0()
402 reset_control_assert(res->phy_reset); in qcom_pcie_init_2_1_0()
772 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_4_0()
773 if (IS_ERR(res->phy_reset)) in qcom_pcie_get_resources_2_4_0()
[all …]
/Linux-v6.1/drivers/net/ethernet/qualcomm/emac/
Demac-sgmii.c186 writel(((val & ~PHY_RESET) | PHY_RESET), phy->base + in emac_sgmii_reset_prepare()
191 writel((val & ~PHY_RESET), phy->base + EMAC_EMAC_WRAPPER_CSR2); in emac_sgmii_reset_prepare()
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c65 struct reset_control *phy_reset; member
1453 if (priv->phy_reset) { in rk_gmac_integrated_phy_powerup()
1456 if (priv->phy_reset) in rk_gmac_integrated_phy_powerup()
1457 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_phy_powerup()
1459 if (priv->phy_reset) in rk_gmac_integrated_phy_powerup()
1460 reset_control_deassert(priv->phy_reset); in rk_gmac_integrated_phy_powerup()
1470 if (priv->phy_reset) in rk_gmac_integrated_phy_powerdown()
1471 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_phy_powerdown()
1736 bsp_priv->phy_reset = of_reset_control_get(plat->phy_node, NULL); in rk_gmac_setup()
1737 if (IS_ERR(bsp_priv->phy_reset)) { in rk_gmac_setup()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/phy/
Damlogic,meson-g12a-usb3-pcie-phy.yaml56 resets = <&phy_reset>;
Damlogic,meson-g12a-usb2-phy.yaml75 resets = <&phy_reset>;
/Linux-v6.1/include/linux/usb/
Drenesas_usbhs.h72 int (*phy_reset)(struct platform_device *pdev); member
/Linux-v6.1/drivers/usb/renesas_usbhs/
Dcommon.c502 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_hotplug()
729 usbhs_platform_call(priv, phy_reset, pdev); in usbhs_probe()
813 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_resume()
/Linux-v6.1/include/linux/phy/
Dphy.h242 int phy_reset(struct phy *phy);
382 static inline int phy_reset(struct phy *phy) in phy_reset() function
/Linux-v6.1/drivers/phy/amlogic/
Dphy-meson-axg-pcie.c99 ret = phy_reset(priv->analog); in phy_axg_pcie_reset()
/Linux-v6.1/arch/arm/boot/dts/
Dimx53-tqma53.dtsi83 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000 /* #PHY_RESET */
/Linux-v6.1/drivers/usb/dwc3/
Ddwc3-keystone.c107 error = phy_reset(kdwc->usb3_phy); in kdwc3_probe()
/Linux-v6.1/drivers/scsi/mvsas/
Dmv_sas.c164 MVS_CHIP_DISP->phy_reset(mvi, no, hard); in mvs_phys_reset()
193 MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_HARD_RESET); in mvs_phy_control()
198 MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_SOFT_RESET); in mvs_phy_control()
1786 MVS_CHIP_DISP->phy_reset(mvi, phy_no, MVS_HARD_RESET); in mvs_sig_time_out()
1830 MVS_CHIP_DISP->phy_reset(mvi, in mvs_int_port()
1862 MVS_CHIP_DISP->phy_reset(mvi, phy_no, MVS_PHY_TUNE); in mvs_int_port()
/Linux-v6.1/include/scsi/
Dscsi_transport_sas.h178 int (*phy_reset)(struct sas_phy *, int); member
/Linux-v6.1/drivers/phy/cadence/
Dphy-cadence-torrent.c68 #define PHY_RESET 0x20 macro
259 REG_FIELD(PHY_RESET, 8, 8);
1347 value = cdns_torrent_dp_read(regmap, PHY_RESET); in cdns_torrent_dp_set_lanes()
1353 cdns_torrent_dp_write(regmap, PHY_RESET, value); in cdns_torrent_dp_set_lanes()
1356 cdns_torrent_dp_write(regmap, PHY_RESET, in cdns_torrent_dp_set_lanes()
1364 cdns_torrent_dp_write(regmap, PHY_RESET, value); in cdns_torrent_dp_set_lanes()
1370 cdns_torrent_dp_write(regmap, PHY_RESET, value); in cdns_torrent_dp_set_lanes()
1579 cdns_torrent_dp_write(regmap, PHY_RESET, in cdns_torrent_dp_common_init()
1963 dev_err(dev, "PHY_RESET reg field init failed\n"); in cdns_torrent_dp_regfield_init()

123