Lines Matching full:core_clk
54 struct clk *core_clk; member
67 if (md->core_clk) { in mdio_mux_iproc_config()
71 divisor = clk_get_rate(md->core_clk) / MDIO_OPERATING_FREQUENCY; in mdio_mux_iproc_config()
211 md->core_clk = devm_clk_get(&pdev->dev, NULL); in mdio_mux_iproc_probe()
212 if (md->core_clk == ERR_PTR(-ENOENT) || in mdio_mux_iproc_probe()
213 md->core_clk == ERR_PTR(-EINVAL)) in mdio_mux_iproc_probe()
214 md->core_clk = NULL; in mdio_mux_iproc_probe()
215 else if (IS_ERR(md->core_clk)) in mdio_mux_iproc_probe()
216 return PTR_ERR(md->core_clk); in mdio_mux_iproc_probe()
218 rc = clk_prepare_enable(md->core_clk); in mdio_mux_iproc_probe()
257 clk_disable_unprepare(md->core_clk); in mdio_mux_iproc_probe()
267 clk_disable_unprepare(md->core_clk); in mdio_mux_iproc_remove()
277 clk_disable_unprepare(md->core_clk); in mdio_mux_iproc_suspend()
287 rc = clk_prepare_enable(md->core_clk); in mdio_mux_iproc_resume()