Home
last modified time | relevance | path

Searched refs:i2s_con (Results 1 – 3 of 3) sorted by relevance

/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-dai-i2s.c1536 unsigned int i2s_con = 0; in mtk_dai_connsys_i2s_hw_params() local
1542 i2s_con |= 0 << INV_PAD_CTRL_SFT; in mtk_dai_connsys_i2s_hw_params()
1543 i2s_con |= I2S_FMT_I2S << I2S_FMT_SFT; in mtk_dai_connsys_i2s_hw_params()
1544 i2s_con |= 1 << I2S_SRC_SFT; in mtk_dai_connsys_i2s_hw_params()
1545 i2s_con |= get_i2s_wlen(SNDRV_PCM_FORMAT_S16_LE) << I2S_WLEN_SFT; in mtk_dai_connsys_i2s_hw_params()
1546 i2s_con |= 0 << I2SIN_PAD_SEL_SFT; in mtk_dai_connsys_i2s_hw_params()
1547 regmap_write(afe->regmap, AFE_CONNSYS_I2S_CON, i2s_con); in mtk_dai_connsys_i2s_hw_params()
1673 unsigned int i2s_con = 0; in mtk_dai_i2s_config() local
1686 i2s_con = I2S_IN_PAD_IO_MUX << I2SIN_PAD_SEL_SFT; in mtk_dai_i2s_config()
1687 i2s_con |= rate_reg << I2S_OUT_MODE_SFT; in mtk_dai_i2s_config()
[all …]
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-i2s.c817 unsigned int i2s_con = 0; in mtk_dai_connsys_i2s_hw_params() local
823 i2s_con |= 0 << INV_PAD_CTRL_SFT; in mtk_dai_connsys_i2s_hw_params()
824 i2s_con |= I2S_FMT_I2S << I2S_FMT_SFT; in mtk_dai_connsys_i2s_hw_params()
825 i2s_con |= 1 << I2S_SRC_SFT; in mtk_dai_connsys_i2s_hw_params()
826 i2s_con |= get_i2s_wlen(SNDRV_PCM_FORMAT_S16_LE) << I2S_WLEN_SFT; in mtk_dai_connsys_i2s_hw_params()
827 i2s_con |= 0 << I2SIN_PAD_SEL_SFT; in mtk_dai_connsys_i2s_hw_params()
828 regmap_write(afe->regmap, AFE_CONNSYS_I2S_CON, i2s_con); in mtk_dai_connsys_i2s_hw_params()
935 unsigned int i2s_con = 0; in mtk_dai_i2s_config() local
945 i2s_con = I2S_IN_PAD_IO_MUX << I2SIN_PAD_SEL_SFT; in mtk_dai_i2s_config()
946 i2s_con |= rate_reg << I2S_OUT_MODE_SFT; in mtk_dai_i2s_config()
[all …]
/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-i2s.c707 unsigned int i2s_con = 0, fmt_con = I2S_FMT_I2S << I2S_FMT_SFT; in mtk_dai_i2s_config() local
723 i2s_con = I2S_IN_PAD_IO_MUX << I2SIN_PAD_SEL_SFT; in mtk_dai_i2s_config()
724 i2s_con |= fmt_con; in mtk_dai_i2s_config()
725 i2s_con |= get_i2s_wlen(format) << I2S_WLEN_SFT; in mtk_dai_i2s_config()
727 0xffffeffe, i2s_con); in mtk_dai_i2s_config()
730 i2s_con = I2S1_SEL_O28_O29 << I2S2_SEL_O03_O04_SFT; in mtk_dai_i2s_config()
731 i2s_con |= rate_reg << I2S2_OUT_MODE_SFT; in mtk_dai_i2s_config()
732 i2s_con |= fmt_con; in mtk_dai_i2s_config()
733 i2s_con |= get_i2s_wlen(format) << I2S2_WLEN_SFT; in mtk_dai_i2s_config()
735 0xffffeffe, i2s_con); in mtk_dai_i2s_config()
[all …]