Lines Matching full:extclk
220 if (IS_ERR(priv->extclk)) { in kirkwood_set_rate()
234 dev_dbg(dai->dev, "%s: extclk set rate = %lu -> %lu\n", in kirkwood_set_rate()
236 clk_set_rate(priv->extclk, 256 * rate); in kirkwood_set_rate()
688 priv->extclk = devm_clk_get(&pdev->dev, "extclk"); in kirkwood_i2s_dev_probe()
689 if (IS_ERR(priv->extclk)) { in kirkwood_i2s_dev_probe()
690 if (PTR_ERR(priv->extclk) == -EPROBE_DEFER) in kirkwood_i2s_dev_probe()
693 if (clk_is_match(priv->extclk, priv->clk)) { in kirkwood_i2s_dev_probe()
694 devm_clk_put(&pdev->dev, priv->extclk); in kirkwood_i2s_dev_probe()
695 priv->extclk = ERR_PTR(-EINVAL); in kirkwood_i2s_dev_probe()
698 clk_prepare_enable(priv->extclk); in kirkwood_i2s_dev_probe()
732 if (!IS_ERR(priv->extclk)) in kirkwood_i2s_dev_probe()
733 clk_disable_unprepare(priv->extclk); in kirkwood_i2s_dev_probe()
744 if (!IS_ERR(priv->extclk)) in kirkwood_i2s_dev_remove()
745 clk_disable_unprepare(priv->extclk); in kirkwood_i2s_dev_remove()