/Linux-v5.10/sound/soc/codecs/ |
D | pcm186x.c | 54 SOC_DOUBLE_R_S_TLV("ADC1 Capture Volume", PCM186X_PGA_VAL_CH1_L, 136 SOC_DAPM_ENUM("ADC1 Left Input", pcm186x_adc_input_channel_sel[0]), 137 SOC_DAPM_ENUM("ADC1 Right Input", pcm186x_adc_input_channel_sel[1]), 174 SND_SOC_DAPM_MUX("ADC1 Left Capture Source", SND_SOC_NOPM, 0, 0, 176 SND_SOC_DAPM_MUX("ADC1 Right Capture Source", SND_SOC_NOPM, 0, 0, 187 SND_SOC_DAPM_ADC("ADC1", "HiFi Capture 1", PCM186X_POWER_CTRL, 1, 1), 216 { "ADC1 Left Capture Source", NULL, "VINL1" }, 217 { "ADC1 Left Capture Source", NULL, "VINR1" }, 218 { "ADC1 Left Capture Source", NULL, "VINL2" }, 219 { "ADC1 Left Capture Source", NULL, "VINR2" }, [all …]
|
D | rt5677.c | 1025 SOC_DOUBLE("ADC1 Capture Switch", RT5677_STO1_ADC_DIG_VOL, 1036 SOC_DOUBLE_TLV("ADC1 Capture Volume", RT5677_STO1_ADC_DIG_VOL, 1465 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO1_ADC_MIXER, 1472 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO1_ADC_MIXER, 1479 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO2_ADC_MIXER, 1486 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO2_ADC_MIXER, 1493 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO3_ADC_MIXER, 1500 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO3_ADC_MIXER, 1507 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO4_ADC_MIXER, 1514 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO4_ADC_MIXER, [all …]
|
D | da732x.c | 423 SOC_DOUBLE_TLV("ADC1 Volume", DA732X_REG_ADC1_SEL, 470 SOC_ENUM_EXT("ADC1 High Pass Filter Mode", 472 SOC_ENUM("ADC1 High Pass Filter", da732x_adc1_hp_filter_enum), 473 SOC_ENUM("ADC1 Voice Filter", da732x_adc1_voice_filter_enum), 481 SOC_SINGLE("ADC1 EQ Switch", DA732X_REG_ADC1_EQ5, 483 SOC_SINGLE_TLV("ADC1 EQ Band 1 Volume", DA732X_REG_ADC1_EQ12, 486 SOC_SINGLE_TLV("ADC1 EQ Band 2 Volume", DA732X_REG_ADC1_EQ12, 489 SOC_SINGLE_TLV("ADC1 EQ Band 3 Volume", DA732X_REG_ADC1_EQ34, 492 SOC_SINGLE_TLV("ADC1 EQ Band 4 Volume", DA732X_REG_ADC1_EQ34, 495 SOC_SINGLE_TLV("ADC1 EQ Band 5 Volume", DA732X_REG_ADC1_EQ5, [all …]
|
D | rt5665.c | 971 SOC_DAPM_ENUM("IF1_2 23 ADC1 Swap Mux", rt5665_if1_2_23_adc_enum); 974 SOC_DAPM_ENUM("IF1_2 45 ADC1 Swap Mux", rt5665_if1_2_45_adc_enum); 977 SOC_DAPM_ENUM("IF1_2 67 ADC1 Swap Mux", rt5665_if1_2_67_adc_enum); 1593 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_STO1_ADC_MIXER, 1600 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_STO1_ADC_MIXER, 1607 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_STO2_ADC_MIXER, 1614 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_STO2_ADC_MIXER, 1621 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_MONO_ADC_MIXER, 1628 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_MONO_ADC_MIXER, 1877 /* STO1 ADC1 Source */ [all …]
|
D | cs53l30.h | 45 #define CS53L30_ADCDMIC1_CTL1 0x25 /* ADC1/DMIC1 Control 1. */ 46 #define CS53L30_ADCDMIC1_CTL2 0x26 /* ADC1/DMIC1 Control 2. */ 47 #define CS53L30_ADC1_CTL3 0x27 /* ADC1 Control 3. */ 48 #define CS53L30_ADC1_NG_CTL 0x28 /* ADC1 Noise Gate Control. */ 354 /* R37/R45 (0x25/0x2D) CS53L30_ADCDMICx_CTL1 - ADC1/DMIC1 & ADC2/DMIC2 Control 1 */ 374 /* R38/R46 (0x26/0x2E) CS53L30_ADCDMICx_CTL2 - ADC1/DMIC1 & ADC2/DMIC2 Control 2 */ 393 /* R39/R47 (0x27/0x2F) CS53L30_ADCx_CTL3 - ADC1/ADC2 Control 3 */ 410 /* R40/R48 (0x28/0x30) CS53L30_ADCx_NG_CTL - ADC1/ADC2 Noise Gate Control */
|
D | rt5668.c | 1263 SOC_DAPM_SINGLE("ADC1 Switch", RT5668_STO1_ADC_MIXER, 1270 SOC_DAPM_SINGLE("ADC1 Switch", RT5668_STO1_ADC_MIXER, 1310 /* STO1 ADC1 Source */ 1333 "ADC1 L", "ADC1 R" 1591 SND_SOC_DAPM_ADC("ADC1 L", NULL, SND_SOC_NOPM, 0, 0), 1592 SND_SOC_DAPM_ADC("ADC1 R", NULL, SND_SOC_NOPM, 0, 0), 1594 SND_SOC_DAPM_SUPPLY("ADC1 L Power", RT5668_PWR_DIG_1, 1596 SND_SOC_DAPM_SUPPLY("ADC1 R Power", RT5668_PWR_DIG_1, 1598 SND_SOC_DAPM_SUPPLY("ADC1 clock", RT5668_CHOP_ADC, 1754 {"ADC1 L", NULL, "RECMIX1L"}, [all …]
|
D | rt5659.c | 1178 SOC_DAPM_ENUM("IF1 23 ADC1 Swap Source", rt5659_if1_23_adc_enum); 1181 SOC_DAPM_ENUM("IF1 45 ADC1 Swap Source", rt5659_if1_45_adc_enum); 1184 SOC_DAPM_ENUM("IF1 67 ADC1 Swap Source", rt5659_if1_67_adc_enum); 1722 SOC_DAPM_SINGLE("ADC1 Switch", RT5659_STO1_ADC_MIXER, 1729 SOC_DAPM_SINGLE("ADC1 Switch", RT5659_STO1_ADC_MIXER, 1736 SOC_DAPM_SINGLE("ADC1 Switch", RT5659_MONO_ADC_MIXER, 1743 SOC_DAPM_SINGLE("ADC1 Switch", RT5659_MONO_ADC_MIXER, 1989 /* STO1 ADC1 Source */ 2000 SOC_DAPM_ENUM("Stereo1 ADC1 Source", rt5659_sto1_adc1_enum); 2005 "ADC1", "ADC2" [all …]
|
D | cs53l30.c | 174 "ADC1 On AB In", 175 "ADC1 On A In", 176 "ADC1 On B In", 177 "DMIC1 Off ADC1 Off", 294 SOC_SINGLE("ADC1 Noise Gate Ganging Switch", CS53L30_ADC1_CTL3, 306 SOC_SINGLE("ADC1 Notch Filter Switch", CS53L30_ADCDMIC1_CTL2, 327 SOC_SINGLE_TLV("ADC1 NG Boost Volume", CS53L30_ADC1_NG_CTL, 332 SOC_DOUBLE_R_TLV("ADC1 Preamplifier Volume", CS53L30_ADC1A_AFE_CTL, 342 SOC_ENUM("ADC1 HPF Select", adc1_hpf_enum), 344 SOC_ENUM("ADC1 NG Threshold", adc1_ng_thres_enum), [all …]
|
D | cx2072x.c | 896 SOC_DOUBLE_R_TLV("PortD ADC1 Volume", CX2072X_ADC1_AMP_GAIN_LEFT_1, 898 SOC_DOUBLE_R_TLV("PortC ADC1 Volume", CX2072X_ADC1_AMP_GAIN_LEFT_2, 900 SOC_DOUBLE_R_TLV("PortB ADC1 Volume", CX2072X_ADC1_AMP_GAIN_LEFT_0, 1139 SOC_DAPM_ENUM("ADC1 Mux", adc1in_sel_enum); 1242 SND_SOC_DAPM_REG(snd_soc_dapm_adc, "ADC1", CX2072X_ADC1_POWER_STATE, 1247 SND_SOC_DAPM_MUX("ADC1 Mux", SND_SOC_NOPM, 0, 0, &adc1_mux), 1326 {"ADC1 Mux", "PortB Switch", "PortB In En"}, 1327 {"ADC1 Mux", "PortC Switch", "PortC In En"}, 1328 {"ADC1 Mux", "PortD Switch", "PortD In En"}, 1329 {"ADC1 Mux", "PortE Switch", "PortE In En"}, [all …]
|
D | pcm3168a.c | 170 SOC_SINGLE("ADC1 High-Pass Filter Switch", PCM3168A_ADC_PWR_HPFB, 176 SOC_ENUM("ADC1 Connection Type", pcm3168a_adc1_con), 179 SOC_DOUBLE("ADC1 Invert Switch", PCM3168A_ADC_INV, 0, 1, 1, 0), 182 SOC_DOUBLE("ADC1 Mute Switch", PCM3168A_ADC_MUTE, 0, 1, 1, 0), 191 SOC_DOUBLE_R_RANGE_TLV("ADC1 Capture Volume", 224 SND_SOC_DAPM_ADC("ADC1", "Capture", PCM3168A_ADC_PWR_HPFB, 254 { "ADC1", NULL, "AIN1L" }, 255 { "ADC1", NULL, "AIN1R" },
|
D | rt5682.c | 1342 SOC_DAPM_SINGLE("ADC1 Switch", RT5682_STO1_ADC_MIXER, 1349 SOC_DAPM_SINGLE("ADC1 Switch", RT5682_STO1_ADC_MIXER, 1389 /* STO1 ADC1 Source */ 1412 "ADC1 L", "ADC1 R" 1681 SND_SOC_DAPM_ADC("ADC1 L", NULL, SND_SOC_NOPM, 0, 0), 1682 SND_SOC_DAPM_ADC("ADC1 R", NULL, SND_SOC_NOPM, 0, 0), 1684 SND_SOC_DAPM_SUPPLY("ADC1 L Power", RT5682_PWR_DIG_1, 1686 SND_SOC_DAPM_SUPPLY("ADC1 R Power", RT5682_PWR_DIG_1, 1688 SND_SOC_DAPM_SUPPLY("ADC1 clock", RT5682_CHOP_ADC, 1858 {"ADC1 L", NULL, "RECMIX1L"}, [all …]
|
D | cs42xx8.c | 82 SOC_DOUBLE_R_S_TLV("ADC1 Capture Volume", CS42XX8_VOLAIN1, 90 SOC_DOUBLE("ADC1 Invert Switch", CS42XX8_ADCINV, 0, 1, 1, 0), 94 SOC_ENUM("ADC1 Single Ended Mode Switch", adc1_single_enum), 126 SND_SOC_DAPM_ADC("ADC1", "Capture", CS42XX8_PWRCTL, 5, 1), 163 { "ADC1", NULL, "AIN1L" }, 164 { "ADC1", NULL, "AIN1R" }, 165 { "ADC1", NULL, "PWR" },
|
D | rt5670.c | 875 SOC_DAPM_SINGLE("ADC1 Switch", RT5670_STO1_ADC_MIXER, 882 SOC_DAPM_SINGLE("ADC1 Switch", RT5670_STO1_ADC_MIXER, 889 SOC_DAPM_SINGLE("ADC1 Switch", RT5670_STO2_ADC_MIXER, 896 SOC_DAPM_SINGLE("ADC1 Switch", RT5670_STO2_ADC_MIXER, 903 SOC_DAPM_SINGLE("ADC1 Switch", RT5670_MONO_ADC_MIXER, 910 SOC_DAPM_SINGLE("ADC1 Switch", RT5670_MONO_ADC_MIXER, 1202 "Mono DAC MIXL", "ADC1" 1209 SOC_DAPM_ENUM("Mono ADC1 left source", rt5670_mono_adc_l1_enum); 1246 SOC_DAPM_ENUM("Mono ADC1 right source", rt5670_mono_adc_r1_enum); 1329 SOC_DAPM_ENUM("IF1 ADC1 IN1 source", rt5670_if1_adc1_in1_enum); [all …]
|
D | rt5651.c | 397 SOC_DAPM_SINGLE("ADC1 Switch", RT5651_STO1_ADC_MIXER, 404 SOC_DAPM_SINGLE("ADC1 Switch", RT5651_STO1_ADC_MIXER, 411 SOC_DAPM_SINGLE("ADC1 Switch", RT5651_STO2_ADC_MIXER, 418 SOC_DAPM_SINGLE("ADC1 Switch", RT5651_STO2_ADC_MIXER, 608 SOC_DAPM_ENUM("Stereo2 ADC1 left source", rt5651_sto2_adc_l1_enum); 626 SOC_DAPM_ENUM("Stereo2 ADC1 right source", rt5651_sto2_adc_r1_enum); 656 static const char * const rt5651_adc_src[] = {"IF1 ADC1", "IF1 ADC2"}; 957 SND_SOC_DAPM_PGA("IF1 ADC1", SND_SOC_NOPM, 0, 0, NULL, 0), 1141 {"Stereo1 ADC MIXL", "ADC1 Switch", "Stereo1 ADC L1 Mux"}, 1146 {"Stereo1 ADC MIXR", "ADC1 Switch", "Stereo1 ADC R1 Mux"}, [all …]
|
/Linux-v5.10/drivers/mfd/ |
D | mc13xxx-core.c | 256 u32 adc0, adc1, old_adc0; in mc13xxx_adc_do_conversion() local 280 adc1 = MC13XXX_ADC1_ADEN | MC13XXX_ADC1_ADTRIGIGN | MC13XXX_ADC1_ASC; in mc13xxx_adc_do_conversion() 289 adc1 |= MC13XXX_ADC1_ADSEL; in mc13xxx_adc_do_conversion() 302 adc1 |= 4 << MC13XXX_ADC1_CHAN1_SHIFT; in mc13xxx_adc_do_conversion() 307 adc1 |= (channel & 0x7) << MC13XXX_ADC1_CHAN0_SHIFT; in mc13xxx_adc_do_conversion() 308 adc1 |= MC13XXX_ADC1_RAND; in mc13xxx_adc_do_conversion() 313 adc1 |= 4 << MC13XXX_ADC1_CHAN1_SHIFT; in mc13xxx_adc_do_conversion() 321 adc1 |= ato << MC13783_ADC1_ATO_SHIFT; in mc13xxx_adc_do_conversion() 323 adc1 |= MC13783_ADC1_ATOX; in mc13xxx_adc_do_conversion() 330 mc13xxx_reg_write(mc13xxx, MC13XXX_ADC1, adc1); in mc13xxx_adc_do_conversion()
|
/Linux-v5.10/Documentation/devicetree/bindings/input/touchscreen/ |
D | colibri-vf50-ts.txt | 21 io-channels = <&adc1 0>,<&adc0 0>, 22 <&adc0 1>,<&adc1 2>;
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | vf500-colibri.dtsi | 20 io-channels = <&adc1 0>,<&adc0 0>, 21 <&adc0 1>,<&adc1 2>;
|
D | vf610-zii-ssmb-dtu.dts | 54 <&adc1 8>, /* VCC_1V5 */ 55 <&adc1 9>; /* VCC_1V2 */ 64 &adc1 {
|
D | vf610-zii-spb4.dts | 50 <&adc1 8>, /* VCC_1V5 */ 51 <&adc1 9>; /* VCC_1V2 */ 60 &adc1 {
|
D | vf610-zii-ssmb-spu3.dts | 54 <&adc1 8>, /* VCC_1V5 */ 55 <&adc1 9>; /* VCC_1V2 */ 64 &adc1 {
|
D | vf610-zii-cfu1.dts | 79 <&adc1 8>, /* VCC_1V5 */ 80 <&adc1 9>; /* VCC_1V2 */ 89 &adc1 {
|
/Linux-v5.10/drivers/iio/light/ |
D | tsl2563.c | 303 u16 adc0, adc1; in tsl2563_get_adc() local 335 adc1 = ret; in tsl2563_get_adc() 341 chip->data1 = tsl2563_normalize_adc(adc1, chip->gainlevel->gaintime); in tsl2563_get_adc() 365 * The basic formula is lux = c0 * adc0 - c1 * adc1, where c0 and c1 are 367 * kinds of light, determined by the ratio adc1/adc0 (basically the ratio 369 * lists the upper threshold of the adc1/adc0 ratio and the corresponding 416 static unsigned int tsl2563_adc_to_lux(u32 adc0, u32 adc1) in tsl2563_adc_to_lux() argument 419 unsigned long ratio, lux, ch0 = adc0, ch1 = adc1; in tsl2563_adc_to_lux()
|
/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/ |
D | st,stm32-adc.yaml | 175 - description: interrupt line for ADC1 215 - 0x0: ADC1 385 // Example 1: with stm32f429, ADC1, single-ended channel 8 416 // Example 2: with stm32mp157c to setup ADC1 with:
|
/Linux-v5.10/drivers/iio/adc/ |
D | sc27xx_adc.c | 87 int adc1; member 156 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration() 157 calib_graph->adc1); in sc27xx_adc_scale_calibration() 276 tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); in sc27xx_adc_to_volt() 277 tmp /= (graph->adc0 - graph->adc1); in sc27xx_adc_to_volt()
|
/Linux-v5.10/Documentation/devicetree/bindings/iio/ |
D | iio-bindings.txt | 40 adc1: iio-device@0 { 101 io-channel-names = "adc1", "adc2";
|