Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-socfpga.c55 struct reset_control *stmmac_ocp_rst; member
293 reset_control_assert(dwmac->stmmac_ocp_rst); in socfpga_gen5_set_phy_mode()
322 reset_control_deassert(dwmac->stmmac_ocp_rst); in socfpga_gen5_set_phy_mode()
349 reset_control_assert(dwmac->stmmac_ocp_rst); in socfpga_gen10_set_phy_mode()
375 reset_control_deassert(dwmac->stmmac_ocp_rst); in socfpga_gen10_set_phy_mode()
413 dwmac->stmmac_ocp_rst = devm_reset_control_get_optional(dev, "stmmaceth-ocp"); in socfpga_dwmac_probe()
414 if (IS_ERR(dwmac->stmmac_ocp_rst)) { in socfpga_dwmac_probe()
415 ret = PTR_ERR(dwmac->stmmac_ocp_rst); in socfpga_dwmac_probe()
420 reset_control_deassert(dwmac->stmmac_ocp_rst); in socfpga_dwmac_probe()