Home
last modified time | relevance | path

Searched refs:phy_rst (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/drivers/phy/rockchip/
H A Dphy-rockchip-pcie.c73 struct reset_control *phy_rst; member
139 err = reset_control_assert(rk_phy->phy_rst); in rockchip_pcie_phy_power_off()
173 err = reset_control_deassert(rk_phy->phy_rst); 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()
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()
378 if (PTR_ERR(rk_phy->phy_rst) != -EPROBE_DEFER) in rockchip_pcie_phy_probe()
381 return PTR_ERR(rk_phy->phy_rst); in rockchip_pcie_phy_probe()
H A Dphy-rockchip-naneng-combphy.c144 struct reset_control *phy_rst; member
220 ret = reset_control_deassert(priv->phy_rst); in rockchip_combphy_init()
246 reset_control_assert(priv->phy_rst); in rockchip_combphy_exit()
312 priv->phy_rst = devm_reset_control_get_exclusive(dev, "phy"); in rockchip_combphy_parse_dt()
314 if (PTR_ERR(priv->phy_rst) == -ENOENT) in rockchip_combphy_parse_dt()
315 priv->phy_rst = devm_reset_control_array_get_exclusive(dev); in rockchip_combphy_parse_dt()
316 if (IS_ERR(priv->phy_rst)) in rockchip_combphy_parse_dt()
317 return dev_err_probe(dev, PTR_ERR(priv->phy_rst), "failed to get phy reset\n"); in rockchip_combphy_parse_dt()
364 ret = reset_control_assert(priv->phy_rst); in rockchip_combphy_probe()
/openbmc/linux/drivers/phy/intel/
H A Dphy-intel-lgm-combo.c96 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()
/openbmc/linux/drivers/net/ethernet/hisilicon/
H A Dhisi_femac.c113 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 Dhix5hd2_gmac.c268 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()
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-rock2-som.dtsi69 pinctrl-0 = <&rgmii_pins &phy_rst>;
239 phy_rst: phy-rst { label
H A Drk3288-firefly-reload-core.dtsi56 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
244 phy_rst: phy-rst { label
H A Drk3288-miqi.dts115 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
336 phy_rst: phy-rst { label
H A Drk3288-veyron-fievel.dts90 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
466 phy_rst: phy-rst { label
H A Drk3288-phycore-som.dtsi93 pinctrl-0 = <&rgmii_pins &phy_rst &phy_int>;
369 phy_rst: phy-rst { label
H A Drk3288-vyasa.dts158 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
467 phy_rst: phy-rst { label
H A Drk3288-firefly.dtsi186 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
413 phy_rst: phy-rst { label
/openbmc/u-boot/arch/arm/dts/
H A Drk3288-rock2-som.dtsi98 pinctrl-0 = <&rgmii_pins &phy_rst>;
248 phy_rst: phy-rst { label
H A Drk3288-miqi.dtsi115 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
319 phy_rst: phy-rst { label
H A Drk3288-firefly.dtsi151 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
338 phy_rst: phy-rst { label
H A Drk3288-fennec.dtsi100 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
337 phy_rst: phy-rst { label
H A Drk3288-vyasa.dts174 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
461 phy_rst: phy-rst { label
H A Drk3288-phycore-som.dtsi170 pinctrl-0 = <&rgmii_pins &phy_rst &phy_int>;
444 phy_rst: phy-rst { label
/openbmc/linux/drivers/phy/cadence/
H A Dphy-cadence-sierra.c385 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 Dphy-cadence-torrent.c354 struct reset_control *phy_rst; member
1638 ret = reset_control_deassert(cdns_phy->phy_rst); in cdns_torrent_phy_on()
1677 ret = reset_control_assert(cdns_phy->phy_rst); in cdns_torrent_phy_off()
2611 ret = reset_control_deassert(cdns_phy->phy_rst); in cdns_torrent_phy_configure_multilink()
2670 cdns_phy->phy_rst = devm_reset_control_get_exclusive_by_index(dev, 0); in cdns_torrent_reset()
2671 if (IS_ERR(cdns_phy->phy_rst)) { in cdns_torrent_reset()
2674 return PTR_ERR(cdns_phy->phy_rst); in cdns_torrent_reset()
2997 reset_control_assert(cdns_phy->phy_rst); in cdns_torrent_phy_remove()