Searched refs:mac_clk (Results 1 – 2 of 2) sorted by relevance
1755 priv->mac_clk = devm_clk_get(&pdev->dev, "enet"); in bcm_enet_probe()1756 if (IS_ERR(priv->mac_clk)) { in bcm_enet_probe()1757 ret = PTR_ERR(priv->mac_clk); in bcm_enet_probe()1760 ret = clk_prepare_enable(priv->mac_clk); in bcm_enet_probe()1895 clk_disable_unprepare(priv->mac_clk); in bcm_enet_probe()1932 clk_disable_unprepare(priv->mac_clk); in bcm_enet_remove()2699 priv->mac_clk = devm_clk_get(&pdev->dev, "enetsw"); in bcm_enetsw_probe()2700 if (IS_ERR(priv->mac_clk)) { in bcm_enetsw_probe()2701 ret = PTR_ERR(priv->mac_clk); in bcm_enetsw_probe()2704 ret = clk_prepare_enable(priv->mac_clk); in bcm_enetsw_probe()[all …]
320 struct clk *mac_clk; member