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

/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c54 struct clk *clk_mac; member in struct:rk_priv_data
325 bsp_priv->clk_mac = devm_clk_get(dev, "stmmaceth"); gmac_clk_init()
326 if (IS_ERR(bsp_priv->clk_mac)) gmac_clk_init()
349 clk_set_rate(bsp_priv->clk_mac, 50000000); gmac_clk_init()
385 * if (!IS_ERR(bsp_priv->clk_mac)) gmac_clk_enable()
386 * clk_prepare_enable(bsp_priv->clk_mac); gmac_clk_enable()
416 * if (!IS_ERR(bsp_priv->clk_mac)) gmac_clk_enable()
417 * clk_disable_unprepare(bsp_priv->clk_mac); gmac_clk_enable()

Completed in 188 milliseconds