Lines Matching full:bclk
91 * @bclk: bus clock common for all ADCs, depends on part used
109 struct clk *bclk; member
217 if (!priv->bclk) { in stm32h7_adc_clk_sel()
264 rate = clk_get_rate(priv->bclk); in stm32h7_adc_clk_sel()
270 duty = clk_get_scaled_duty_cycle(priv->bclk, 100); in stm32h7_adc_clk_sel()
559 ret = clk_prepare_enable(priv->bclk); in stm32_adc_core_hw_start()
576 clk_disable_unprepare(priv->bclk); in stm32_adc_core_hw_start()
595 clk_disable_unprepare(priv->bclk); in stm32_adc_core_hw_stop()
748 priv->bclk = devm_clk_get_optional(&pdev->dev, "bus"); in stm32_adc_probe()
749 if (IS_ERR(priv->bclk)) in stm32_adc_probe()
750 return dev_err_probe(&pdev->dev, PTR_ERR(priv->bclk), in stm32_adc_probe()