Home
last modified time | relevance | path

Searched refs:dl_src2_con0 (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/sound/soc/mediatek/mt6797/
A Dmt6797-dai-adda.c241 unsigned int dl_src2_con0 = 0; in mtk_dai_adda_hw_params() local
249 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 …]
/linux-6.3-rc2/sound/soc/mediatek/mt8183/
A Dmt8183-dai-adda.c364 unsigned int dl_src2_con0 = 0; in mtk_dai_adda_hw_params() local
372 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 …]
/linux-6.3-rc2/sound/soc/mediatek/mt8186/
A Dmt8186-dai-adda.c655 unsigned int dl_src2_con0; in mtk_dai_adda_hw_params() local
661 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()
/linux-6.3-rc2/sound/soc/mediatek/mt8192/
A Dmt8192-dai-adda.c1155 unsigned int dl_src2_con0 = 0; in mtk_dai_adda_hw_params() local
1159 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()

Completed in 9 milliseconds