Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-pcie.c73 struct reset_control *phy_rst; member
154 err = reset_control_assert(rk_phy->phy_rst); in rockchip_pcie_phy_power_off()
194 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()
H A Dphy-rockchip-naneng-combphy.c88 struct reset_control *phy_rst; member
252 ret = reset_control_deassert(priv->phy_rst); in rockchip_combphy_init()
285 reset_control_assert(priv->phy_rst); in rockchip_combphy_exit()
369 priv->phy_rst = devm_reset_control_get_optional(dev, "combphy"); in rockchip_combphy_parse_dt()
370 if (IS_ERR(priv->phy_rst)) { in rockchip_combphy_parse_dt()
371 ret = PTR_ERR(priv->phy_rst); in rockchip_combphy_parse_dt()
379 return reset_control_assert(priv->phy_rst); in rockchip_combphy_parse_dt()
/OK3568_Linux_fs/kernel/drivers/phy/cadence/
H A Dphy-cadence-sierra.c192 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 Dphy-cadence-torrent.c262 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()
/OK3568_Linux_fs/kernel/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()
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()
/OK3568_Linux_fs/kernel/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()
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 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()
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()
/OK3568_Linux_fs/u-boot/drivers/phy/
H A Dphy-rockchip-naneng-combphy.c81 struct reset_ctl phy_rst; member
195 reset_deassert(&priv->phy_rst); in rockchip_combphy_init()
216 reset_assert(&priv->phy_rst); in rockchip_combphy_exit()
269 ret = reset_get_by_name(dev, "combphy", &priv->phy_rst); in rockchip_combphy_parse_dt()
H A Dphy-rockchip-inno-usb2.c163 struct reset_ctl phy_rst; member
412 if (rphy->phy_rst.dev) { in rockchip_usb2phy_reset()
413 ret = reset_assert(&rphy->phy_rst); in rockchip_usb2phy_reset()
421 ret = reset_deassert(&rphy->phy_rst); in rockchip_usb2phy_reset()
631 ret = reset_get_by_name(dev, "phy", &rphy->phy_rst); in rockchip_usb2phy_probe()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
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-rock2-som.dtsi69 pinctrl-0 = <&rgmii_pins &phy_rst>;
239 phy_rst: phy-rst { label
H A Drk3288-miqi.dts115 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
332 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>;
463 phy_rst: phy-rst { label
H A Drk3288-firefly.dtsi186 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
414 phy_rst: phy-rst { label
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Drk3288-rock2-som.dtsi99 pinctrl-0 = <&rgmii_pins &phy_rst>;
249 phy_rst: phy-rst { label
H A Drk3288-miqi.dtsi129 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
333 phy_rst: phy-rst { label
H A Drk3288-firefly.dtsi167 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
354 phy_rst: phy-rst { label
H A Drk3288-fennec.dtsi203 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
440 phy_rst: phy-rst { label
H A Drk3288-phycore-som.dtsi171 pinctrl-0 = <&rgmii_pins &phy_rst &phy_int>;
445 phy_rst: phy-rst { label
H A D.rk3288-firefly.dtb.dts.tmp
H A D.rk3288-miqi.dtb.dts.tmp
H A D.rk3288-rock2-square.dtb.dts.tmp
H A D.rk3288-fennec.dtb.dts.tmp

12