Searched refs:aclk_mac (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c60 struct clk *aclk_mac; member in struct:rk_priv_data
315 bsp_priv->aclk_mac = devm_clk_get(dev, "aclk_mac"); gmac_clk_init()
316 if (IS_ERR(bsp_priv->aclk_mac)) gmac_clk_init()
318 "aclk_mac"); gmac_clk_init()
375 if (!IS_ERR(bsp_priv->aclk_mac)) gmac_clk_enable()
376 clk_prepare_enable(bsp_priv->aclk_mac); gmac_clk_enable()
407 if (!IS_ERR(bsp_priv->aclk_mac)) gmac_clk_enable()
408 clk_disable_unprepare(bsp_priv->aclk_mac); gmac_clk_enable()

Completed in 90 milliseconds