Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/phy/rockchip/
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()
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()
/kernel/linux/linux-5.10/drivers/phy/cadence/
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()
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()
/kernel/linux/linux-5.10/drivers/phy/intel/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/
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()
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()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3288-firefly-reload-core.dtsi56 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
244 phy_rst: phy-rst { label
Drk3288-rock2-som.dtsi69 pinctrl-0 = <&rgmii_pins &phy_rst>;
239 phy_rst: phy-rst { label
Drk3288-veyron-fievel.dts90 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
466 phy_rst: phy-rst { label
Drk3288-miqi.dts115 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
332 phy_rst: phy-rst { label
Drk3288-phycore-som.dtsi93 pinctrl-0 = <&rgmii_pins &phy_rst &phy_int>;
369 phy_rst: phy-rst { label
Drk3288-vyasa.dts158 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
467 phy_rst: phy-rst { label
Drk3288-firefly.dtsi186 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
414 phy_rst: phy-rst { label
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch41058 + if (priv->phy_rst != NULL) {
41060 + reset_control_deassert(priv->phy_rst);
41065 + reset_control_assert(priv->phy_rst);
41074 + reset_control_deassert(priv->phy_rst);
43156 + priv->phy_rst = devm_reset_control_get(dev, HIGMAC_PHY_RST_NAME);
43157 + if (IS_ERR(priv->phy_rst))
43158 + priv->phy_rst = NULL;
44292 + struct reset_control *phy_rst;
47610 + reset_control_deassert(priv->phy_rst);
47613 + reset_control_assert(priv->phy_rst);
[all …]
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch334030 + if (priv->phy_rst != NULL) {
334032 + reset_control_deassert(priv->phy_rst);
334037 + reset_control_assert(priv->phy_rst);
334046 + reset_control_deassert(priv->phy_rst);
336128 + priv->phy_rst = devm_reset_control_get(dev, HIGMAC_PHY_RST_NAME);
336129 + if (IS_ERR(priv->phy_rst))
336130 + priv->phy_rst = NULL;
337264 + struct reset_control *phy_rst;
340583 + reset_control_deassert(priv->phy_rst);
340586 + reset_control_assert(priv->phy_rst);
[all …]