Home
last modified time | relevance | path

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

/sound/soc/fsl/
Dfsl_sai.c390 sai->mclk_id[tx] = id; in fsl_sai_set_bclk()
417 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()
472 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_params()
541 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_free()
1216 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_suspend()
1219 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_suspend()
1241 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_resume()
1247 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_resume()
[all …]
Dfsl-asoc-card.c46 u32 mclk_id; member
196 codec_priv->mclk_id, in fsl_asoc_card_hw_params()
233 codec_priv->mclk_id, in fsl_asoc_card_hw_free()
511 ret = snd_soc_dai_set_sysclk(codec_dai, codec_priv->mclk_id, in fsl_asoc_card_late_probe()
614 priv->codec_priv.mclk_id = CS427x_SYSCLK_MCLK; in fsl_asoc_card_probe()
618 priv->codec_priv.mclk_id = SGTL5000_SYSCLK; in fsl_asoc_card_probe()
625 priv->codec_priv.mclk_id = WM8962_SYSCLK_MCLK; in fsl_asoc_card_probe()
Dfsl_sai.h264 unsigned int mclk_id[2]; member
/sound/soc/mediatek/mt8183/
Dmt8183-dai-i2s.c49 int mclk_id; member
323 mt8183_mck_enable(afe, i2s_priv->mclk_id, i2s_priv->mclk_rate); in mtk_mclk_en_event()
327 mt8183_mck_disable(afe, i2s_priv->mclk_id); in mtk_mclk_en_event()
979 .mclk_id = MT8183_I2S0_MCK,
985 .mclk_id = MT8183_I2S1_MCK,
991 .mclk_id = MT8183_I2S2_MCK,
997 .mclk_id = MT8183_I2S3_MCK,
1003 .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.c653 offsetof(struct sof_ipc_dai_ssp_params, mclk_id), 0},
721 offsetof(struct sof_ipc_dai_esai_params, mclk_id), 0},
728 offsetof(struct sof_ipc_dai_sai_params, mclk_id), 0},
2920 config->ssp.mclk_id, config->ssp.quirks); in sof_link_ssp_load()
2985 config->sai.tdm_slots, config->sai.mclk_id); in sof_link_sai_load()
3042 config->esai.tdm_slots, config->esai.mclk_id); in sof_link_esai_load()