Home
last modified time | relevance | path

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

/linux-6.1.9/include/sound/sof/
Ddai-imx.h19 uint16_t mclk_id; member
40 uint16_t mclk_id; member
Ddai-intel.h65 uint16_t mclk_id; member
/linux-6.1.9/sound/soc/fsl/
Dfsl-asoc-card.c50 u32 mclk_id; member
207 codec_priv->mclk_id, in fsl_asoc_card_hw_params()
244 codec_priv->mclk_id, in fsl_asoc_card_hw_free()
518 ret = snd_soc_dai_set_sysclk(codec_dai, codec_priv->mclk_id, in fsl_asoc_card_late_probe()
621 priv->codec_priv.mclk_id = CS427x_SYSCLK_MCLK; in fsl_asoc_card_probe()
625 priv->codec_priv.mclk_id = SGTL5000_SYSCLK; in fsl_asoc_card_probe()
641 priv->codec_priv.mclk_id = WM8962_SYSCLK_MCLK; in fsl_asoc_card_probe()
680 priv->codec_priv.mclk_id = WM8994_FLL_SRC_MCLK1; in fsl_asoc_card_probe()
696 of_property_read_u32(np, "mclk-id", &priv->codec_priv.mclk_id); in fsl_asoc_card_probe()
Dfsl_sai.c456 sai->mclk_id[tx] = id; in fsl_sai_set_bclk()
471 sai->mclk_id[tx], savediv, bestdiff); in fsl_sai_set_bclk()
491 FSL_SAI_CR2_MSEL(sai->mclk_id[tx])); in fsl_sai_set_bclk()
584 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_params()
700 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_free()
1602 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_suspend()
1605 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_suspend()
1630 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_resume()
1636 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_resume()
1660 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_resume()
[all …]
Dfsl_sai.h290 unsigned int mclk_id[2]; member
/linux-6.1.9/sound/soc/mediatek/mt8183/
Dmt8183-dai-i2s.c48 int mclk_id; member
322 mt8183_mck_enable(afe, i2s_priv->mclk_id, i2s_priv->mclk_rate); in mtk_mclk_en_event()
326 mt8183_mck_disable(afe, i2s_priv->mclk_id); in mtk_mclk_en_event()
978 .mclk_id = MT8183_I2S0_MCK,
983 .mclk_id = MT8183_I2S1_MCK,
988 .mclk_id = MT8183_I2S2_MCK,
993 .mclk_id = MT8183_I2S3_MCK,
998 .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()
/linux-6.1.9/sound/soc/mediatek/mt8186/
Dmt8186-dai-i2s.c49 int mclk_id; member
429 mt8186_mck_enable(afe, i2s_priv->mclk_id, i2s_priv->mclk_rate); in mtk_mclk_en_event()
433 mt8186_mck_disable(afe, i2s_priv->mclk_id); in mtk_mclk_en_event()
1141 .mclk_id = MT8186_I2S0_MCK,
1146 .mclk_id = MT8186_I2S1_MCK,
1151 .mclk_id = MT8186_I2S2_MCK,
1157 .mclk_id = MT8186_I2S4_MCK,
Dmt8186-dai-tdm.c26 unsigned int mclk_id; member
141 mt8186_mck_enable(afe, tdm_priv->mclk_id, tdm_priv->mclk_rate); in mtk_tdm_mck_en_event()
145 mt8186_mck_disable(afe, tdm_priv->mclk_id); in mtk_tdm_mck_en_event()
610 tdm_priv->mclk_id = MT8186_TDM_MCK; in init_tdm_priv_data()
/linux-6.1.9/sound/soc/mediatek/mt8192/
Dmt8192-dai-i2s.c50 int mclk_id; member
719 mt8192_mck_enable(afe, i2s_priv->mclk_id, i2s_priv->mclk_rate); in mtk_mclk_en_event()
723 mt8192_mck_disable(afe, i2s_priv->mclk_id); in mtk_mclk_en_event()
1985 .mclk_id = MT8192_I2S0_MCK,
1990 .mclk_id = MT8192_I2S1_MCK,
1995 .mclk_id = MT8192_I2S2_MCK,
2000 .mclk_id = MT8192_I2S3_MCK,
2005 .mclk_id = MT8192_I2S5_MCK,
2010 .mclk_id = MT8192_I2S6_MCK,
2015 .mclk_id = MT8192_I2S7_MCK,
[all …]
Dmt8192-dai-tdm.c23 int mclk_id; member
328 mt8192_mck_enable(afe, tdm_priv->mclk_id, tdm_priv->mclk_rate); in mtk_tdm_mck_en_event()
332 mt8192_mck_disable(afe, tdm_priv->mclk_id); in mtk_tdm_mck_en_event()
745 tdm_priv->mclk_id = MT8192_I2S4_MCK; in init_tdm_priv_data()
/linux-6.1.9/sound/soc/tegra/
Dtegra_asoc_machine.h19 unsigned int mclk_id; member
Dtegra_asoc_machine.c250 unsigned int clk_id = machine->asoc->mclk_id; in tegra_machine_hw_params()
/linux-6.1.9/sound/soc/sof/
Dipc3-topology.c173 offsetof(struct sof_ipc_dai_ssp_params, mclk_id)},
219 offsetof(struct sof_ipc_dai_esai_params, mclk_id)},
225 offsetof(struct sof_ipc_dai_sai_params, mclk_id)},
1062 config->sai.tdm_slots, config->sai.mclk_id); in sof_link_sai_load()
1112 config->esai.tdm_slots, config->esai.mclk_id); in sof_link_esai_load()
1309 config[i].ssp.mclk_id, sdev->mclk_id_quirk); in sof_link_ssp_load()
1310 config[i].ssp.mclk_id = sdev->mclk_id_quirk; in sof_link_ssp_load()
1328 config[i].ssp.mclk_id, config[i].ssp.quirks, config[i].ssp.clks_control); in sof_link_ssp_load()
/linux-6.1.9/sound/soc/sof/intel/
Dhda.c383 module_param_named(mclk_id, mclk_id_override, int, 0444);
384 MODULE_PARM_DESC(mclk_id, "SOF SSP mclk_id");