Home
last modified time | relevance | path

Searched refs:stmmac_rst (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-socfpga.c50 struct reset_control *stmmac_rst; member
283 reset_control_assert(dwmac->stmmac_rst); in socfpga_gen5_set_phy_mode()
312 reset_control_deassert(dwmac->stmmac_rst); in socfpga_gen5_set_phy_mode()
343 reset_control_assert(dwmac->stmmac_rst); in socfpga_gen10_set_phy_mode()
369 reset_control_deassert(dwmac->stmmac_rst); in socfpga_gen10_set_phy_mode()
440 dwmac->stmmac_rst = stpriv->plat->stmmac_rst; in socfpga_dwmac_probe()
H A Dstmmac_platform.c615 plat->stmmac_rst = devm_reset_control_get(&pdev->dev, in stmmac_probe_config_dt()
617 if (IS_ERR(plat->stmmac_rst)) { in stmmac_probe_config_dt()
618 if (PTR_ERR(plat->stmmac_rst) == -EPROBE_DEFER) in stmmac_probe_config_dt()
622 plat->stmmac_rst = NULL; in stmmac_probe_config_dt()
H A Ddwmac-rk-tool.c1357 if (priv->plat->stmmac_rst) in dwmac_rk_loopback_run()
1358 reset_control_assert(priv->plat->stmmac_rst); in dwmac_rk_loopback_run()
1360 if (priv->plat->stmmac_rst) in dwmac_rk_loopback_run()
1361 reset_control_deassert(priv->plat->stmmac_rst); in dwmac_rk_loopback_run()
H A Dstmmac_main.c5052 if (priv->plat->stmmac_rst) { in stmmac_dvr_probe()
5053 ret = reset_control_assert(priv->plat->stmmac_rst); in stmmac_dvr_probe()
5054 reset_control_deassert(priv->plat->stmmac_rst); in stmmac_dvr_probe()
5059 reset_control_reset(priv->plat->stmmac_rst); in stmmac_dvr_probe()
5276 if (priv->plat->stmmac_rst) in stmmac_dvr_remove()
5277 reset_control_assert(priv->plat->stmmac_rst); in stmmac_dvr_remove()
/OK3568_Linux_fs/kernel/include/linux/
H A Dstmmac.h199 struct reset_control *stmmac_rst; member
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/stmicro/
H A Dstmmac.rst464 struct reset_control *stmmac_rst;