Lines Matching full:gclk
196 struct clk *gclk; member
485 /* GCLK is enabled by runtime PM. */ in mchp_spdiftx_hw_params()
486 clk_disable_unprepare(dev->gclk); in mchp_spdiftx_hw_params()
488 ret = clk_set_rate(dev->gclk, params_rate(params) * in mchp_spdiftx_hw_params()
492 "unable to change gclk rate to: rate %u * ratio %u\n", in mchp_spdiftx_hw_params()
496 ret = clk_prepare_enable(dev->gclk); in mchp_spdiftx_hw_params()
498 dev_err(dev->dev, "unable to enable gclk: %d\n", ret); in mchp_spdiftx_hw_params()
502 dev_dbg(dev->dev, "%s(): GCLK set to %d\n", __func__, in mchp_spdiftx_hw_params()
738 clk_disable_unprepare(spdiftx->gclk); in mchp_spdiftx_runtime_suspend()
755 ret = clk_prepare_enable(spdiftx->gclk); in mchp_spdiftx_runtime_resume()
767 clk_disable_unprepare(spdiftx->gclk); in mchp_spdiftx_runtime_resume()
826 dev->gclk = devm_clk_get(&pdev->dev, "gclk"); in mchp_spdiftx_probe()
827 if (IS_ERR(dev->gclk)) { in mchp_spdiftx_probe()
828 err = PTR_ERR(dev->gclk); in mchp_spdiftx_probe()