Searched refs:i2s_con (Results 1 – 3 of 3) sorted by relevance
1536 unsigned int i2s_con = 0; in mtk_dai_connsys_i2s_hw_params() local1542 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() local1686 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 …]
817 unsigned int i2s_con = 0; in mtk_dai_connsys_i2s_hw_params() local823 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() local945 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 …]
715 unsigned int i2s_con = 0, fmt_con = I2S_FMT_I2S << I2S_FMT_SFT; in mtk_dai_i2s_config() local736 i2s_con = I2S_IN_PAD_IO_MUX << I2SIN_PAD_SEL_SFT; in mtk_dai_i2s_config()737 i2s_con |= fmt_con; in mtk_dai_i2s_config()738 i2s_con |= get_i2s_wlen(format) << I2S_WLEN_SFT; in mtk_dai_i2s_config()740 0xffffeffe, i2s_con); in mtk_dai_i2s_config()743 i2s_con = I2S1_SEL_O28_O29 << I2S2_SEL_O03_O04_SFT; in mtk_dai_i2s_config()744 i2s_con |= rate_reg << I2S2_OUT_MODE_SFT; in mtk_dai_i2s_config()745 i2s_con |= fmt_con; in mtk_dai_i2s_config()746 i2s_con |= get_i2s_wlen(format) << I2S2_WLEN_SFT; in mtk_dai_i2s_config()748 0xffffeffe, i2s_con); in mtk_dai_i2s_config()[all …]