Home
last modified time | relevance | path

Searched refs:tdm_mode (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v6.6/sound/soc/amd/acp/
Dacp-sof-mach.c31 .tdm_mode = false,
41 .tdm_mode = false,
51 .tdm_mode = false,
61 .tdm_mode = false,
72 .tdm_mode = false,
83 .tdm_mode = false,
94 .tdm_mode = false,
121 acp_card_drvdata->tdm_mode = dmi_id->driver_data; in acp_sof_probe()
Dacp-legacy-mach.c31 .tdm_mode = false,
41 .tdm_mode = false,
51 .tdm_mode = false,
63 .tdm_mode = false,
75 .tdm_mode = false,
102 acp_card_drvdata->tdm_mode = dmi_id->driver_data; in acp_asoc_probe()
Dacp-mach-common.c182 if (drvdata->tdm_mode) in acp_card_hs_startup()
232 if (drvdata->tdm_mode) in acp_card_rt5682_hw_params()
254 if (drvdata->tdm_mode) { in acp_card_rt5682_hw_params()
414 if (drvdata->tdm_mode) in acp_card_rt5682s_hw_params()
436 if (drvdata->tdm_mode) { in acp_card_rt5682s_hw_params()
587 if (drvdata->tdm_mode) in acp_card_rt1019_hw_params()
603 if (drvdata->tdm_mode) { in acp_card_rt1019_hw_params()
618 if (drvdata->tdm_mode) in acp_card_rt1019_hw_params()
633 if (drvdata->tdm_mode) { in acp_card_rt1019_hw_params()
748 if (drvdata->tdm_mode) in acp_card_maxim_hw_params()
[all …]
Dacp-mach.h65 bool tdm_mode; member
Dacp-i2s.c37 adata->tdm_mode = TDM_DISABLE; in acp_i2s_set_fmt()
40 adata->tdm_mode = TDM_ENABLE; in acp_i2s_set_fmt()
179 if (adata->tdm_mode) { in acp_i2s_hwparams()
/Linux-v6.6/sound/soc/mediatek/mt8186/
Dmt8186-dai-tdm.c30 unsigned int tdm_mode; member
371 unsigned int tdm_mode = tdm_priv->tdm_mode; in mtk_dai_tdm_hw_params() local
379 get_tdm_ch_per_sdata(tdm_mode, channels) : 2; in mtk_dai_tdm_hw_params()
381 get_tdm_lrck_width(format, tdm_mode); in mtk_dai_tdm_hw_params()
401 tdm_con |= tdm_mode << ETDM_IN1_CON0_REG_FMT_SFT; in mtk_dai_tdm_hw_params()
487 tdm_priv->tdm_mode = TDM_IN_I2S; in mtk_dai_tdm_set_fmt()
491 tdm_priv->tdm_mode = TDM_IN_LJ; in mtk_dai_tdm_set_fmt()
495 tdm_priv->tdm_mode = TDM_IN_RJ; in mtk_dai_tdm_set_fmt()
499 tdm_priv->tdm_mode = TDM_IN_DSP_A; in mtk_dai_tdm_set_fmt()
503 tdm_priv->tdm_mode = TDM_IN_DSP_B; in mtk_dai_tdm_set_fmt()
/Linux-v6.6/drivers/soc/fsl/qe/
Dqe_tdm.c29 if (utdm->tdm_mode == TDM_INTERNAL_LOOPBACK) { in set_si_param()
93 utdm->tdm_mode = TDM_INTERNAL_LOOPBACK; in ucc_of_parse_tdm()
95 utdm->tdm_mode = TDM_NORMAL; in ucc_of_parse_tdm()
180 if (utdm->tdm_mode == TDM_INTERNAL_LOOPBACK) in ucc_tdm_init()
/Linux-v6.6/sound/soc/codecs/
Dak5558.c239 int tdm_mode; in ak5558_set_tdm_slot() local
246 tdm_mode = AK5558_MODE_TDM128; in ak5558_set_tdm_slot()
249 tdm_mode = AK5558_MODE_TDM256; in ak5558_set_tdm_slot()
252 tdm_mode = AK5558_MODE_TDM512; in ak5558_set_tdm_slot()
255 tdm_mode = AK5558_MODE_NORMAL; in ak5558_set_tdm_slot()
260 tdm_mode); in ak5558_set_tdm_slot()
Dpcm3168a.c443 bool provider_mode, tdm_mode; in pcm3168a_hw_params() local
523 tdm_mode = (tdm_slots > 2); in pcm3168a_hw_params()
525 if (tdm_mode) { in pcm3168a_hw_params()
541 fmt = tdm_mode ? PCM3168A_FMT_I2S_TDM : PCM3168A_FMT_I2S; in pcm3168a_hw_params()
544 fmt = tdm_mode ? PCM3168A_FMT_LEFT_J_TDM : PCM3168A_FMT_LEFT_J; in pcm3168a_hw_params()
551 fmt = tdm_mode ? PCM3168A_FMT_I2S_TDM : PCM3168A_FMT_DSP_A; in pcm3168a_hw_params()
554 fmt = tdm_mode ? PCM3168A_FMT_LEFT_J_TDM : PCM3168A_FMT_DSP_B; in pcm3168a_hw_params()
Dmax98520.c149 if (!max98520->tdm_mode) { in max98520_set_clock()
163 dev_dbg(component->dev, "%s tdm_mode:%d out\n", __func__, max98520->tdm_mode); in max98520_set_clock()
275 max98520->tdm_mode = false; in max98520_dai_tdm_slot()
277 max98520->tdm_mode = true; in max98520_dai_tdm_slot()
Dcs35l56.h51 bool tdm_mode; member
Dmax98373-i2c.c198 if (!max98373->tdm_mode) { in max98373_set_clock()
331 max98373->tdm_mode = false; in max98373_dai_tdm_slot()
333 max98373->tdm_mode = true; in max98373_dai_tdm_slot()
Dmax98388.c89 max98388->tdm_mode = false; in max98388_dac_event()
539 if (!max98388->tdm_mode) { in max98388_set_clock()
700 max98388->tdm_mode = false; in max98388_dai_tdm_slot()
702 max98388->tdm_mode = true; in max98388_dai_tdm_slot()
Dmax98520.h156 bool tdm_mode; member
Dmax98388.h231 bool tdm_mode; member
Dmax98373.h222 bool tdm_mode; member
Dmax98390.c284 if (!max98390->tdm_mode) { in max98390_set_clock()
395 max98390->tdm_mode = false; in max98390_dai_tdm_slot()
397 max98390->tdm_mode = true; in max98390_dai_tdm_slot()
400 "Tdm mode : %d\n", max98390->tdm_mode); in max98390_dai_tdm_slot()
Dmax98927.c282 if (!max98927->tdm_mode) { in max98927_set_clock()
399 max98927->tdm_mode = true; in max98927_dai_tdm_slot()
483 max98927->tdm_mode = false; in max98927_dac_event()
/Linux-v6.6/sound/soc/amd/raven/
Dacp3x-i2s.c30 adata->tdm_mode = TDM_DISABLE; in acp3x_i2s_set_fmt()
33 adata->tdm_mode = TDM_ENABLE; in acp3x_i2s_set_fmt()
136 if (adata->tdm_mode) { in acp3x_i2s_hwparams()
Dacp3x.h89 bool tdm_mode; member
/Linux-v6.6/sound/soc/amd/vangogh/
Dacp5x.h86 bool tdm_mode; member
216 if (adata->tdm_mode) in acp5x_set_i2s_clk()
Dacp5x-i2s.c30 adata->tdm_mode = TDM_DISABLE; in acp5x_i2s_set_fmt()
33 adata->tdm_mode = TDM_ENABLE; in acp5x_i2s_set_fmt()
151 if (adata->tdm_mode) { in acp5x_i2s_hwparams()
Dacp5x-pcm-dma.c435 if (adata->tdm_mode == TDM_ENABLE) { in acp5x_pcm_resume()
445 if (adata->tdm_mode == TDM_ENABLE) { in acp5x_pcm_resume()
456 if (adata->tdm_mode == TDM_ENABLE) { in acp5x_pcm_resume()
466 if (adata->tdm_mode == TDM_ENABLE) { in acp5x_pcm_resume()
/Linux-v6.6/include/sound/sof/
Ddai-amd.h20 uint32_t tdm_mode; member
/Linux-v6.6/include/soc/fsl/qe/
Dqe_tdm.h83 enum tdm_mode_t tdm_mode; member

12