Lines Matching refs:i2s_con
817 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()
947 i2s_con |= I2S_FMT_I2S << I2S_FMT_SFT; in mtk_dai_i2s_config()
948 i2s_con |= get_i2s_wlen(format) << I2S_WLEN_SFT; in mtk_dai_i2s_config()
950 0xffffeffa, i2s_con); in mtk_dai_i2s_config()
953 i2s_con = I2S1_SEL_O28_O29 << I2S2_SEL_O03_O04_SFT; in mtk_dai_i2s_config()
954 i2s_con |= rate_reg << I2S2_OUT_MODE_SFT; in mtk_dai_i2s_config()
955 i2s_con |= I2S_FMT_I2S << I2S2_FMT_SFT; in mtk_dai_i2s_config()
956 i2s_con |= get_i2s_wlen(format) << I2S2_WLEN_SFT; in mtk_dai_i2s_config()
958 0xffffeffa, i2s_con); in mtk_dai_i2s_config()
961 i2s_con = 8 << I2S3_UPDATE_WORD_SFT; in mtk_dai_i2s_config()
962 i2s_con |= rate_reg << I2S3_OUT_MODE_SFT; in mtk_dai_i2s_config()
963 i2s_con |= I2S_FMT_I2S << I2S3_FMT_SFT; in mtk_dai_i2s_config()
964 i2s_con |= get_i2s_wlen(format) << I2S3_WLEN_SFT; in mtk_dai_i2s_config()
966 0xffffeffa, i2s_con); in mtk_dai_i2s_config()
969 i2s_con = rate_reg << I2S4_OUT_MODE_SFT; in mtk_dai_i2s_config()
970 i2s_con |= I2S_FMT_I2S << I2S4_FMT_SFT; in mtk_dai_i2s_config()
971 i2s_con |= get_i2s_wlen(format) << I2S4_WLEN_SFT; in mtk_dai_i2s_config()
973 0xffffeffa, i2s_con); in mtk_dai_i2s_config()