Home
last modified time | relevance | path

Searched refs:tdm_out_mode (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-dai-tdm.c20 int tdm_out_mode; member
521 unsigned int tdm_out_mode = tdm_priv->tdm_out_mode; in mtk_dai_tdm_hw_params() local
525 get_tdm_ch_per_sdata(tdm_out_mode, channels); in mtk_dai_tdm_hw_params()
565 if (tdm_priv->tdm_out_mode == TDM_OUT_I2S) { in mtk_dai_tdm_hw_params()
568 } else if (tdm_priv->tdm_out_mode == TDM_OUT_DSP_A) { in mtk_dai_tdm_hw_params()
571 } else if (tdm_priv->tdm_out_mode == TDM_OUT_DSP_B) { in mtk_dai_tdm_hw_params()
666 tdm_priv->tdm_out_mode = TDM_OUT_I2S; in mtk_dai_tdm_set_fmt()
669 tdm_priv->tdm_out_mode = TDM_OUT_DSP_A; in mtk_dai_tdm_set_fmt()
672 tdm_priv->tdm_out_mode = TDM_OUT_DSP_B; in mtk_dai_tdm_set_fmt()
675 tdm_priv->tdm_out_mode = TDM_OUT_I2S; in mtk_dai_tdm_set_fmt()
/openbmc/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-tdm.c18 int tdm_out_mode; member
472 unsigned int tdm_out_mode = tdm_priv->tdm_out_mode; in mtk_dai_tdm_hw_params() local
476 get_tdm_ch_per_sdata(tdm_out_mode, channels); in mtk_dai_tdm_hw_params()
515 if (tdm_priv->tdm_out_mode == TDM_OUT_I2S) { in mtk_dai_tdm_hw_params()
518 } else if (tdm_priv->tdm_out_mode == TDM_OUT_TDM) { in mtk_dai_tdm_hw_params()
651 tdm_priv->tdm_out_mode = TDM_OUT_I2S; in mtk_dai_tdm_set_fmt()
654 tdm_priv->tdm_out_mode = TDM_OUT_TDM; in mtk_dai_tdm_set_fmt()
657 tdm_priv->tdm_out_mode = TDM_OUT_I2S; in mtk_dai_tdm_set_fmt()