Home
last modified time | relevance | path

Searched full:adc1 (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/sound/soc/codecs/
Dpcm186x.c54 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 …]
Drt5677.c1025 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 …]
Dda732x.c423 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 …]
Drt5665.c971 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 …]
Dcs53l30.h45 #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 */
Drt5668.c1265 SOC_DAPM_SINGLE("ADC1 Switch", RT5668_STO1_ADC_MIXER,
1272 SOC_DAPM_SINGLE("ADC1 Switch", RT5668_STO1_ADC_MIXER,
1312 /* STO1 ADC1 Source */
1335 "ADC1 L", "ADC1 R"
1593 SND_SOC_DAPM_ADC("ADC1 L", NULL, SND_SOC_NOPM, 0, 0),
1594 SND_SOC_DAPM_ADC("ADC1 R", NULL, SND_SOC_NOPM, 0, 0),
1596 SND_SOC_DAPM_SUPPLY("ADC1 L Power", RT5668_PWR_DIG_1,
1598 SND_SOC_DAPM_SUPPLY("ADC1 R Power", RT5668_PWR_DIG_1,
1600 SND_SOC_DAPM_SUPPLY("ADC1 clock", RT5668_CHOP_ADC,
1756 {"ADC1 L", NULL, "RECMIX1L"},
[all …]
Drt5659.c1178 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 …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dpcm186x.c53 SOC_DOUBLE_R_S_TLV("ADC1 Capture Volume", PCM186X_PGA_VAL_CH1_L,
135 SOC_DAPM_ENUM("ADC1 Left Input", pcm186x_adc_input_channel_sel[0]),
136 SOC_DAPM_ENUM("ADC1 Right Input", pcm186x_adc_input_channel_sel[1]),
173 SND_SOC_DAPM_MUX("ADC1 Left Capture Source", SND_SOC_NOPM, 0, 0,
175 SND_SOC_DAPM_MUX("ADC1 Right Capture Source", SND_SOC_NOPM, 0, 0,
186 SND_SOC_DAPM_ADC("ADC1", "HiFi Capture 1", PCM186X_POWER_CTRL, 1, 1),
215 { "ADC1 Left Capture Source", NULL, "VINL1" },
216 { "ADC1 Left Capture Source", NULL, "VINR1" },
217 { "ADC1 Left Capture Source", NULL, "VINL2" },
218 { "ADC1 Left Capture Source", NULL, "VINR2" },
[all …]
Drt5677.c1023 SOC_DOUBLE("ADC1 Capture Switch", RT5677_STO1_ADC_DIG_VOL,
1034 SOC_DOUBLE_TLV("ADC1 Capture Volume", RT5677_STO1_ADC_DIG_VOL,
1463 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO1_ADC_MIXER,
1470 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO1_ADC_MIXER,
1477 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO2_ADC_MIXER,
1484 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO2_ADC_MIXER,
1491 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO3_ADC_MIXER,
1498 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO3_ADC_MIXER,
1505 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO4_ADC_MIXER,
1512 SOC_DAPM_SINGLE("ADC1 Switch", RT5677_STO4_ADC_MIXER,
[all …]
Dda732x.c418 SOC_DOUBLE_TLV("ADC1 Volume", DA732X_REG_ADC1_SEL,
465 SOC_ENUM_EXT("ADC1 High Pass Filter Mode",
467 SOC_ENUM("ADC1 High Pass Filter", da732x_adc1_hp_filter_enum),
468 SOC_ENUM("ADC1 Voice Filter", da732x_adc1_voice_filter_enum),
476 SOC_SINGLE("ADC1 EQ Switch", DA732X_REG_ADC1_EQ5,
478 SOC_SINGLE_TLV("ADC1 EQ Band 1 Volume", DA732X_REG_ADC1_EQ12,
481 SOC_SINGLE_TLV("ADC1 EQ Band 2 Volume", DA732X_REG_ADC1_EQ12,
484 SOC_SINGLE_TLV("ADC1 EQ Band 3 Volume", DA732X_REG_ADC1_EQ34,
487 SOC_SINGLE_TLV("ADC1 EQ Band 4 Volume", DA732X_REG_ADC1_EQ34,
490 SOC_SINGLE_TLV("ADC1 EQ Band 5 Volume", DA732X_REG_ADC1_EQ5,
[all …]
Drt5665.c967 SOC_DAPM_ENUM("IF1_2 23 ADC1 Swap Mux", rt5665_if1_2_23_adc_enum);
970 SOC_DAPM_ENUM("IF1_2 45 ADC1 Swap Mux", rt5665_if1_2_45_adc_enum);
973 SOC_DAPM_ENUM("IF1_2 67 ADC1 Swap Mux", rt5665_if1_2_67_adc_enum);
1589 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_STO1_ADC_MIXER,
1596 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_STO1_ADC_MIXER,
1603 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_STO2_ADC_MIXER,
1610 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_STO2_ADC_MIXER,
1617 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_MONO_ADC_MIXER,
1624 SOC_DAPM_SINGLE("ADC1 Switch", RT5665_MONO_ADC_MIXER,
1873 /* STO1 ADC1 Source */
[all …]
Dcs53l30.h45 #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 */
Drt5668.c1265 SOC_DAPM_SINGLE("ADC1 Switch", RT5668_STO1_ADC_MIXER,
1272 SOC_DAPM_SINGLE("ADC1 Switch", RT5668_STO1_ADC_MIXER,
1312 /* STO1 ADC1 Source */
1335 "ADC1 L", "ADC1 R"
1593 SND_SOC_DAPM_ADC("ADC1 L", NULL, SND_SOC_NOPM, 0, 0),
1594 SND_SOC_DAPM_ADC("ADC1 R", NULL, SND_SOC_NOPM, 0, 0),
1596 SND_SOC_DAPM_SUPPLY("ADC1 L Power", RT5668_PWR_DIG_1,
1598 SND_SOC_DAPM_SUPPLY("ADC1 R Power", RT5668_PWR_DIG_1,
1600 SND_SOC_DAPM_SUPPLY("ADC1 clock", RT5668_CHOP_ADC,
1756 {"ADC1 L", NULL, "RECMIX1L"},
[all …]
Drt5659.c1177 SOC_DAPM_ENUM("IF1 23 ADC1 Swap Source", rt5659_if1_23_adc_enum);
1180 SOC_DAPM_ENUM("IF1 45 ADC1 Swap Source", rt5659_if1_45_adc_enum);
1183 SOC_DAPM_ENUM("IF1 67 ADC1 Swap Source", rt5659_if1_67_adc_enum);
1721 SOC_DAPM_SINGLE("ADC1 Switch", RT5659_STO1_ADC_MIXER,
1728 SOC_DAPM_SINGLE("ADC1 Switch", RT5659_STO1_ADC_MIXER,
1735 SOC_DAPM_SINGLE("ADC1 Switch", RT5659_MONO_ADC_MIXER,
1742 SOC_DAPM_SINGLE("ADC1 Switch", RT5659_MONO_ADC_MIXER,
1988 /* STO1 ADC1 Source */
1999 SOC_DAPM_ENUM("Stereo1 ADC1 Source", rt5659_sto1_adc1_enum);
2004 "ADC1", "ADC2"
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/aspeed/
Daspeed-bmc-ufispace-ncplite.dts31 <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>,
32 <&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>;
223 &adc1 {
Daspeed-bmc-facebook-greatlakes.dts27 <&adc1 0>, <&adc1 2>, <&adc1 3>, <&adc1 4>,
28 <&adc1 5>, <&adc1 6>;
222 &adc1 {
Daspeed-bmc-quanta-s6q.dts60 <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>,
61 <&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>;
155 &adc1 {
/kernel/linux/linux-5.10/drivers/mfd/
Dmc13xxx-core.c256 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()
332 mc13xxx_reg_write(mc13xxx, MC13XXX_ADC1, adc1); in mc13xxx_adc_do_conversion()
/kernel/linux/linux-6.6/drivers/mfd/
Dmc13xxx-core.c256 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()
332 mc13xxx_reg_write(mc13xxx, MC13XXX_ADC1, adc1); in mc13xxx_adc_do_conversion()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/
Daspeed,ast2600-adc.yaml31 - aspeed,ast2600-adc1
85 adc1: adc@1e6e9100 {
86 compatible = "aspeed,ast2600-adc1";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/
Dcolibri-vf50-ts.txt22 io-channels = <&adc1 0>,<&adc0 0>,
23 <&adc0 1>,<&adc1 2>;
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/vf/
Dvf500-colibri.dtsi20 io-channels = <&adc1 0>,<&adc0 0>,
21 <&adc0 1>,<&adc1 2>;
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dvf500-colibri.dtsi20 io-channels = <&adc1 0>,<&adc0 0>,
21 <&adc0 1>,<&adc1 2>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dcolibri-vf50-ts.txt21 io-channels = <&adc1 0>,<&adc0 0>,
22 <&adc0 1>,<&adc1 2>;
/kernel/linux/linux-6.6/drivers/iio/light/
Dtsl2563.c309 u16 adc0, adc1; in tsl2563_get_adc() local
341 adc1 = ret; in tsl2563_get_adc()
347 chip->data1 = tsl2563_normalize_adc(adc1, chip->gainlevel->gaintime); in tsl2563_get_adc()
371 * The basic formula is lux = c0 * adc0 - c1 * adc1, where c0 and c1 are
373 * kinds of light, determined by the ratio adc1/adc0 (basically the ratio
375 * lists the upper threshold of the adc1/adc0 ratio and the corresponding
422 static unsigned int tsl2563_adc_to_lux(u32 adc0, u32 adc1) in tsl2563_adc_to_lux() argument
425 unsigned long ratio, lux, ch0 = adc0, ch1 = adc1; in tsl2563_adc_to_lux()

12345678910>>...13