Home
last modified time | relevance | path

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

123

/linux/drivers/phy/lantiq/
H A 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()
H A 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/drivers/phy/qualcomm/
H A 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()
H A 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()
H A 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()
H A 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()
H A Dphy-qcom-qusb2.c439 * @phy_reset: phy reset control
459 struct reset_control *phy_reset; member
778 ret = reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
780 dev_err(&phy->dev, "failed to assert phy_reset, %d\n", ret); in qusb2_phy_init()
787 ret = reset_control_deassert(qphy->phy_reset); in qusb2_phy_init()
789 dev_err(&phy->dev, "failed to de-assert phy_reset, %d\n", ret); in qusb2_phy_init()
889 reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
911 reset_control_assert(qphy->phy_reset); in qusb2_phy_exit()
1021 qphy->phy_reset = devm_reset_control_get_by_index(&pdev->dev, 0); in qusb2_phy_probe()
1022 if (IS_ERR(qphy->phy_reset)) { in qusb2_phy_probe()
[all …]
/linux/drivers/phy/
H A Dphy-snps-eusb2.c169 struct reset_control *phy_reset; member
477 ret = reset_control_assert(phy->phy_reset); in snps_eusb2_hsphy_init()
479 dev_err(&p->dev, "failed to assert phy_reset: %d\n", ret); in snps_eusb2_hsphy_init()
485 ret = reset_control_deassert(phy->phy_reset); in snps_eusb2_hsphy_init()
487 dev_err(&p->dev, "failed to de-assert phy_reset: %d\n", ret); in snps_eusb2_hsphy_init()
549 phy->phy_reset = devm_reset_control_get_optional_exclusive(dev, NULL); in snps_eusb2_hsphy_probe()
550 if (IS_ERR(phy->phy_reset)) in snps_eusb2_hsphy_probe()
551 return PTR_ERR(phy->phy_reset); in snps_eusb2_hsphy_probe()
/linux/drivers/phy/st/
H A Dphy-stm32-combophy.c85 struct reset_control *phy_reset; member
251 reset_control_assert(combophy->phy_reset); in stm32_combophy_pll_init()
283 reset_control_deassert(combophy->phy_reset); in stm32_combophy_pll_init()
316 reset_control_deassert(combophy->phy_reset); in stm32_combophy_pll_init()
541 combophy->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in stm32_combophy_probe()
542 if (IS_ERR(combophy->phy_reset)) in stm32_combophy_probe()
543 return dev_err_probe(dev, PTR_ERR(combophy->phy_reset), in stm32_combophy_probe()
/linux/include/linux/platform_data/
H A Dusb-omap.h35 unsigned phy_reset:1; member
55 unsigned phy_reset:1; member
/linux/drivers/phy/hisilicon/
H A 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/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c85 struct reset_control *phy_reset; member
182 if (priv->phy_reset) { in rk_gmac_integrated_ephy_powerup()
185 if (priv->phy_reset) in rk_gmac_integrated_ephy_powerup()
186 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_ephy_powerup()
188 if (priv->phy_reset) in rk_gmac_integrated_ephy_powerup()
189 reset_control_deassert(priv->phy_reset); in rk_gmac_integrated_ephy_powerup()
199 if (priv->phy_reset) in rk_gmac_integrated_ephy_powerdown()
200 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_ephy_powerdown()
212 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_fephy_powerup()
222 reset_control_deassert(priv->phy_reset); in rk_gmac_integrated_fephy_powerup()
[all …]
/linux/drivers/net/ethernet/qualcomm/emac/
H A 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/Documentation/devicetree/bindings/phy/
H A Damlogic,meson-gxl-usb2-phy.yaml52 resets = <&phy_reset>;
H A Damlogic,g12a-usb3-pcie-phy.yaml61 resets = <&phy_reset>;
H A Damlogic,g12a-usb2-phy.yaml78 resets = <&phy_reset>;
/linux/include/linux/usb/
H A Drenesas_usbhs.h62 int (*phy_reset)(struct platform_device *pdev); member
/linux/drivers/phy/amlogic/
H A Dphy-meson-axg-pcie.c100 ret = phy_reset(priv->analog); in phy_axg_pcie_reset()
/linux/include/linux/phy/
H A Dphy.h254 int phy_reset(struct phy *phy);
387 static inline int phy_reset(struct phy *phy) in phy_reset() function
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx53-tqma53.dtsi75 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000 /* #PHY_RESET */
/linux/include/scsi/
H A Dscsi_transport_sas.h178 int (*phy_reset)(struct sas_phy *, int); member
/linux/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c236 * @phy_reset: phy reset control.
254 struct reset_control *phy_reset; member
300 ret = reset_control_assert(rphy->phy_reset); in rockchip_usb2phy_reset()
306 ret = reset_control_deassert(rphy->phy_reset); in rockchip_usb2phy_reset()
1416 rphy->phy_reset = devm_reset_control_get_optional(dev, "phy"); in rockchip_usb2phy_probe()
1417 if (IS_ERR(rphy->phy_reset)) in rockchip_usb2phy_probe()
1418 return PTR_ERR(rphy->phy_reset); in rockchip_usb2phy_probe()
/linux/drivers/net/ethernet/hisilicon/hibmcge/
H A Dhbg_mdio.c152 /* Replace phy_reset() with phy_stop() and phy_start(), in hbg_fix_np_link_fail()
/linux/drivers/phy/socionext/
H A Dphy-uniphier-pcie.c169 /* legacy controller doesn't have phy_reset and parameters */ in uniphier_pciephy_init()
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88e1xxx.c38 * NAME: phy_reset

123