/kernel/linux/linux-5.10/drivers/phy/rockchip/ |
H A D | phy-rockchip-pcie.c | 73 struct reset_control *phy_rst; member 154 err = reset_control_assert(rk_phy->phy_rst); in rockchip_pcie_phy_power_off() 156 dev_err(&phy->dev, "assert phy_rst err %d\n", err); in rockchip_pcie_phy_power_off() 188 err = reset_control_deassert(rk_phy->phy_rst); in rockchip_pcie_phy_power_on() 190 dev_err(&phy->dev, "deassert phy_rst err %d\n", err); in rockchip_pcie_phy_power_on() 278 reset_control_assert(rk_phy->phy_rst); in rockchip_pcie_phy_power_on() 302 err = reset_control_assert(rk_phy->phy_rst); in rockchip_pcie_phy_init() 304 dev_err(&phy->dev, "assert phy_rst err %d\n", err); in rockchip_pcie_phy_init() 391 rk_phy->phy_rst = devm_reset_control_get(dev, "phy"); in rockchip_pcie_phy_probe() 392 if (IS_ERR(rk_phy->phy_rst)) { in rockchip_pcie_phy_probe() [all...] |
/kernel/linux/linux-6.6/drivers/phy/rockchip/ |
H A D | phy-rockchip-pcie.c | 73 struct reset_control *phy_rst; member 139 err = reset_control_assert(rk_phy->phy_rst); in rockchip_pcie_phy_power_off() 141 dev_err(&phy->dev, "assert phy_rst err %d\n", err); in rockchip_pcie_phy_power_off() 173 err = reset_control_deassert(rk_phy->phy_rst); in rockchip_pcie_phy_power_on() 175 dev_err(&phy->dev, "deassert phy_rst err %d\n", err); in rockchip_pcie_phy_power_on() 263 reset_control_assert(rk_phy->phy_rst); in rockchip_pcie_phy_power_on() 287 err = reset_control_assert(rk_phy->phy_rst); in rockchip_pcie_phy_init() 289 dev_err(&phy->dev, "assert phy_rst err %d\n", err); in rockchip_pcie_phy_init() 376 rk_phy->phy_rst = devm_reset_control_get(dev, "phy"); in rockchip_pcie_phy_probe() 377 if (IS_ERR(rk_phy->phy_rst)) { in rockchip_pcie_phy_probe() [all...] |
H A D | phy-rockchip-naneng-combphy.c | 141 struct reset_control *phy_rst; member 217 ret = reset_control_deassert(priv->phy_rst); in rockchip_combphy_init() 243 reset_control_assert(priv->phy_rst); in rockchip_combphy_exit() 309 priv->phy_rst = devm_reset_control_array_get_exclusive(dev); in rockchip_combphy_parse_dt() 310 if (IS_ERR(priv->phy_rst)) in rockchip_combphy_parse_dt() 311 return dev_err_probe(dev, PTR_ERR(priv->phy_rst), "failed to get phy reset\n"); in rockchip_combphy_parse_dt() 349 ret = reset_control_assert(priv->phy_rst); in rockchip_combphy_probe()
|
/kernel/linux/linux-5.10/drivers/phy/intel/ |
H 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() 431 cbphy->phy_rst = devm_reset_control_get_optional(dev, "phy"); in intel_cbphy_fwnode_parse() 432 if (IS_ERR(cbphy->phy_rst)) { in intel_cbphy_fwnode_parse() 433 ret = PTR_ERR(cbphy->phy_rst); in intel_cbphy_fwnode_parse()
|
/kernel/linux/linux-6.6/drivers/phy/intel/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/ |
H 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() 821 priv->phy_rst = devm_reset_control_get(dev, "phy"); in hisi_femac_drv_probe() 822 if (IS_ERR(priv->phy_rst)) { in hisi_femac_drv_probe() 823 priv->phy_rst = NULL; in hisi_femac_drv_probe() 937 if (priv->phy_rst) in hisi_femac_drv_resume()
|
H A D | hix5hd2_gmac.c | 268 struct reset_control *phy_rst; member 1078 reset_control_deassert(priv->phy_rst); in hix5hd2_phy_reset() 1081 reset_control_assert(priv->phy_rst); in hix5hd2_phy_reset() 1086 reset_control_deassert(priv->phy_rst); in hix5hd2_phy_reset() 1165 priv->phy_rst = devm_reset_control_get(dev, "phy"); in hix5hd2_dev_probe() 1166 if (IS_ERR(priv->phy_rst)) { in hix5hd2_dev_probe() 1167 priv->phy_rst = NULL; in hix5hd2_dev_probe()
|
/kernel/linux/linux-5.10/drivers/phy/cadence/ |
H A D | phy-cadence-sierra.c | 192 struct reset_control *phy_rst; member 322 ret = reset_control_deassert(sp->phy_rst); in cdns_sierra_phy_on() 354 reset_control_assert(sp->phy_rst); in cdns_sierra_phy_reset() 355 reset_control_deassert(sp->phy_rst); in cdns_sierra_phy_reset() 535 sp->phy_rst = devm_reset_control_get(dev, "sierra_reset"); in cdns_sierra_phy_probe() 536 if (IS_ERR(sp->phy_rst)) { in cdns_sierra_phy_probe() 538 return PTR_ERR(sp->phy_rst); in cdns_sierra_phy_probe() 647 reset_control_assert(phy->phy_rst); in cdns_sierra_phy_remove()
|
H A D | phy-cadence-torrent.c | 262 struct reset_control *phy_rst; member 1619 ret = reset_control_deassert(cdns_phy->phy_rst); in cdns_torrent_phy_on() 1650 ret = reset_control_assert(cdns_phy->phy_rst); in cdns_torrent_phy_off() 2067 ret = reset_control_deassert(cdns_phy->phy_rst); in cdns_torrent_phy_configure_multilink() 2099 cdns_phy->phy_rst = devm_reset_control_get_exclusive_by_index(dev, 0); in cdns_torrent_phy_probe() 2100 if (IS_ERR(cdns_phy->phy_rst)) { in cdns_torrent_phy_probe() 2103 return PTR_ERR(cdns_phy->phy_rst); in cdns_torrent_phy_probe() 2335 reset_control_assert(cdns_phy->phy_rst); in cdns_torrent_phy_remove()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/ |
H 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() 935 if (priv->phy_rst) in hisi_femac_drv_resume()
|
H A D | hix5hd2_gmac.c | 268 struct reset_control *phy_rst; member 1078 reset_control_deassert(priv->phy_rst); in hix5hd2_phy_reset() 1081 reset_control_assert(priv->phy_rst); in hix5hd2_phy_reset() 1086 reset_control_deassert(priv->phy_rst); in hix5hd2_phy_reset() 1164 priv->phy_rst = devm_reset_control_get(dev, "phy"); in hix5hd2_dev_probe() 1165 if (IS_ERR(priv->phy_rst)) { in hix5hd2_dev_probe() 1166 priv->phy_rst = NULL; in hix5hd2_dev_probe()
|
/kernel/linux/linux-6.6/drivers/phy/cadence/ |
H A D | phy-cadence-sierra.c | 385 struct reset_control *phy_rst; member 616 ret = reset_control_deassert(sp->phy_rst); in cdns_sierra_phy_on() 669 reset_control_assert(sp->phy_rst); in cdns_sierra_phy_reset() 670 reset_control_deassert(sp->phy_rst); in cdns_sierra_phy_reset() 1233 sp->phy_rst = rst; in cdns_sierra_phy_get_resets() 1353 ret = reset_control_deassert(sp->phy_rst); in cdns_sierra_phy_configure_multilink() 1529 reset_control_assert(phy->phy_rst); in cdns_sierra_phy_remove()
|
H A D | phy-cadence-torrent.c | 354 struct reset_control *phy_rst; member 1635 ret = reset_control_deassert(cdns_phy->phy_rst); in cdns_torrent_phy_on() 1674 ret = reset_control_assert(cdns_phy->phy_rst); in cdns_torrent_phy_off() 2608 ret = reset_control_deassert(cdns_phy->phy_rst); in cdns_torrent_phy_configure_multilink() 2667 cdns_phy->phy_rst = devm_reset_control_get_exclusive_by_index(dev, 0); in cdns_torrent_reset() 2668 if (IS_ERR(cdns_phy->phy_rst)) { in cdns_torrent_reset() 2671 return PTR_ERR(cdns_phy->phy_rst); in cdns_torrent_reset() 2994 reset_control_assert(cdns_phy->phy_rst); in cdns_torrent_phy_remove()
|