Home
last modified time | relevance | path

Searched refs:adc_mux_n (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/sound/soc/codecs/
Dwcd934x.c4883 int adc_mux_n) in wcd934x_codec_find_amic_input() argument
4889 if (adc_mux_n < 0 || adc_mux_n > WCD934X_MAX_VALID_ADC_MUX || in wcd934x_codec_find_amic_input()
4890 adc_mux_n == WCD934X_INVALID_ADC_MUX) in wcd934x_codec_find_amic_input()
4893 if (adc_mux_n < 3) { in wcd934x_codec_find_amic_input()
4895 adc_mux_n; in wcd934x_codec_find_amic_input()
4899 2 * adc_mux_n; in wcd934x_codec_find_amic_input()
4900 } else if (adc_mux_n < 4) { in wcd934x_codec_find_amic_input()
4905 2 * adc_mux_n; in wcd934x_codec_find_amic_input()
4906 } else if (adc_mux_n < 7) { in wcd934x_codec_find_amic_input()
4908 (adc_mux_n - 4); in wcd934x_codec_find_amic_input()
[all …]
Dwcd9335.c2672 int adc_mux_n) in wcd9335_codec_find_amic_input() argument
2676 if (adc_mux_n < 0 || adc_mux_n > WCD9335_MAX_VALID_ADC_MUX || in wcd9335_codec_find_amic_input()
2677 adc_mux_n == WCD9335_INVALID_ADC_MUX) in wcd9335_codec_find_amic_input()
2681 if (adc_mux_n < 4) { in wcd9335_codec_find_amic_input()
2682 reg = WCD9335_CDC_TX_INP_MUX_ADC_MUX0_CFG1 + 2 * adc_mux_n; in wcd9335_codec_find_amic_input()
2683 mreg = WCD9335_CDC_TX_INP_MUX_ADC_MUX0_CFG0 + 2 * adc_mux_n; in wcd9335_codec_find_amic_input()
2686 reg = WCD9335_CDC_TX_INP_MUX_ADC_MUX4_CFG0 + adc_mux_n - 4; in wcd9335_codec_find_amic_input()