Lines Matching refs:aclk
104 struct clk *aclk; member
141 if (!priv->aclk) { in stm32f4_adc_clk_sel()
146 rate = clk_get_rate(priv->aclk); in stm32f4_adc_clk_sel()
223 if (priv->aclk) { in stm32h7_adc_clk_sel()
228 rate = clk_get_rate(priv->aclk); in stm32h7_adc_clk_sel()
235 duty = clk_get_scaled_duty_cycle(priv->aclk, 100); in stm32h7_adc_clk_sel()
551 ret = clk_prepare_enable(priv->aclk); in stm32_adc_core_hw_start()
580 clk_disable_unprepare(priv->aclk); in stm32_adc_core_hw_stop()
736 priv->aclk = devm_clk_get_optional(&pdev->dev, "adc"); in stm32_adc_probe()
737 if (IS_ERR(priv->aclk)) in stm32_adc_probe()
738 return dev_err_probe(&pdev->dev, PTR_ERR(priv->aclk), in stm32_adc_probe()