Lines Matching full:adc_clk
345 struct clk *adc_clk; member
775 priv->adc_clk = devm_clk_register(dev, &priv->clk_gate.hw); in meson_sar_adc_clk_init()
776 if (WARN_ON(IS_ERR(priv->adc_clk))) in meson_sar_adc_clk_init()
777 return PTR_ERR(priv->adc_clk); in meson_sar_adc_clk_init()
1006 ret = clk_set_rate(priv->adc_clk, priv->param->clock_rate); in meson_sar_adc_init()
1058 ret = clk_prepare_enable(priv->adc_clk); in meson_sar_adc_hw_enable()
1092 clk_disable_unprepare(priv->adc_clk); in meson_sar_adc_hw_disable()
1378 priv->adc_clk = devm_clk_get_optional(dev, "adc_clk"); in meson_sar_adc_probe()
1379 if (IS_ERR(priv->adc_clk)) in meson_sar_adc_probe()
1380 return dev_err_probe(dev, PTR_ERR(priv->adc_clk), "failed to get adc clk\n"); in meson_sar_adc_probe()
1387 if (!priv->adc_clk) { in meson_sar_adc_probe()