Lines Matching refs:aclk
90 struct clk *aclk; /* audio clock */ member
112 if (priv->aclk) { in stm32_dfsdm_start_dfsdm()
113 ret = clk_prepare_enable(priv->aclk); in stm32_dfsdm_start_dfsdm()
121 clk_src = priv->aclk ? 1 : 0; in stm32_dfsdm_start_dfsdm()
149 clk_disable_unprepare(priv->aclk); in stm32_dfsdm_start_dfsdm()
187 if (priv->aclk) in stm32_dfsdm_stop_dfsdm()
188 clk_disable_unprepare(priv->aclk); in stm32_dfsdm_stop_dfsdm()
233 priv->aclk = devm_clk_get(&pdev->dev, "audio"); in stm32_dfsdm_parse_of()
234 if (IS_ERR(priv->aclk)) in stm32_dfsdm_parse_of()
235 priv->aclk = NULL; in stm32_dfsdm_parse_of()
237 if (priv->aclk) in stm32_dfsdm_parse_of()
238 clk_freq = clk_get_rate(priv->aclk); in stm32_dfsdm_parse_of()