/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/ |
D | adi,ad4000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD4000 and similar Analog to Digital Converters 10 - Marcelo Schmitt <marcelo.schmitt@analog.com> 13 Analog Devices AD4000 family of Analog to Digital Converters with SPI support. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4000-4004-4008.pdf 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4001-4005.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4002-4006-4010.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4003-4007-4011.pdf [all …]
|
D | ti,ads131e08.yaml | 1 # 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 …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | tlv320adcx140.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 40 "ti,gpo-config-1", 41 "ti,gpo-config-2", 42 "ti,gpo-config-3", 43 "ti,gpo-config-4", 162 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */ 163 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10050, 50, 0); 165 /* ADC gain. From 0 to 42 dB in 1 dB steps */ 168 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */ [all …]
|
D | ml26124.c | 1 // 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 …]
|
D | ak4619.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ak4619.c -- Asahi Kasei ALSA SoC Audio driver 33 #define MIC_AMP1 0x04 /* MIC AMP Gain 1 */ 34 #define MIC_AMP2 0x05 /* MIC AMP Gain 2 */ 40 #define ADC_AI 0x0b /* ADC Analog Input Setting */ 46 #define DAC_IS 0x12 /* DAC Input Select Setting */ 47 #define DAC_DEMP 0x13 /* DAC De-Emphasis Setting */ 86 /* MIC AMP Gain */ 99 /* Analog Input Select */ 122 /* DAC Input Select Setting */ [all …]
|
D | mt6357.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio() 22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio() 28 /* pad_aud_*_mosi are GPIO mode after clear and set them to dir input in set_playback_gpio() 32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio() 46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio() 49 regmap_write(priv->regmap, MT6357_GPIO_MODE3_SET, in set_capture_gpio() 55 /* pad_aud_*_mosi are GPIO mode after clear and set them to dir input in set_capture_gpio() 61 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_capture_gpio() [all …]
|
D | ssm2602.h | 1 /* 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 …]
|
D | idt821034.c | 1 // SPDX-License-Identifier: GPL-2.0 21 u16 gain; member 28 u8 spi_tx_buf; /* Cannot use stack area for SPI (dma-safe memory) */ 29 u8 spi_rx_buf; /* Cannot use stack area for SPI (dma-safe memory) */ 55 .tx_buf = &idt821034->spi_tx_buf, in idt821034_8bit_write() 59 .tx_buf = &idt821034->spi_tx_buf, in idt821034_8bit_write() 64 idt821034->spi_tx_buf = val; in idt821034_8bit_write() 66 dev_vdbg(&idt821034->spi->dev, "spi xfer wr 0x%x\n", val); in idt821034_8bit_write() 68 return spi_sync_transfer(idt821034->spi, xfer, 2); in idt821034_8bit_write() 85 .tx_buf = &idt821034->spi_tx_buf, in idt821034_8bit_read() [all …]
|
/linux-6.12.1/drivers/comedi/drivers/ |
D | dt2811.c | 1 // 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 …]
|
D | ii_pci20kc.c | 1 // 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 …]
|
D | das1800.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for Keithley DAS-1700/DAS-1800 series boards 6 * COMEDI - Linux Control and Measurement Device Interface 14 * Devices: [Keithley Metrabyte] DAS-1701ST (das-1701st), 15 * DAS-1701ST-DA (das-1701st-da), DAS-1701/AO (das-1701ao), 16 * DAS-1702ST (das-1702st), DAS-1702ST-DA (das-1702st-da), 17 * DAS-1702HR (das-1702hr), DAS-1702HR-DA (das-1702hr-da), 18 * DAS-1702/AO (das-1702ao), DAS-1801ST (das-1801st), 19 * DAS-1801ST-DA (das-1801st-da), DAS-1801HC (das-1801hc), 20 * DAS-1801AO (das-1801ao), DAS-1802ST (das-1802st), [all …]
|
/linux-6.12.1/Documentation/iio/ |
D | ad4695.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 7 ADC driver for Analog Devices Inc. AD4695 and similar devices. The module name 16 * `AD4695 <https://www.analog.com/AD4695>`_ 17 * `AD4696 <https://www.analog.com/AD4696>`_ 18 * `AD4697 <https://www.analog.com/AD4697>`_ 19 * `AD4698 <https://www.analog.com/AD4698>`_ 26 ---------------- 30 4-wire mode 35 .. code-block:: 37 +-------------+ +-------------+ [all …]
|
/linux-6.12.1/sound/mips/ |
D | ad1843.c | 1 // 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 …]
|
/linux-6.12.1/drivers/media/i2c/ |
D | saa711x_regs.h | 1 /* 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 …]
|
D | adv7183_regs.h | 1 /* 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 …]
|
/linux-6.12.1/sound/soc/sunxi/ |
D | sun50i-codec-analog.c | 1 // 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 22 #include <sound/soc-dapm.h> 25 #include "sun8i-adda-pr-regmap.h" 27 /* Codec analog control register offsets and bit fields */ 178 -450, 150, 0); 184 static const DECLARE_TLV_DB_SCALE(sun50i_codec_hp_vol_scale, -6300, 100, 1); 188 2, 31, TLV_DB_SCALE_ITEM(-4350, 150, 0), [all …]
|
D | sun8i-codec-analog.c | 1 // 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> 17 #include <sound/soc-dapm.h> 20 #include "sun8i-adda-pr-regmap.h" 22 /* Codec analog control register offsets and bit fields */ 197 -450, 150, 0); 204 /* Mixer pre-gain */ 209 /* Microphone Amp boost gain */ 215 SOC_SINGLE_TLV("ADC Gain Capture Volume", SUN8I_ADDA_ADC_AP_EN, [all …]
|
/linux-6.12.1/drivers/media/i2c/ccs/ |
D | ccs-quirk.c | 1 // 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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/frequency/ |
D | adi,adrf6780.yaml | 1 # 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 …]
|
/linux-6.12.1/Documentation/sound/designs/ |
D | control-names.rst | 8 --------------- 63 Phone Input 68 Headset Mic mic part of combined headset jack - 4-pin 70 Headphone Mic mic part of either/or - 3-pin headphone or mic 71 Line input only, use "Line Out" for output 79 Analog Loopback D/A -> A/D loopback 80 Digital Loopback playback -> capture loopback - 81 without analog path 98 ----------------------- 102 [Analogue|Digital] Capture Switch aka input gain switch [all …]
|
/linux-6.12.1/drivers/iio/addac/ |
D | stx104.c | 1 // SPDX-License-Identifier: GPL-2.0-only 90 * struct stx104_iio - IIO device private data structure 92 * @aio_data_map: Regmap for analog I/O data 93 * @aio_ctl_map: Regmap for analog I/O control 211 err = regmap_read(priv->aio_ctl_map, STX104_ADC_CONFIGURATION, &adc_config); in stx104_read_raw() 218 if (chan->output) { in stx104_read_raw() 219 err = regmap_read(priv->aio_data_map, STX104_DAC_OFFSET(chan->channel), in stx104_read_raw() 227 mutex_lock(&priv->lock); in stx104_read_raw() 230 err = regmap_write(priv->aio_ctl_map, STX104_ADC_CHANNEL, in stx104_read_raw() 231 STX104_SINGLE_CHANNEL(chan->channel)); in stx104_read_raw() [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-bus-iio-adc-mcp3564 | 3 Contact: linux-iio@vger.kernel.org 5 This attribute is used to set the gain of the biasing current 6 circuit of the Delta-Sigma modulator. The different BOOST 12 Contact: linux-iio@vger.kernel.org 14 Reading returns a list with the possible gain values for 15 the current biasing circuit of the Delta-Sigma modulator. 19 Contact: linux-iio@vger.kernel.org 21 This attribute is used to enable the analog input multiplexer 22 auto-zeroing algorithm (the input multiplexer and the ADC 26 input as VIN+/VIN-, one with VIN+/VIN- inverted. In this case the [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/proximity/ |
D | semtech,sx9324.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Gwendal Grignou <gwendal@chromium.org> 11 - Daniel Campello <campello@chromium.org> 17 - $ref: /schemas/iio/iio.yaml# 32 vdd-supply: 35 svdd-supply: 38 "#io-channel-cells": 41 semtech,ph0-pin: [all …]
|
/linux-6.12.1/sound/pci/echoaudio/ |
D | echoaudio.h | 3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, 22 MA 02111-1307, USA. 26 Translation from C++ and adaptation for use in ALSA-Driver 34 +-----------+ 35 record | |<-------------------- Inputs 36 <-------| | | 39 ------->| | +-------+ 40 play | |--->|monitor|-------> Outputs 41 +-----------+ | mixer | [all …]
|
/linux-6.12.1/sound/pci/lola/ |
D | lola_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for Digigram Lola PCI-e boards 24 pin->nid = nid; in lola_init_pin() 27 dev_err(chip->card->dev, "Can't read wcaps for 0x%x\n", nid); in lola_init_pin() 32 pin->is_analog = false; in lola_init_pin() 34 pin->is_analog = true; in lola_init_pin() 36 pin->is_analog = true; in lola_init_pin() 38 dev_err(chip->card->dev, "Invalid wcaps 0x%x for 0x%x\n", val, nid); in lola_init_pin() 39 return -EINVAL; in lola_init_pin() 42 /* analog parameters only following, so continue in case of Digital pin in lola_init_pin() [all …]
|