Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-socfpga.c48 struct reset_control *stmmac_rst; member
90 dwmac->stmmac_rst = devm_reset_control_get(dev, in socfpga_dwmac_parse_data()
92 if (IS_ERR(dwmac->stmmac_rst)) { in socfpga_dwmac_parse_data()
94 if (PTR_ERR(dwmac->stmmac_rst) == -EPROBE_DEFER) in socfpga_dwmac_parse_data()
96 dwmac->stmmac_rst = NULL; in socfpga_dwmac_parse_data()
210 if (dwmac->stmmac_rst) in socfpga_dwmac_exit()
211 reset_control_assert(dwmac->stmmac_rst); in socfpga_dwmac_exit()
225 if (dwmac->stmmac_rst) in socfpga_dwmac_init()
226 reset_control_assert(dwmac->stmmac_rst); in socfpga_dwmac_init()
236 if (dwmac->stmmac_rst) in socfpga_dwmac_init()
[all …]
Dstmmac.h101 struct reset_control *stmmac_rst; member
Dstmmac_main.c2872 priv->stmmac_rst = devm_reset_control_get(priv->device, in stmmac_dvr_probe()
2874 if (IS_ERR(priv->stmmac_rst)) { in stmmac_dvr_probe()
2875 if (PTR_ERR(priv->stmmac_rst) == -EPROBE_DEFER) { in stmmac_dvr_probe()
2880 priv->stmmac_rst = NULL; in stmmac_dvr_probe()
2882 if (priv->stmmac_rst) in stmmac_dvr_probe()
2883 reset_control_deassert(priv->stmmac_rst); in stmmac_dvr_probe()
2985 if (priv->stmmac_rst) in stmmac_dvr_remove()
2986 reset_control_assert(priv->stmmac_rst); in stmmac_dvr_remove()