Home
last modified time | relevance | path

Searched refs:mclk_id (Results 1 – 6 of 6) sorted by relevance

/sound/soc/fsl/
Dfsl_sai.c388 sai->mclk_id[tx] = id; in fsl_sai_set_bclk()
416 FSL_SAI_CR2_MSEL(sai->mclk_id[tx])); in fsl_sai_set_bclk()
423 FSL_SAI_CR2_MSEL(sai->mclk_id[tx])); in fsl_sai_set_bclk()
429 sai->mclk_id[tx], savediv, savesub); in fsl_sai_set_bclk()
468 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_params()
537 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_free()
1173 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_suspend()
1176 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_suspend()
1199 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_resume()
1205 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_resume()
[all …]
Dfsl-asoc-card.c45 u32 mclk_id; member
275 codec_priv->mclk_id, in fsl_asoc_card_set_bias_level()
294 ret = snd_soc_dai_set_sysclk(codec_dai, codec_priv->mclk_id, in fsl_asoc_card_set_bias_level()
471 ret = snd_soc_dai_set_sysclk(codec_dai, codec_priv->mclk_id, in fsl_asoc_card_late_probe()
553 priv->codec_priv.mclk_id = CS427x_SYSCLK_MCLK; in fsl_asoc_card_probe()
557 priv->codec_priv.mclk_id = SGTL5000_SYSCLK; in fsl_asoc_card_probe()
562 priv->codec_priv.mclk_id = WM8962_SYSCLK_MCLK; in fsl_asoc_card_probe()
Dfsl_sai.h236 unsigned int mclk_id[2]; member
/sound/soc/mediatek/mt8183/
Dmt8183-dai-i2s.c49 int mclk_id; member
321 mt8183_mck_enable(afe, i2s_priv->mclk_id, i2s_priv->mclk_rate); in mtk_mclk_en_event()
325 mt8183_mck_disable(afe, i2s_priv->mclk_id); in mtk_mclk_en_event()
936 .mclk_id = MT8183_I2S0_MCK,
942 .mclk_id = MT8183_I2S1_MCK,
948 .mclk_id = MT8183_I2S2_MCK,
954 .mclk_id = MT8183_I2S3_MCK,
960 .mclk_id = MT8183_I2S5_MCK,
Dmt8183-dai-tdm.c21 int mclk_id; member
286 mt8183_mck_enable(afe, tdm_priv->mclk_id, tdm_priv->mclk_rate); in mtk_tdm_mck_en_event()
290 mt8183_mck_disable(afe, tdm_priv->mclk_id); in mtk_tdm_mck_en_event()
744 tdm_priv->mclk_id = MT8183_I2S4_MCK; in mt8183_dai_tdm_register()
/sound/soc/sof/
Dtopology.c748 offsetof(struct sof_ipc_dai_ssp_params, mclk_id), 0},
2488 config->ssp.mclk_id, config->ssp.quirks); in sof_link_ssp_load()