Searched refs:phy_rst (Results 1 – 7 of 7) sorted by relevance
| /drivers/phy/rockchip/ |
| A D | phy-rockchip-pcie.c | 71 struct reset_control *phy_rst; member 138 err = reset_control_assert(rk_phy->phy_rst); in rockchip_pcie_phy_power_off() 172 err = reset_control_deassert(rk_phy->phy_rst); in rockchip_pcie_phy_power_on() 230 reset_control_assert(rk_phy->phy_rst); in rockchip_pcie_phy_power_on() 247 err = reset_control_assert(rk_phy->phy_rst); in rockchip_pcie_phy_init() 322 rk_phy->phy_rst = devm_reset_control_get(dev, "phy"); in rockchip_pcie_phy_probe() 323 if (IS_ERR(rk_phy->phy_rst)) in rockchip_pcie_phy_probe() 324 return dev_err_probe(&pdev->dev, PTR_ERR(rk_phy->phy_rst), in rockchip_pcie_phy_probe()
|
| A D | phy-rockchip-naneng-combphy.c | 159 struct reset_control *phy_rst; member 235 ret = reset_control_deassert(priv->phy_rst); in rockchip_combphy_init() 261 reset_control_assert(priv->phy_rst); in rockchip_combphy_exit() 327 priv->phy_rst = devm_reset_control_get_exclusive(dev, "phy"); in rockchip_combphy_parse_dt() 329 if (PTR_ERR(priv->phy_rst) == -ENOENT) in rockchip_combphy_parse_dt() 330 priv->phy_rst = devm_reset_control_array_get_exclusive(dev); in rockchip_combphy_parse_dt() 331 if (IS_ERR(priv->phy_rst)) in rockchip_combphy_parse_dt() 332 return dev_err_probe(dev, PTR_ERR(priv->phy_rst), "failed to get phy reset\n"); in rockchip_combphy_parse_dt() 379 ret = reset_control_assert(priv->phy_rst); in rockchip_combphy_probe()
|
| /drivers/phy/intel/ |
| A D | phy-intel-lgm-combo.c | 96 struct reset_control *phy_rst; member 241 reset_control_assert(cbphy->phy_rst); in intel_cbphy_rst_assert() 247 reset_control_deassert(cbphy->phy_rst); in intel_cbphy_rst_deassert() 425 cbphy->phy_rst = devm_reset_control_get_optional(dev, "phy"); in intel_cbphy_fwnode_parse() 426 if (IS_ERR(cbphy->phy_rst)) in intel_cbphy_fwnode_parse() 427 return dev_err_probe(dev, PTR_ERR(cbphy->phy_rst), in intel_cbphy_fwnode_parse()
|
| /drivers/net/ethernet/hisilicon/ |
| A D | hisi_femac.c | 113 struct reset_control *phy_rst; member 719 reset_control_deassert(priv->phy_rst); in hisi_femac_phy_reset() 722 reset_control_assert(priv->phy_rst); in hisi_femac_phy_reset() 727 reset_control_deassert(priv->phy_rst); in hisi_femac_phy_reset() 820 priv->phy_rst = devm_reset_control_get(dev, "phy"); in hisi_femac_drv_probe() 821 if (IS_ERR(priv->phy_rst)) { in hisi_femac_drv_probe() 822 priv->phy_rst = NULL; in hisi_femac_drv_probe() 933 if (priv->phy_rst) in hisi_femac_drv_resume()
|
| A D | hix5hd2_gmac.c | 269 struct reset_control *phy_rst; member 1079 reset_control_deassert(priv->phy_rst); in hix5hd2_phy_reset() 1082 reset_control_assert(priv->phy_rst); in hix5hd2_phy_reset() 1087 reset_control_deassert(priv->phy_rst); in hix5hd2_phy_reset() 1159 priv->phy_rst = devm_reset_control_get(dev, "phy"); in hix5hd2_dev_probe() 1160 if (IS_ERR(priv->phy_rst)) { in hix5hd2_dev_probe() 1161 priv->phy_rst = NULL; in hix5hd2_dev_probe()
|
| /drivers/phy/cadence/ |
| A D | phy-cadence-sierra.c | 389 struct reset_control *phy_rst; member 620 ret = reset_control_deassert(sp->phy_rst); in cdns_sierra_phy_on() 673 reset_control_assert(sp->phy_rst); in cdns_sierra_phy_reset() 674 reset_control_deassert(sp->phy_rst); in cdns_sierra_phy_reset() 1237 sp->phy_rst = rst; in cdns_sierra_phy_get_resets() 1357 ret = reset_control_deassert(sp->phy_rst); in cdns_sierra_phy_configure_multilink() 1530 reset_control_assert(phy->phy_rst); in cdns_sierra_phy_remove()
|
| A D | phy-cadence-torrent.c | 360 struct reset_control *phy_rst; member 1657 ret = reset_control_deassert(cdns_phy->phy_rst); in cdns_torrent_phy_on() 1696 ret = reset_control_assert(cdns_phy->phy_rst); in cdns_torrent_phy_off() 2730 ret = reset_control_deassert(cdns_phy->phy_rst); in cdns_torrent_phy_configure_multilink() 2789 cdns_phy->phy_rst = devm_reset_control_get_exclusive_by_index(dev, 0); in cdns_torrent_of_get_reset() 2790 if (IS_ERR(cdns_phy->phy_rst)) { in cdns_torrent_of_get_reset() 2793 return PTR_ERR(cdns_phy->phy_rst); in cdns_torrent_of_get_reset() 3171 reset_control_assert(cdns_phy->phy_rst); in cdns_torrent_phy_remove() 3334 reset_control_assert(cdns_phy->phy_rst); in cdns_torrent_phy_suspend_noirq()
|
Completed in 32 milliseconds