Home
last modified time | relevance | path

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

/Linux-v6.6/sound/soc/codecs/
Dwcd934x.c4891 int adc_mux_n) in wcd934x_codec_find_amic_input() argument
4897 if (adc_mux_n < 0 || adc_mux_n > WCD934X_MAX_VALID_ADC_MUX || in wcd934x_codec_find_amic_input()
4898 adc_mux_n == WCD934X_INVALID_ADC_MUX) in wcd934x_codec_find_amic_input()
4901 if (adc_mux_n < 3) { in wcd934x_codec_find_amic_input()
4903 adc_mux_n; in wcd934x_codec_find_amic_input()
4907 2 * adc_mux_n; in wcd934x_codec_find_amic_input()
4908 } else if (adc_mux_n < 4) { in wcd934x_codec_find_amic_input()
4913 2 * adc_mux_n; in wcd934x_codec_find_amic_input()
4914 } else if (adc_mux_n < 7) { in wcd934x_codec_find_amic_input()
4916 (adc_mux_n - 4); in wcd934x_codec_find_amic_input()
[all …]
Dwcd9335.c2661 int adc_mux_n) in wcd9335_codec_find_amic_input() argument
2665 if (adc_mux_n < 0 || adc_mux_n > WCD9335_MAX_VALID_ADC_MUX || in wcd9335_codec_find_amic_input()
2666 adc_mux_n == WCD9335_INVALID_ADC_MUX) in wcd9335_codec_find_amic_input()
2670 if (adc_mux_n < 4) { in wcd9335_codec_find_amic_input()
2671 reg = WCD9335_CDC_TX_INP_MUX_ADC_MUX0_CFG1 + 2 * adc_mux_n; in wcd9335_codec_find_amic_input()
2672 mreg = WCD9335_CDC_TX_INP_MUX_ADC_MUX0_CFG0 + 2 * adc_mux_n; in wcd9335_codec_find_amic_input()
2675 reg = WCD9335_CDC_TX_INP_MUX_ADC_MUX4_CFG0 + adc_mux_n - 4; in wcd9335_codec_find_amic_input()