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()
229 priv->aclk = devm_clk_get(&pdev->dev, "audio"); in stm32_dfsdm_parse_of()
230 if (IS_ERR(priv->aclk)) in stm32_dfsdm_parse_of()
231 priv->aclk = NULL; in stm32_dfsdm_parse_of()
233 if (priv->aclk) in stm32_dfsdm_parse_of()
234 clk_freq = clk_get_rate(priv->aclk); in stm32_dfsdm_parse_of()