Lines Matching full:core_clk
56 struct clk *core_clk; member
69 if (md->core_clk) { in mdio_mux_iproc_config()
73 divisor = clk_get_rate(md->core_clk) / MDIO_OPERATING_FREQUENCY; in mdio_mux_iproc_config()
240 md->core_clk = devm_clk_get(&pdev->dev, NULL); in mdio_mux_iproc_probe()
241 if (md->core_clk == ERR_PTR(-ENOENT) || in mdio_mux_iproc_probe()
242 md->core_clk == ERR_PTR(-EINVAL)) in mdio_mux_iproc_probe()
243 md->core_clk = NULL; in mdio_mux_iproc_probe()
244 else if (IS_ERR(md->core_clk)) in mdio_mux_iproc_probe()
245 return PTR_ERR(md->core_clk); in mdio_mux_iproc_probe()
247 rc = clk_prepare_enable(md->core_clk); in mdio_mux_iproc_probe()
288 clk_disable_unprepare(md->core_clk); in mdio_mux_iproc_probe()
298 clk_disable_unprepare(md->core_clk); in mdio_mux_iproc_remove()
306 clk_disable_unprepare(md->core_clk); in mdio_mux_iproc_suspend()
316 rc = clk_prepare_enable(md->core_clk); in mdio_mux_iproc_resume()