Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-imx.c58 struct clk *clk_mem; member
143 ret = clk_prepare_enable(dwmac->clk_mem); in imx_dwmac_clks_config()
152 clk_disable_unprepare(dwmac->clk_mem); in imx_dwmac_clks_config()
157 clk_disable_unprepare(dwmac->clk_mem); in imx_dwmac_clks_config()
287 dwmac->clk_mem = NULL; in imx_dwmac_parse_dt()
291 dwmac->clk_mem = devm_clk_get(dev, "mem"); in imx_dwmac_parse_dt()
292 if (IS_ERR(dwmac->clk_mem)) { in imx_dwmac_parse_dt()
294 return PTR_ERR(dwmac->clk_mem); in imx_dwmac_parse_dt()