Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A 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()
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()
4913 2 * adc_mux_n; in wcd934x_codec_find_amic_input()
4916 (adc_mux_n - 4); in wcd934x_codec_find_amic_input()
4920 adc_mux_n - 4; in wcd934x_codec_find_amic_input()
4926 adc_mux_n - 4; in wcd934x_codec_find_amic_input()
4929 ((adc_mux_n == 8) ? (adc_mux_n - 8) : in wcd934x_codec_find_amic_input()
[all …]
H A 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()