Searched refs:mac_clk (Results 1 – 2 of 2) sorted by relevance
1786 priv->mac_clk = clk_get(&pdev->dev, clk_name); in bcm_enet_probe()1787 if (IS_ERR(priv->mac_clk)) { in bcm_enet_probe()1788 ret = PTR_ERR(priv->mac_clk); in bcm_enet_probe()1791 clk_prepare_enable(priv->mac_clk); in bcm_enet_probe()1931 clk_disable_unprepare(priv->mac_clk); in bcm_enet_probe()1932 clk_put(priv->mac_clk); in bcm_enet_probe()1972 clk_disable_unprepare(priv->mac_clk); in bcm_enet_remove()1973 clk_put(priv->mac_clk); in bcm_enet_remove()2767 priv->mac_clk = clk_get(&pdev->dev, "enetsw"); in bcm_enetsw_probe()2768 if (IS_ERR(priv->mac_clk)) { in bcm_enetsw_probe()[all …]
318 struct clk *mac_clk; member