Home
last modified time | relevance | path

Searched +full:input +full:- +full:analog +full:- +full:gain (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/kernel/linux/linux-5.10/sound/soc/codecs/
Dtlv320adcx140.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
41 "ti,gpo-config-1",
42 "ti,gpo-config-2",
43 "ti,gpo-config-3",
44 "ti,gpo-config-4",
163 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */
164 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10050, 50, 0);
166 /* ADC gain. From 0 to 42 dB in 1 dB steps */
169 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */
[all …]
Dml26124.c1 // SPDX-License-Identifier: GPL-2.0-only
53 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7150, 50, 0);
55 static const DECLARE_TLV_DB_SCALE(alclvl, -2250, 150, 0);
56 static const DECLARE_TLV_DB_SCALE(mingain, -1200, 600, 0);
57 static const DECLARE_TLV_DB_SCALE(maxgain, -675, 600, 0);
58 static const DECLARE_TLV_DB_SCALE(boost_vol, -1200, 75, 0);
60 static const char * const ml26124_companding[] = {"16bit PCM", "u-law",
61 "A-law"};
88 SOC_SINGLE_TLV("ALC Min Input Volume", ML26124_ALC_MAXMIN_GAIN, 0,
90 SOC_SINGLE_TLV("ALC Max Input Volume", ML26124_ALC_MAXMIN_GAIN, 4,
[all …]
Dssm2602.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Author: Cliff Cai <Cliff.Cai@analog.com>
9 * Copyright 2008 Analog Devices Inc.
51 #define LINVOL_LIN_ENABLE_MUTE 0x080 /* Left Channel Input Mute …
52 #define LINVOL_LRIN_BOTH 0x100 /* Left Channel Line Input Volume update …
56 #define RINVOL_RIN_ENABLE_MUTE 0x080 /* Right Channel Input Mute …
57 #define RINVOL_RLIN_BOTH 0x100 /* Right Channel Line Input Volume update …
70 #define APANA_ENABLE_MIC_BOOST 0x001 /* Primary Microphone Amplifier gain booster contr…
73 #define APANA_ENABLE_BYPASS 0x008 /* Line input bypass to line output …
77 #define APANA_ENABLE_MIC_BOOST2 0x100 /* Secondary Microphone Amplifier gain booster con…
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dtlv320adcx140.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
41 "ti,gpo-config-1",
42 "ti,gpo-config-2",
43 "ti,gpo-config-3",
44 "ti,gpo-config-4",
163 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */
164 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10050, 50, 0);
166 /* ADC gain. From 0 to 42 dB in 1 dB steps */
169 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */
[all …]
Dml26124.c1 // SPDX-License-Identifier: GPL-2.0-only
53 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7150, 50, 0);
55 static const DECLARE_TLV_DB_SCALE(alclvl, -2250, 150, 0);
56 static const DECLARE_TLV_DB_SCALE(mingain, -1200, 600, 0);
57 static const DECLARE_TLV_DB_SCALE(maxgain, -675, 600, 0);
58 static const DECLARE_TLV_DB_SCALE(boost_vol, -1200, 75, 0);
60 static const char * const ml26124_companding[] = {"16bit PCM", "u-law",
61 "A-law"};
88 SOC_SINGLE_TLV("ALC Min Input Volume", ML26124_ALC_MAXMIN_GAIN, 0,
90 SOC_SINGLE_TLV("ALC Max Input Volume", ML26124_ALC_MAXMIN_GAIN, 4,
[all …]
Dssm2602.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Author: Cliff Cai <Cliff.Cai@analog.com>
9 * Copyright 2008 Analog Devices Inc.
51 #define LINVOL_LIN_ENABLE_MUTE 0x080 /* Left Channel Input Mute …
52 #define LINVOL_LRIN_BOTH 0x100 /* Left Channel Line Input Volume update …
56 #define RINVOL_RIN_ENABLE_MUTE 0x080 /* Right Channel Input Mute …
57 #define RINVOL_RLIN_BOTH 0x100 /* Right Channel Line Input Volume update …
70 #define APANA_ENABLE_MIC_BOOST 0x001 /* Primary Microphone Amplifier gain booster contr…
73 #define APANA_ENABLE_BYPASS 0x008 /* Line input bypass to line output …
77 #define APANA_ENABLE_MIC_BOOST2 0x100 /* Secondary Microphone Amplifier gain booster con…
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Dvs6624_regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * vs6624 - ST VS6624 CMOS image sensor registers
5 * Copyright (c) 2011 Analog Devices Inc.
32 #define VS6624_MAN_HSIZE0_MSB 0x0383 /* input required manual H size MSB */
33 #define VS6624_MAN_HSIZE0_LSB 0x0384 /* input required manual H size LSB */
34 #define VS6624_MAN_VSIZE0_MSB 0x0387 /* input required manual V size MSB */
35 #define VS6624_MAN_VSIZE0_LSB 0x0388 /* input required manual V size LSB */
65 #define VS6624_MAN_HSIZE1_MSB 0x0403 /* input required manual H size MSB */
66 #define VS6624_MAN_HSIZE1_LSB 0x0404 /* input required manual H size LSB */
67 #define VS6624_MAN_VSIZE1_MSB 0x0407 /* input required manual V size MSB */
[all …]
Dsaa711x_regs.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * saa711x - Philips SAA711x video decoder register specifications
10 /* Video Decoder - Frontend part */
16 /* Video Decoder - Decoder part */
196 /* SAA7113 bit-masks */
230 /* Video Decoder - Frontend part: R_01_INC_DELAY to R_05_INPUT_CNTL_4 */
234 "Analog input control 1"},
236 "Analog input control 2"},
238 "Analog input control 3"},
240 "Analog input control 4"},
[all …]
Dadv7183_regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * adv7183 - Analog Devices ADV7183 video decoder registers
5 * Copyright (c) 2011 Analog Devices Inc.
11 #define ADV7183_IN_CTRL 0x00 /* Input control */
27 #define ADV7183_ANAL_CLAMP_CTRL 0x14 /* Analog clamp control */
34 #define ADV7183_MISC_GAIN_CTRL 0x2B /* Misc gain control */
36 #define ADV7183_CHRO_GAIN_CTRL_1 0x2D /* Chroma gain control 1 */
37 #define ADV7183_CHRO_GAIN_CTRL_2 0x2E /* Chroma gain control 2 */
38 #define ADV7183_LUMA_GAIN_CTRL_1 0x2F /* Luma gain control 1 */
39 #define ADV7183_LUMA_GAIN_CTRL_2 0x30 /* Luma gain control 2 */
[all …]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
Ddt2811.c1 // SPDX-License-Identifier: GPL-2.0+
5 * COMEDI - Linux Control and Measurement Device Interface
13 * Devices: [Data Translation] DT2811-PGL (dt2811-pgl), DT2811-PGH (dt2811-pgh)
17 * [0] - I/O port base address
18 * [1] - IRQ (optional, needed for async command support)
19 * [2] - A/D reference (# of analog inputs)
20 * 0 = single-ended (16 channels)
22 * 2 = pseudo-differential (16 channels)
23 * [3] - A/D range (deprecated, see below)
24 * [4] - D/A 0 range (deprecated, see below)
[all …]
Dii_pci20kc.c1 // SPDX-License-Identifier: GPL-2.0
4 * Driver for Intelligent Instruments PCI-20001C carrier board and modules.
6 * Copyright (C) 2000 Markus Kempf <kempf@matsci.uni-sb.de>
12 * Description: Intelligent Instruments PCI-20001C carrier board
13 * Devices: [Intelligent Instrumentation] PCI-20001C (ii_pci20kc)
14 * Author: Markus Kempf <kempf@matsci.uni-sb.de>
17 * Supports the PCI-20001C-1a and PCI-20001C-2a carrier boards. The
18 * -2a version has 32 on-board DIO channels. Three add-on modules
21 * Supported add-on modules:
22 * PCI-20006M-1 1 channel, 16-bit analog output module
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Ddt2811.c1 // SPDX-License-Identifier: GPL-2.0+
5 * COMEDI - Linux Control and Measurement Device Interface
13 * Devices: [Data Translation] DT2811-PGL (dt2811-pgl), DT2811-PGH (dt2811-pgh)
17 * [0] - I/O port base address
18 * [1] - IRQ (optional, needed for async command support)
19 * [2] - A/D reference (# of analog inputs)
20 * 0 = single-ended (16 channels)
22 * 2 = pseudo-differential (16 channels)
23 * [3] - A/D range (deprecated, see below)
24 * [4] - D/A 0 range (deprecated, see below)
[all …]
Dii_pci20kc.c1 // SPDX-License-Identifier: GPL-2.0
4 * Driver for Intelligent Instruments PCI-20001C carrier board and modules.
6 * Copyright (C) 2000 Markus Kempf <kempf@matsci.uni-sb.de>
12 * Description: Intelligent Instruments PCI-20001C carrier board
13 * Devices: [Intelligent Instrumentation] PCI-20001C (ii_pci20kc)
14 * Author: Markus Kempf <kempf@matsci.uni-sb.de>
17 * Supports the PCI-20001C-1a and PCI-20001C-2a carrier boards. The
18 * -2a version has 32 on-board DIO channels. Three add-on modules
21 * Supported add-on modules:
22 * PCI-20006M-1 1 channel, 16-bit analog output module
[all …]
/kernel/linux/linux-6.6/sound/mips/
Dad1843.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org>
35 ad1843_PDNO = { 0, 14, 1 }, /* Converter Power-Down Flag */
37 ad1843_RIG = { 2, 0, 4 }, /* Right ADC Input Gain */
38 ad1843_RMGE = { 2, 4, 1 }, /* Right ADC Mic Gain Enable */
40 ad1843_LIG = { 2, 8, 4 }, /* Left ADC Input Gain */
41 ad1843_LMGE = { 2, 12, 1 }, /* Left ADC Mic Gain Enable */
43 ad1843_RD2M = { 3, 0, 5 }, /* Right DAC 2 Mix Gain/Atten */
45 ad1843_LD2M = { 3, 8, 5 }, /* Left DAC 2 Mix Gain/Atten */
47 ad1843_RX1M = { 4, 0, 5 }, /* Right Aux 1 Mix Gain/Atten */
[all …]
/kernel/linux/linux-5.10/sound/mips/
Dad1843.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org>
35 ad1843_PDNO = { 0, 14, 1 }, /* Converter Power-Down Flag */
37 ad1843_RIG = { 2, 0, 4 }, /* Right ADC Input Gain */
38 ad1843_RMGE = { 2, 4, 1 }, /* Right ADC Mic Gain Enable */
40 ad1843_LIG = { 2, 8, 4 }, /* Left ADC Input Gain */
41 ad1843_LMGE = { 2, 12, 1 }, /* Left ADC Mic Gain Enable */
43 ad1843_RD2M = { 3, 0, 5 }, /* Right DAC 2 Mix Gain/Atten */
45 ad1843_LD2M = { 3, 8, 5 }, /* Left DAC 2 Mix Gain/Atten */
47 ad1843_RX1M = { 4, 0, 5 }, /* Right Aux 1 Mix Gain/Atten */
[all …]
/kernel/linux/linux-6.6/sound/soc/sunxi/
Dsun50i-codec-analog.c1 // SPDX-License-Identifier: GPL-2.0+
3 * This driver supports the analog controls for the internal codec
6 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
10 * Based on sun8i-codec-analog.c
23 #include <sound/soc-dapm.h>
26 #include "sun8i-adda-pr-regmap.h"
28 /* Codec analog control register offsets and bit fields */
172 -450, 150, 0);
178 static const DECLARE_TLV_DB_SCALE(sun50i_codec_hp_vol_scale, -6300, 100, 1);
182 2, 31, TLV_DB_SCALE_ITEM(-4350, 150, 0),
[all …]
Dsun8i-codec-analog.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * This driver supports the analog controls for the internal codec
6 * Copyright 2016 Chen-Yu Tsai <wens@csie.org>
18 #include <sound/soc-dapm.h>
21 #include "sun8i-adda-pr-regmap.h"
23 /* Codec analog control register offsets and bit fields */
198 -450, 150, 0);
205 /* Mixer pre-gain */
210 /* Microphone Amp boost gain */
216 SOC_SINGLE_TLV("ADC Gain Capture Volume", SUN8I_ADDA_ADC_AP_EN,
[all …]
/kernel/linux/linux-5.10/sound/soc/sunxi/
Dsun50i-codec-analog.c1 // SPDX-License-Identifier: GPL-2.0+
3 * This driver supports the analog controls for the internal codec
6 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
10 * Based on sun8i-codec-analog.c
23 #include <sound/soc-dapm.h>
26 #include "sun8i-adda-pr-regmap.h"
28 /* Codec analog control register offsets and bit fields */
171 -450, 150, 0);
177 static const DECLARE_TLV_DB_SCALE(sun50i_codec_hp_vol_scale, -6300, 100, 1);
181 2, 31, TLV_DB_SCALE_ITEM(-4350, 150, 0),
[all …]
/kernel/linux/linux-6.6/drivers/media/i2c/
Dsaa711x_regs.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * saa711x - Philips SAA711x video decoder register specifications
10 /* Video Decoder - Frontend part */
16 /* Video Decoder - Decoder part */
196 /* SAA7113 bit-masks */
230 /* Video Decoder - Frontend part: R_01_INC_DELAY to R_05_INPUT_CNTL_4 */
234 "Analog input control 1"},
236 "Analog input control 2"},
238 "Analog input control 3"},
240 "Analog input control 4"},
[all …]
Dadv7183_regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * adv7183 - Analog Devices ADV7183 video decoder registers
5 * Copyright (c) 2011 Analog Devices Inc.
11 #define ADV7183_IN_CTRL 0x00 /* Input control */
27 #define ADV7183_ANAL_CLAMP_CTRL 0x14 /* Analog clamp control */
34 #define ADV7183_MISC_GAIN_CTRL 0x2B /* Misc gain control */
36 #define ADV7183_CHRO_GAIN_CTRL_1 0x2D /* Chroma gain control 1 */
37 #define ADV7183_CHRO_GAIN_CTRL_2 0x2E /* Chroma gain control 2 */
38 #define ADV7183_LUMA_GAIN_CTRL_1 0x2F /* Luma gain control 1 */
39 #define ADV7183_LUMA_GAIN_CTRL_2 0x30 /* Luma gain control 2 */
[all …]
/kernel/linux/linux-6.6/drivers/media/i2c/ccs/
Dccs-quirk.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/media/i2c/ccs/ccs-quirk.c
8 * Copyright (C) 2011--2012 Nokia Corporation
15 #include "ccs-limits.h"
20 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in ccs_write_addr_8s()
23 for (; len > 0; len--, regs++) { in ccs_write_addr_8s()
24 rval = ccs_write_addr(sensor, regs->reg, regs->val); in ccs_write_addr_8s()
26 dev_err(&client->dev, in ccs_write_addr_8s()
28 rval, regs->reg, regs->val); in ccs_write_addr_8s()
38 if (sensor->minfo.revision_number < 0x0300) in jt8ew9_limits()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/frequency/
Dadi,adrf6780.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Antoniu Miclaus <antoniu.miclaus@analog.com>
16 https://www.analog.com/en/products/adrf6780.html
21 - adi,adrf6780
26 spi-max-frequency:
34 clock-names:
36 - const: lo_in
38 clock-output-names:
[all …]
/kernel/linux/linux-6.6/drivers/iio/addac/
Dstx104.c1 // SPDX-License-Identifier: GPL-2.0-only
87 * struct stx104_iio - IIO device private data structure
89 * @aio_data_map: Regmap for analog I/O data
90 * @aio_ctl_map: Regmap for analog I/O control
182 err = regmap_read(priv->aio_ctl_map, STX104_ADC_CONFIGURATION, &adc_config); in stx104_read_raw()
189 if (chan->output) { in stx104_read_raw()
190 err = regmap_read(priv->aio_data_map, STX104_DAC_OFFSET(chan->channel), in stx104_read_raw()
198 mutex_lock(&priv->lock); in stx104_read_raw()
201 err = regmap_write(priv->aio_ctl_map, STX104_ADC_CHANNEL, in stx104_read_raw()
202 STX104_SINGLE_CHANNEL(chan->channel)); in stx104_read_raw()
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/smiapp/
Dsmiapp-quirk.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/media/i2c/smiapp/smiapp-quirk.c
7 * Copyright (C) 2011--2012 Nokia Corporation
23 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_write_8s()
26 for (; len > 0; len--, regs++) { in smiapp_write_8s()
27 rval = smiapp_write_8(sensor, regs->reg, regs->val); in smiapp_write_8s()
29 dev_err(&client->dev, in smiapp_write_8s()
31 rval, regs->reg, regs->val); in smiapp_write_8s()
42 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_replace_limit()
44 dev_dbg(&client->dev, "quirk: 0x%8.8x \"%s\" = %d, 0x%x\n", in smiapp_replace_limit()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/
Dti,ads131e08.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments ADS131E0x 4-, 6- and 8-Channel ADCs
10 - Jonathan Cameron <jic23@kernel.org>
14 24-bit, delta-sigma, analog-to-digital converters (ADCs) with a
15 built-in programmable gain amplifier (PGA), internal reference
24 - ti,ads131e04
25 - ti,ads131e06
26 - ti,ads131e08
[all …]

12345678910>>...16