Lines Matching full:aclk
80 * @aclk: clock reference for the analog circuitry
97 struct clk *aclk; member
134 if (!priv->aclk) { in stm32f4_adc_clk_sel()
139 rate = clk_get_rate(priv->aclk); in stm32f4_adc_clk_sel()
216 if (priv->aclk) { in stm32h7_adc_clk_sel()
221 rate = clk_get_rate(priv->aclk); in stm32h7_adc_clk_sel()
527 if (priv->aclk) { in stm32_adc_core_hw_start()
528 ret = clk_prepare_enable(priv->aclk); in stm32_adc_core_hw_start()
559 if (priv->aclk) in stm32_adc_core_hw_stop()
560 clk_disable_unprepare(priv->aclk); in stm32_adc_core_hw_stop()
667 priv->aclk = devm_clk_get_optional(&pdev->dev, "adc"); in stm32_adc_probe()
668 if (IS_ERR(priv->aclk)) in stm32_adc_probe()
669 return dev_err_probe(&pdev->dev, PTR_ERR(priv->aclk), in stm32_adc_probe()