Searched refs:tdm_con (Results 1 – 3 of 3) sorted by relevance
527 unsigned int tdm_con = 0; in mtk_dai_tdm_hw_params() local563 tdm_con |= 1 << LRCK_INVERSE_SFT; in mtk_dai_tdm_hw_params()566 tdm_con |= 1 << DELAY_DATA_SFT; in mtk_dai_tdm_hw_params()567 tdm_con |= get_tdm_lrck_width(format) << LRCK_TDM_WIDTH_SFT; in mtk_dai_tdm_hw_params()569 tdm_con |= 1 << DELAY_DATA_SFT; in mtk_dai_tdm_hw_params()570 tdm_con |= 0 << LRCK_TDM_WIDTH_SFT; in mtk_dai_tdm_hw_params()572 tdm_con |= 0 << DELAY_DATA_SFT; in mtk_dai_tdm_hw_params()573 tdm_con |= 0 << LRCK_TDM_WIDTH_SFT; in mtk_dai_tdm_hw_params()576 tdm_con |= 1 << LEFT_ALIGN_SFT; in mtk_dai_tdm_hw_params()577 tdm_con |= get_tdm_wlen(format) << WLEN_SFT; in mtk_dai_tdm_hw_params()[all …]
478 unsigned int tdm_con = 0; in mtk_dai_tdm_hw_params() local513 tdm_con |= 1 << LRCK_INVERSE_SFT; in mtk_dai_tdm_hw_params()516 tdm_con |= 1 << DELAY_DATA_SFT; in mtk_dai_tdm_hw_params()517 tdm_con |= get_tdm_lrck_width(format) << LRCK_TDM_WIDTH_SFT; in mtk_dai_tdm_hw_params()519 tdm_con |= 0 << DELAY_DATA_SFT; in mtk_dai_tdm_hw_params()520 tdm_con |= 0 << LRCK_TDM_WIDTH_SFT; in mtk_dai_tdm_hw_params()523 tdm_con |= 1 << LEFT_ALIGN_SFT; in mtk_dai_tdm_hw_params()524 tdm_con |= get_tdm_wlen(format) << WLEN_SFT; in mtk_dai_tdm_hw_params()525 tdm_con |= get_tdm_ch(out_channels_per_sdata) << CHANNEL_NUM_SFT; in mtk_dai_tdm_hw_params()526 tdm_con |= get_tdm_channel_bck(format) << CHANNEL_BCK_CYCLES_SFT; in mtk_dai_tdm_hw_params()[all …]
382 unsigned int tdm_con = 0; in mtk_dai_tdm_hw_params() local400 tdm_con |= slave_mode << ETDM_IN1_CON0_REG_SLAVE_MODE_SFT; in mtk_dai_tdm_hw_params()401 tdm_con |= tdm_mode << ETDM_IN1_CON0_REG_FMT_SFT; in mtk_dai_tdm_hw_params()402 tdm_con |= (bit_width - 1) << ETDM_IN1_CON0_REG_BIT_LENGTH_SFT; in mtk_dai_tdm_hw_params()403 tdm_con |= (bit_width - 1) << ETDM_IN1_CON0_REG_WORD_LENGTH_SFT; in mtk_dai_tdm_hw_params()404 tdm_con |= (tdm_channels - 1) << ETDM_IN1_CON0_REG_CH_NUM_SFT; in mtk_dai_tdm_hw_params()406 tdm_con |= 0 << ETDM_IN1_CON0_REG_SYNC_MODE_SFT; in mtk_dai_tdm_hw_params()408 tdm_con |= 0 << ETDM_IN1_CON0_REG_RELATCH_1X_EN_SEL_DOMAIN_SFT; in mtk_dai_tdm_hw_params()409 regmap_update_bits(afe->regmap, ETDM_IN1_CON0, ETDM_IN_CON0_CTRL_MASK, tdm_con); in mtk_dai_tdm_hw_params()412 tdm_con = 0; in mtk_dai_tdm_hw_params()[all …]