Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/sound/soc/fsl/
Dfsl-asoc-card.c54 u32 mclk_id; member
217 codec_priv->mclk_id, in fsl_asoc_card_hw_params()
254 codec_priv->mclk_id, in fsl_asoc_card_hw_free()
528 ret = snd_soc_dai_set_sysclk(codec_dai, codec_priv->mclk_id, in fsl_asoc_card_late_probe()
639 priv->codec_priv.mclk_id = CS427x_SYSCLK_MCLK; in fsl_asoc_card_probe()
643 priv->codec_priv.mclk_id = SGTL5000_SYSCLK; in fsl_asoc_card_probe()
659 priv->codec_priv.mclk_id = WM8962_SYSCLK_MCLK; in fsl_asoc_card_probe()
698 priv->codec_priv.mclk_id = WM8994_FLL_SRC_MCLK1; in fsl_asoc_card_probe()
706 priv->codec_priv.mclk_id = NAU8822_CLK_MCLK; in fsl_asoc_card_probe()
722 of_property_read_u32(np, "mclk-id", &priv->codec_priv.mclk_id); in fsl_asoc_card_probe()
Dfsl_sai.c457 sai->mclk_id[tx] = id; in fsl_sai_set_bclk()
472 sai->mclk_id[tx], savediv, bestdiff); in fsl_sai_set_bclk()
492 FSL_SAI_CR2_MSEL(sai->mclk_id[tx])); in fsl_sai_set_bclk()
586 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_params()
702 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[tx]]); in fsl_sai_hw_free()
1640 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_suspend()
1643 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_suspend()
1668 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[1]]); in fsl_sai_runtime_resume()
1674 ret = clk_prepare_enable(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_resume()
1702 clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[0]]); in fsl_sai_runtime_resume()
[all …]
Dfsl_sai.h295 unsigned int mclk_id[2]; member
/Linux-v6.6/sound/soc/mediatek/mt8183/
Dmt8183-dai-i2s.c48 int mclk_id; member
314 mt8183_mck_enable(afe, i2s_priv->mclk_id, i2s_priv->mclk_rate); in mtk_mclk_en_event()
318 mt8183_mck_disable(afe, i2s_priv->mclk_id); in mtk_mclk_en_event()
963 .mclk_id = MT8183_I2S0_MCK,
968 .mclk_id = MT8183_I2S1_MCK,
973 .mclk_id = MT8183_I2S2_MCK,
978 .mclk_id = MT8183_I2S3_MCK,
983 .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-v6.6/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-v6.6/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-v6.6/sound/soc/tegra/
Dtegra_asoc_machine.h19 unsigned int mclk_id; member
Dtegra_asoc_machine.c296 unsigned int clk_id = machine->asoc->mclk_id; in tegra_machine_hw_params()
/Linux-v6.6/sound/soc/mediatek/mt8188/
Dmt8188-dai-etdm.c500 int mclk_id; in mtk_etdm_mclk_connect() local
502 mclk_id = get_etdm_id_by_name(afe, source->name); in mtk_etdm_mclk_connect()
503 if (mclk_id < 0) { in mtk_etdm_mclk_connect()
514 if (get_etdm_id_by_name(afe, sink->name) == mclk_id) in mtk_etdm_mclk_connect()
517 if (etdm_priv->cowork_source_id == mclk_id) { in mtk_etdm_mclk_connect()
518 etdm_priv = afe_priv->dai_priv[mclk_id]; in mtk_etdm_mclk_connect()
603 int mclk_id = get_etdm_id_by_name(afe, w->name); in mtk_etdm_mclk_event() local
605 if (mclk_id < 0) { in mtk_etdm_mclk_event()
615 mtk_dai_etdm_enable_mclk(afe, mclk_id); in mtk_etdm_mclk_event()
618 mtk_dai_etdm_disable_mclk(afe, mclk_id); in mtk_etdm_mclk_event()
/Linux-v6.6/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)},
1073 config->sai.tdm_slots, config->sai.mclk_id); in sof_link_sai_load()
1123 config->esai.tdm_slots, config->esai.mclk_id); in sof_link_esai_load()
1327 config[i].ssp.mclk_id, sdev->mclk_id_quirk); in sof_link_ssp_load()
1328 config[i].ssp.mclk_id = sdev->mclk_id_quirk; in sof_link_ssp_load()
1346 config[i].ssp.mclk_id, config[i].ssp.quirks, config[i].ssp.clks_control); in sof_link_ssp_load()
/Linux-v6.6/sound/soc/sof/intel/
Dhda.c508 module_param_named(mclk_id, mclk_id_override, int, 0444);
509 MODULE_PARM_DESC(mclk_id, "SOF SSP mclk_id");