• Home
  • Raw
  • Download

Lines Matching refs:afe_priv

243 	struct mt8195_afe_private *afe_priv = afe->platform_priv;  in mt8195_afe_enable_tuner_clk()  local
247 mt8195_afe_enable_clk(afe, afe_priv->clk[MT8195_CLK_AUD_APLL]); in mt8195_afe_enable_tuner_clk()
248 mt8195_afe_enable_clk(afe, afe_priv->clk[MT8195_CLK_AUD_APLL1_TUNER]); in mt8195_afe_enable_tuner_clk()
251 mt8195_afe_enable_clk(afe, afe_priv->clk[MT8195_CLK_AUD_APLL2]); in mt8195_afe_enable_tuner_clk()
252 mt8195_afe_enable_clk(afe, afe_priv->clk[MT8195_CLK_AUD_APLL2_TUNER]); in mt8195_afe_enable_tuner_clk()
264 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_disable_tuner_clk() local
268 mt8195_afe_disable_clk(afe, afe_priv->clk[MT8195_CLK_AUD_APLL1_TUNER]); in mt8195_afe_disable_tuner_clk()
269 mt8195_afe_disable_clk(afe, afe_priv->clk[MT8195_CLK_AUD_APLL]); in mt8195_afe_disable_tuner_clk()
272 mt8195_afe_disable_clk(afe, afe_priv->clk[MT8195_CLK_AUD_APLL2_TUNER]); in mt8195_afe_disable_tuner_clk()
273 mt8195_afe_disable_clk(afe, afe_priv->clk[MT8195_CLK_AUD_APLL2]); in mt8195_afe_disable_tuner_clk()
360 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_get_mclk_source_rate() local
368 return clk_get_rate(afe_priv->clk[clk_id]); in mt8195_afe_get_mclk_source_rate()
379 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_init_clock() local
384 afe_priv->clk = in mt8195_afe_init_clock()
385 devm_kcalloc(afe->dev, MT8195_CLK_NUM, sizeof(*afe_priv->clk), in mt8195_afe_init_clock()
387 if (!afe_priv->clk) in mt8195_afe_init_clock()
391 afe_priv->clk[i] = devm_clk_get(afe->dev, aud_clks[i]); in mt8195_afe_init_clock()
392 if (IS_ERR(afe_priv->clk[i])) { in mt8195_afe_init_clock()
395 PTR_ERR(afe_priv->clk[i])); in mt8195_afe_init_clock()
396 return PTR_ERR(afe_priv->clk[i]); in mt8195_afe_init_clock()
596 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_enable_reg_rw_clk() local
610 mt8195_afe_enable_clk(afe, afe_priv->clk[clk_array[i]]); in mt8195_afe_enable_reg_rw_clk()
617 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_disable_reg_rw_clk() local
631 mt8195_afe_disable_clk(afe, afe_priv->clk[clk_array[i]]); in mt8195_afe_disable_reg_rw_clk()
650 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_enable_timing_sys() local
663 mt8195_afe_enable_clk(afe, afe_priv->clk[clk_array[i]]); in mt8195_afe_enable_timing_sys()
673 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_disable_timing_sys() local
689 mt8195_afe_disable_clk(afe, afe_priv->clk[clk_array[i]]); in mt8195_afe_disable_timing_sys()