/linux-5.19.10/drivers/phy/rockchip/ |
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() 188 err = reset_control_deassert(rk_phy->phy_rst); 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() 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() 393 if (PTR_ERR(rk_phy->phy_rst) != -EPROBE_DEFER) in rockchip_pcie_phy_probe() 396 return PTR_ERR(rk_phy->phy_rst); in rockchip_pcie_phy_probe()
|
D | phy-rockchip-naneng-combphy.c | 134 struct reset_control *phy_rst; member 210 ret = reset_control_deassert(priv->phy_rst); in rockchip_combphy_init() 236 reset_control_assert(priv->phy_rst); in rockchip_combphy_exit() 302 priv->phy_rst = devm_reset_control_array_get_exclusive(dev); in rockchip_combphy_parse_dt() 303 if (IS_ERR(priv->phy_rst)) in rockchip_combphy_parse_dt() 304 return dev_err_probe(dev, PTR_ERR(priv->phy_rst), "failed to get phy reset\n"); in rockchip_combphy_parse_dt() 342 ret = reset_control_assert(priv->phy_rst); in rockchip_combphy_probe()
|
/linux-5.19.10/drivers/phy/intel/ |
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()
|
/linux-5.19.10/drivers/net/ethernet/hisilicon/ |
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()
|
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()
|
/linux-5.19.10/arch/arm/boot/dts/ |
D | rk3288-firefly-reload-core.dtsi | 56 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>; 244 phy_rst: phy-rst { label
|
D | rk3288-rock2-som.dtsi | 69 pinctrl-0 = <&rgmii_pins &phy_rst>; 239 phy_rst: phy-rst { label
|
D | rk3288-miqi.dts | 115 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>; 337 phy_rst: phy-rst { label
|
D | rk3288-veyron-fievel.dts | 90 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>; 466 phy_rst: phy-rst { label
|
D | rk3288-phycore-som.dtsi | 93 pinctrl-0 = <&rgmii_pins &phy_rst &phy_int>; 369 phy_rst: phy-rst { label
|
D | rk3288-vyasa.dts | 158 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>; 467 phy_rst: phy-rst { label
|
D | rk3288-firefly.dtsi | 186 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>; 414 phy_rst: phy-rst { label
|
/linux-5.19.10/drivers/phy/cadence/ |
D | phy-cadence-sierra.c | 354 struct reset_control *phy_rst; member 585 ret = reset_control_deassert(sp->phy_rst); in cdns_sierra_phy_on() 638 reset_control_assert(sp->phy_rst); in cdns_sierra_phy_reset() 639 reset_control_deassert(sp->phy_rst); in cdns_sierra_phy_reset() 1228 sp->phy_rst = rst; in cdns_sierra_phy_get_resets() 1348 ret = reset_control_deassert(sp->phy_rst); in cdns_sierra_phy_configure_multilink() 1522 reset_control_assert(phy->phy_rst); in cdns_sierra_phy_remove()
|
D | phy-cadence-torrent.c | 326 struct reset_control *phy_rst; member 1515 ret = reset_control_deassert(cdns_phy->phy_rst); in cdns_torrent_phy_on() 1554 ret = reset_control_assert(cdns_phy->phy_rst); in cdns_torrent_phy_off() 2406 ret = reset_control_deassert(cdns_phy->phy_rst); in cdns_torrent_phy_configure_multilink() 2465 cdns_phy->phy_rst = devm_reset_control_get_exclusive_by_index(dev, 0); in cdns_torrent_reset() 2466 if (IS_ERR(cdns_phy->phy_rst)) { in cdns_torrent_reset() 2469 return PTR_ERR(cdns_phy->phy_rst); in cdns_torrent_reset() 2786 reset_control_assert(cdns_phy->phy_rst); in cdns_torrent_phy_remove()
|