Searched refs:dl_src2_con0 (Results 1 – 4 of 4) sorted by relevance
241 unsigned int dl_src2_con0 = 0; in mtk_dai_adda_hw_params() local249 dl_src2_con0 = adda_dl_rate_transform(afe, rate) << 28; in mtk_dai_adda_hw_params()254 dl_src2_con0 |= (0x1 << 24); /* UP_SAMPLING_RATE_X2 */ in mtk_dai_adda_hw_params()255 dl_src2_con0 |= 1 << 14; in mtk_dai_adda_hw_params()258 dl_src2_con0 |= (0x2 << 24); /* UP_SAMPLING_RATE_X4 */ in mtk_dai_adda_hw_params()259 dl_src2_con0 |= 1 << 14; in mtk_dai_adda_hw_params()262 dl_src2_con0 |= (0x3 << 24); /* UP_SAMPLING_RATE_X8 */ in mtk_dai_adda_hw_params()267 dl_src2_con0 |= (0x03 << 11); in mtk_dai_adda_hw_params()271 dl_src2_con0 |= 0x01 << 5; in mtk_dai_adda_hw_params()285 dl_src2_con0 = dl_src2_con0 | (0x01 << 1); in mtk_dai_adda_hw_params()[all …]
364 unsigned int dl_src2_con0 = 0; in mtk_dai_adda_hw_params() local372 dl_src2_con0 = adda_dl_rate_transform(afe, rate) << 28; in mtk_dai_adda_hw_params()377 dl_src2_con0 |= (0x1 << 24); /* UP_SAMPLING_RATE_X2 */ in mtk_dai_adda_hw_params()378 dl_src2_con0 |= 1 << 14; in mtk_dai_adda_hw_params()381 dl_src2_con0 |= (0x2 << 24); /* UP_SAMPLING_RATE_X4 */ in mtk_dai_adda_hw_params()382 dl_src2_con0 |= 1 << 14; in mtk_dai_adda_hw_params()385 dl_src2_con0 |= (0x3 << 24); /* UP_SAMPLING_RATE_X8 */ in mtk_dai_adda_hw_params()390 dl_src2_con0 |= (0x03 << 11); in mtk_dai_adda_hw_params()394 dl_src2_con0 |= 0x01 << 5; in mtk_dai_adda_hw_params()400 dl_src2_con0 = dl_src2_con0 | (0x01 << 1); in mtk_dai_adda_hw_params()[all …]
655 unsigned int dl_src2_con0; in mtk_dai_adda_hw_params() local661 dl_src2_con0 = adda_dl_rate_transform(afe, rate) << in mtk_dai_adda_hw_params()665 dl_src2_con0 |= (0x3 << DL_2_OUTPUT_SEL_CTL_SFT); in mtk_dai_adda_hw_params()668 dl_src2_con0 |= BIT(DL_2_MUTE_CH2_OFF_CTL_PRE_SFT); in mtk_dai_adda_hw_params()669 dl_src2_con0 |= BIT(DL_2_MUTE_CH1_OFF_CTL_PRE_SFT); in mtk_dai_adda_hw_params()673 dl_src2_con0 |= BIT(DL_2_VOICE_MODE_CTL_PRE_SFT); in mtk_dai_adda_hw_params()680 dl_src2_con0 |= BIT(DL_2_GAIN_ON_CTL_PRE_SFT); in mtk_dai_adda_hw_params()688 AFE_ADDA_DL_SRC2_CON0, dl_src2_con0); in mtk_dai_adda_hw_params()
1155 unsigned int dl_src2_con0 = 0; in mtk_dai_adda_hw_params() local1159 dl_src2_con0 = adda_dl_rate_transform(afe, rate) << in mtk_dai_adda_hw_params()1163 dl_src2_con0 |= (0x3 << DL_2_OUTPUT_SEL_CTL_SFT); in mtk_dai_adda_hw_params()1166 dl_src2_con0 |= (0x01 << DL_2_MUTE_CH2_OFF_CTL_PRE_SFT); in mtk_dai_adda_hw_params()1167 dl_src2_con0 |= (0x01 << DL_2_MUTE_CH1_OFF_CTL_PRE_SFT); in mtk_dai_adda_hw_params()1171 dl_src2_con0 |= 0x01 << DL_2_VOICE_MODE_CTL_PRE_SFT; in mtk_dai_adda_hw_params()1178 dl_src2_con0 |= (0x01 << DL_2_GAIN_ON_CTL_PRE_SFT); in mtk_dai_adda_hw_params()1186 AFE_ADDA_DL_SRC2_CON0, dl_src2_con0); in mtk_dai_adda_hw_params()1219 dl_src2_con0); in mtk_dai_adda_hw_params()