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

/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c61 struct clk *pclk_mac; member in struct:rk_priv_data
320 bsp_priv->pclk_mac = devm_clk_get(dev, "pclk_mac"); gmac_clk_init()
321 if (IS_ERR(bsp_priv->pclk_mac)) gmac_clk_init()
323 "pclk_mac"); gmac_clk_init()
378 if (!IS_ERR(bsp_priv->pclk_mac)) gmac_clk_enable()
379 clk_prepare_enable(bsp_priv->pclk_mac); gmac_clk_enable()
410 if (!IS_ERR(bsp_priv->pclk_mac)) gmac_clk_enable()
411 clk_disable_unprepare(bsp_priv->pclk_mac); gmac_clk_enable()

Completed in 188 milliseconds