Home
last modified time | relevance | path

Searched refs:clkdiv_id (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/sound/soc/mediatek/mt8195/
Dmt8195-dai-etdm.c1552 int clkdiv_id = mtk_dai_etdm_get_clkdiv_id_by_dai_id(dai_id); in mtk_dai_etdm_enable_mclk() local
1554 if (clkdiv_id < 0) in mtk_dai_etdm_enable_mclk()
1557 mt8195_afe_enable_clk(afe, afe_priv->clk[clkdiv_id]); in mtk_dai_etdm_enable_mclk()
1565 int clkdiv_id = mtk_dai_etdm_get_clkdiv_id_by_dai_id(dai_id); in mtk_dai_etdm_disable_mclk() local
1567 if (clkdiv_id < 0) in mtk_dai_etdm_disable_mclk()
1570 mt8195_afe_disable_clk(afe, afe_priv->clk[clkdiv_id]); in mtk_dai_etdm_disable_mclk()
1916 int clkdiv_id = mtk_dai_etdm_get_clkdiv_id_by_dai_id(dai_id); in mtk_dai_etdm_mclk_configure() local
1924 if (clk_id < 0 || clkdiv_id < 0) in mtk_dai_etdm_mclk_configure()
1953 ret = mt8195_afe_set_clk_rate(afe, afe_priv->clk[clkdiv_id], in mtk_dai_etdm_mclk_configure()
/linux-6.12.1/sound/soc/mediatek/mt8188/
Dmt8188-dai-etdm.c394 int clkdiv_id = mtk_dai_etdm_get_clkdiv_id_by_dai_id(dai_id); in mtk_dai_etdm_enable_mclk() local
406 if (clkmux_id < 0 || clkdiv_id < 0) in mtk_dai_etdm_enable_mclk()
431 ret = mt8188_afe_set_clk_rate(afe, afe_priv->clk[clkdiv_id], in mtk_dai_etdm_enable_mclk()
434 mt8188_afe_enable_clk(afe, afe_priv->clk[clkdiv_id]); in mtk_dai_etdm_enable_mclk()
443 int clkdiv_id = mtk_dai_etdm_get_clkdiv_id_by_dai_id(dai_id); in mtk_dai_etdm_disable_mclk() local
445 if (clkmux_id < 0 || clkdiv_id < 0) in mtk_dai_etdm_disable_mclk()
448 mt8188_afe_disable_clk(afe, afe_priv->clk[clkdiv_id]); in mtk_dai_etdm_disable_mclk()