Lines Matching refs:i2s_con
1536 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()
1688 i2s_con |= I2S_FMT_I2S << I2S_FMT_SFT; in mtk_dai_i2s_config()
1689 i2s_con |= get_i2s_wlen(format) << I2S_WLEN_SFT; in mtk_dai_i2s_config()
1691 0xffffeffe, i2s_con); in mtk_dai_i2s_config()
1694 i2s_con = I2S1_SEL_O28_O29 << I2S2_SEL_O03_O04_SFT; in mtk_dai_i2s_config()
1695 i2s_con |= rate_reg << I2S2_OUT_MODE_SFT; in mtk_dai_i2s_config()
1696 i2s_con |= I2S_FMT_I2S << I2S2_FMT_SFT; in mtk_dai_i2s_config()
1697 i2s_con |= get_i2s_wlen(format) << I2S2_WLEN_SFT; in mtk_dai_i2s_config()
1699 0xffffeffe, i2s_con); in mtk_dai_i2s_config()
1702 i2s_con = 8 << I2S3_UPDATE_WORD_SFT; in mtk_dai_i2s_config()
1703 i2s_con |= rate_reg << I2S3_OUT_MODE_SFT; in mtk_dai_i2s_config()
1704 i2s_con |= I2S_FMT_I2S << I2S3_FMT_SFT; in mtk_dai_i2s_config()
1705 i2s_con |= get_i2s_wlen(format) << I2S3_WLEN_SFT; in mtk_dai_i2s_config()
1707 0xffffeffe, i2s_con); in mtk_dai_i2s_config()
1710 i2s_con = rate_reg << I2S4_OUT_MODE_SFT; in mtk_dai_i2s_config()
1711 i2s_con |= I2S_FMT_I2S << I2S4_FMT_SFT; in mtk_dai_i2s_config()
1712 i2s_con |= get_i2s_wlen(format) << I2S4_WLEN_SFT; in mtk_dai_i2s_config()
1714 0xffffeffe, i2s_con); in mtk_dai_i2s_config()
1717 i2s_con = rate_reg << I2S5_OUT_MODE_SFT; in mtk_dai_i2s_config()
1718 i2s_con |= I2S_FMT_I2S << I2S5_FMT_SFT; in mtk_dai_i2s_config()
1719 i2s_con |= get_i2s_wlen(format) << I2S5_WLEN_SFT; in mtk_dai_i2s_config()
1721 0xffffeffe, i2s_con); in mtk_dai_i2s_config()
1724 i2s_con = rate_reg << I2S6_OUT_MODE_SFT; in mtk_dai_i2s_config()
1725 i2s_con |= I2S_FMT_I2S << I2S6_FMT_SFT; in mtk_dai_i2s_config()
1726 i2s_con |= get_i2s_wlen(format) << I2S6_WLEN_SFT; in mtk_dai_i2s_config()
1728 0xffffeffe, i2s_con); in mtk_dai_i2s_config()
1731 i2s_con = rate_reg << I2S7_OUT_MODE_SFT; in mtk_dai_i2s_config()
1732 i2s_con |= I2S_FMT_I2S << I2S7_FMT_SFT; in mtk_dai_i2s_config()
1733 i2s_con |= get_i2s_wlen(format) << I2S7_WLEN_SFT; in mtk_dai_i2s_config()
1735 0xffffeffe, i2s_con); in mtk_dai_i2s_config()
1738 i2s_con = rate_reg << I2S8_OUT_MODE_SFT; in mtk_dai_i2s_config()
1739 i2s_con |= I2S_FMT_I2S << I2S8_FMT_SFT; in mtk_dai_i2s_config()
1740 i2s_con |= get_i2s_wlen(format) << I2S8_WLEN_SFT; in mtk_dai_i2s_config()
1742 0xffffeffe, i2s_con); in mtk_dai_i2s_config()
1745 i2s_con = rate_reg << I2S9_OUT_MODE_SFT; in mtk_dai_i2s_config()
1746 i2s_con |= I2S_FMT_I2S << I2S9_FMT_SFT; in mtk_dai_i2s_config()
1747 i2s_con |= get_i2s_wlen(format) << I2S9_WLEN_SFT; in mtk_dai_i2s_config()
1749 0xffffeffe, i2s_con); in mtk_dai_i2s_config()