Lines Matching full:bclk
87 * @bclk: bus clock common for all ADCs, depends on part used
105 struct clk *bclk; member
213 if (!priv->bclk) { in stm32h7_adc_clk_sel()
260 rate = clk_get_rate(priv->bclk); in stm32h7_adc_clk_sel()
266 duty = clk_get_scaled_duty_cycle(priv->bclk, 100); in stm32h7_adc_clk_sel()
545 ret = clk_prepare_enable(priv->bclk); in stm32_adc_core_hw_start()
562 clk_disable_unprepare(priv->bclk); in stm32_adc_core_hw_start()
581 clk_disable_unprepare(priv->bclk); in stm32_adc_core_hw_stop()
736 priv->bclk = devm_clk_get_optional(&pdev->dev, "bus"); in stm32_adc_probe()
737 if (IS_ERR(priv->bclk)) in stm32_adc_probe()
738 return dev_err_probe(&pdev->dev, PTR_ERR(priv->bclk), in stm32_adc_probe()