Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/phy/qualcomm/
H A Dphy-qcom-snps-femto-v2.c77 * @phy_reset: phy reset control
88 struct reset_control *phy_reset; member
192 ret = reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_init()
194 dev_err(&phy->dev, "failed to assert phy_reset, %d\n", ret); in qcom_snps_hsphy_init()
200 ret = reset_control_deassert(hsphy->phy_reset); in qcom_snps_hsphy_init()
202 dev_err(&phy->dev, "failed to de-assert phy_reset, %d\n", ret); in qcom_snps_hsphy_init()
261 reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_exit()
314 hsphy->phy_reset = devm_reset_control_get_exclusive(&pdev->dev, NULL); in qcom_snps_hsphy_probe()
315 if (IS_ERR(hsphy->phy_reset)) { in qcom_snps_hsphy_probe()
317 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()
287 qphy->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie2_phy_probe()
288 if (IS_ERR(qphy->phy_reset)) { in qcom_pcie2_phy_probe()
290 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-qusb2.c329 * @phy_reset: phy reset control
349 struct reset_control *phy_reset; member
668 ret = reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
670 dev_err(&phy->dev, "failed to assert phy_reset, %d\n", ret); in qusb2_phy_init()
677 ret = reset_control_deassert(qphy->phy_reset); in qusb2_phy_init()
679 dev_err(&phy->dev, "failed to de-assert phy_reset, %d\n", ret); in qusb2_phy_init()
774 reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
796 reset_control_assert(qphy->phy_reset); in qusb2_phy_exit()
887 qphy->phy_reset = devm_reset_control_get_by_index(&pdev->dev, 0); in qusb2_phy_probe()
888 if (IS_ERR(qphy->phy_reset)) { in qusb2_phy_probe()
[all …]
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-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()
/OK3568_Linux_fs/kernel/drivers/phy/lantiq/
H A 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()
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()
451 priv->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in ltq_vrx200_pcie_phy_probe()
452 if (IS_ERR(priv->phy_reset)) in ltq_vrx200_pcie_phy_probe()
453 return PTR_ERR(priv->phy_reset); in ltq_vrx200_pcie_phy_probe()
/OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/
H A Dpcie-qcom.c106 struct reset_control *phy_reset; member
140 struct reset_control *phy_reset; member
285 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_1_0()
286 return PTR_ERR_OR_ZERO(res->phy_reset); in qcom_pcie_get_resources_2_1_0()
299 reset_control_assert(res->phy_reset); in qcom_pcie_deinit_2_1_0()
321 reset_control_assert(res->phy_reset); in qcom_pcie_init_2_1_0()
341 ret = reset_control_deassert(res->phy_reset); in qcom_pcie_init_2_1_0()
420 reset_control_assert(res->phy_reset); in qcom_pcie_init_2_1_0()
745 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_4_0()
746 if (IS_ERR(res->phy_reset)) in qcom_pcie_get_resources_2_4_0()
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/hisilicon/
H A 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()
/OK3568_Linux_fs/u-boot/board/barco/platinum/
H A Dplatinum_picon.c136 unsigned phy_reset = IMX_GPIO_NR(1, 19); in platinum_setup_enet() local
142 gpio_direction_output(phy_reset, 0); in platinum_setup_enet()
145 gpio_set_value(phy_reset, 1); in platinum_setup_enet()
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dusb-omap.h49 unsigned phy_reset:1; member
69 unsigned phy_reset:1; member
/OK3568_Linux_fs/u-boot/board/samtec/vining_2000/
H A Dvining_2000.c124 #define PHY_RESET IMX_GPIO_NR(5, 9) macro
155 gpio_direction_output(PHY_RESET, 0); in board_eth_init()
157 gpio_set_value(PHY_RESET, 1); in board_eth_init()
169 gpio_set_value(PHY_RESET, 0); in board_eth_init()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dgmac_rockchip.c67 struct reset_ctl phy_reset; member
137 ret = reset_get_by_name(dev, "mac-phy", &pdata->phy_reset); in gmac_rockchip_ofdata_to_platdata()
145 ret = reset_get_by_index(phydev, 0, &pdata->phy_reset); in gmac_rockchip_ofdata_to_platdata()
1139 reset_assert(&pdata->phy_reset); in rk3228_gmac_integrated_phy_powerup()
1141 reset_deassert(&pdata->phy_reset); in rk3228_gmac_integrated_phy_powerup()
1199 reset_assert(&pdata->phy_reset); in rk3328_gmac_integrated_phy_powerup()
1201 reset_deassert(&pdata->phy_reset); in rk3328_gmac_integrated_phy_powerup()
1265 reset_assert(&pdata->phy_reset); in rk3528_gmac_integrated_phy_powerup()
1281 reset_deassert(&pdata->phy_reset); in rk3528_gmac_integrated_phy_powerup()
1710 reset_assert(&pdata->phy_reset); in rv1106_gmac_integrated_phy_powerup()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c72 struct reset_control *phy_reset; member
253 if (priv->phy_reset) { in rk_gmac_integrated_ephy_powerup()
256 if (priv->phy_reset) in rk_gmac_integrated_ephy_powerup()
257 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_ephy_powerup()
259 if (priv->phy_reset) in rk_gmac_integrated_ephy_powerup()
260 reset_control_deassert(priv->phy_reset); in rk_gmac_integrated_ephy_powerup()
270 if (priv->phy_reset) in rk_gmac_integrated_ephy_powerdown()
271 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_ephy_powerdown()
292 if (IS_ERR(priv->grf) || !priv->phy_reset) { in rk_gmac_integrated_fephy_power()
293 dev_err(dev, "%s: Missing rockchip,grf or phy_reset property\n", in rk_gmac_integrated_fephy_power()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/emac/
H A 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()
/OK3568_Linux_fs/u-boot/drivers/net/phy/
H A Dmarvell.c261 phy_reset(phydev); in m88e1111s_config()
274 phy_reset(phydev); in m88e1111s_config()
372 phy_reset(phydev); in m88e1518_config()
517 phy_reset(phydev); in m88e1149_config()
H A Dphy.su
H A Dbroadcom.c61 phy_reset(phydev); in bcm5461_config()
217 phy_reset(phydev); in bcm_cygnus_config()
H A Dphy.c774 int phy_reset(struct phy_device *phydev) in phy_reset() function
837 return phy_reset(phydev); in miiphy_reset()
861 phy_reset(phydev); in phy_connect_dev()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Damlogic,meson-g12a-usb3-pcie-phy.yaml56 resets = <&phy_reset>;
H A Damlogic,meson-g12a-usb2-phy.yaml75 resets = <&phy_reset>;
/OK3568_Linux_fs/u-boot/include/
H A Dphy.h260 * phy_reset() - Resets the specified PHY
267 int phy_reset(struct phy_device *phydev);
/OK3568_Linux_fs/kernel/include/linux/phy/
H A Dphy.h226 int phy_reset(struct phy *phy);
352 static inline int phy_reset(struct phy *phy) in phy_reset() function
/OK3568_Linux_fs/kernel/drivers/usb/renesas_usbhs/
H A Dcommon.c502 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_hotplug()
733 usbhs_platform_call(priv, phy_reset, pdev); in usbhs_probe()
817 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_resume()

1234