Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/soc/fsl/qe/
Dqe_tdm.c31 if (utdm->tdm_mode == TDM_INTERNAL_LOOPBACK) { in set_si_param()
95 utdm->tdm_mode = TDM_INTERNAL_LOOPBACK; in ucc_of_parse_tdm()
97 utdm->tdm_mode = TDM_NORMAL; in ucc_of_parse_tdm()
182 if (utdm->tdm_mode == TDM_INTERNAL_LOOPBACK) in ucc_tdm_init()
/linux-5.19.10/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()
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()
Dmax98520.h156 bool tdm_mode; member
Dmax98390.c286 if (!max98390->tdm_mode) { in max98390_set_clock()
397 max98390->tdm_mode = false; in max98390_dai_tdm_slot()
399 max98390->tdm_mode = true; in max98390_dai_tdm_slot()
402 "Tdm mode : %d\n", max98390->tdm_mode); in max98390_dai_tdm_slot()
Dmax98373.h222 bool tdm_mode; member
Dmax98927.c291 if (!max98927->tdm_mode) { in max98927_set_clock()
413 max98927->tdm_mode = true; in max98927_dai_tdm_slot()
506 max98927->tdm_mode = false; in max98927_dac_event()
Dmax98927.h269 bool tdm_mode; member
Dcs35l34.c49 bool tdm_mode; member
243 if (priv->tdm_mode) in cs35l34_sdin_event()
256 if (priv->tdm_mode) { in cs35l34_sdin_event()
280 priv->tdm_mode = true; in cs35l34_set_tdm_slot()
Dmax98396.h302 bool tdm_mode; member
Dmax98396.c455 if (!max98396->tdm_mode) { in max98396_set_clock()
621 max98396->tdm_mode = false; in max98396_dai_tdm_slot()
623 max98396->tdm_mode = true; in max98396_dai_tdm_slot()
752 max98396->tdm_mode = false; in max98396_dac_event()
Dmax98373-sdw.c731 max98373->tdm_mode = false; in max98373_sdw_set_tdm_slot()
733 max98373->tdm_mode = true; in max98373_sdw_set_tdm_slot()
Dmax98373.c38 max98373->tdm_mode = false; in max98373_dac_event()
Dmax98390.h660 unsigned int tdm_mode; member
/linux-5.19.10/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
Dacp3x-pcm-dma.c473 if (adata->tdm_mode == TDM_ENABLE) { in acp3x_resume()
/linux-5.19.10/sound/soc/amd/vangogh/
Dacp5x.h86 bool tdm_mode; member
214 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.c436 if (adata->tdm_mode == TDM_ENABLE) { in acp5x_pcm_resume()
446 if (adata->tdm_mode == TDM_ENABLE) { in acp5x_pcm_resume()
457 if (adata->tdm_mode == TDM_ENABLE) { in acp5x_pcm_resume()
467 if (adata->tdm_mode == TDM_ENABLE) { in acp5x_pcm_resume()
/linux-5.19.10/include/soc/fsl/qe/
Dqe_tdm.h83 enum tdm_mode_t tdm_mode; member
/linux-5.19.10/sound/soc/rockchip/
Drockchip_i2s_tdm.c82 bool tdm_mode; member
405 bool is_tdm = i2s_tdm->tdm_mode; in rockchip_i2s_tdm_set_fmt()
1086 i2s_tdm->tdm_mode = true; in rockchip_dai_tdm_slot()