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

/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c57 struct clk *mac_clk_tx; member in struct:rk_priv_data
310 bsp_priv->mac_clk_tx = devm_clk_get(dev, "mac_clk_tx"); gmac_clk_init()
311 if (IS_ERR(bsp_priv->mac_clk_tx)) gmac_clk_init()
313 "mac_clk_tx"); gmac_clk_init()
381 if (!IS_ERR(bsp_priv->mac_clk_tx)) gmac_clk_enable()
382 clk_prepare_enable(bsp_priv->mac_clk_tx); gmac_clk_enable()
413 if (!IS_ERR(bsp_priv->mac_clk_tx)) gmac_clk_enable()
414 clk_disable_unprepare(bsp_priv->mac_clk_tx); gmac_clk_enable()

Completed in 152 milliseconds