/linux/include/dt-bindings/pinctrl/ |
H A D | qcom,pmic-mpp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Multi-Purpose Pin binding. 10 /* power-source */ 12 /* Digital Input/Output: level [PM8058] */ 18 /* Digital Input/Output: level [PM8901] */ 25 /* Digital Input/Output: level [PM8921] */ 31 /* Digital Input/Output: level [PM8821] */ 35 /* Digital Input/Output: level [PM8018] */ 44 /* Digital Input/Output: level [PM8038] */ 70 /* Only supported for MPP_05-MPP_08 */ [all …]
|
/linux/sound/soc/codecs/ |
H A D | ak4619.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ak4619.c -- Asahi Kasei ALSA SoC Audio driver 40 #define ADC_AI 0x0b /* ADC Analog Input Setting */ 47 #define DAC_DEMP 0x13 /* DAC De-Emphasis Setting */ 99 /* Analog Input Select */ 126 /* DAC De-Emphasis Setting */ 165 * min : 0xFE : -115.0 dB 168 static const DECLARE_TLV_DB_SCALE(dac_tlv, -11550, 50, 1); 175 * min: 0x00 : -6.0 dB 177 static const DECLARE_TLV_DB_SCALE(mic_tlv, -600, 300, 0); [all …]
|
H A 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); 168 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */ 169 static DECLARE_TLV_DB_SCALE(dre_thresh_tlv, -6600, 100, 0); [all …]
|
H A D | tscs42xx.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // tscs42xx.c -- TSCS42xx ALSA SoC Audio driver 19 #include <sound/soc-dapm.h> 108 dev_err(component->dev, in plls_locked() 115 } while (count--); in plls_locked() 135 return -EINVAL; in sample_rate_to_pll_freq_out() 153 dev_err(component->dev, in write_coeff_ram() 162 ret = -EIO; in write_coeff_ram() 163 dev_err(component->dev, in write_coeff_ram() 168 ret = regmap_write(tscs42xx->regmap, R_DACCRADDR, addr); in write_coeff_ram() [all …]
|
H A D | stac9766.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * stac9766.c -- ALSA SoC STAC9766 codec support 8 * Features:- 84 static const char *stac9766_record_all_mux[] = {"All analog", 85 "Analog plus DAC"}; 110 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(master_tlv, -4650, 150, 0); 112 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(beep_tlv, -4500, 300, 0); 113 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(mix_tlv, -3450, 150, 0); 167 struct snd_soc_component *component = dai->component; in ac97_analog_prepare() 168 struct snd_pcm_runtime *runtime = substream->runtime; in ac97_analog_prepare() [all …]
|
H A 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"}; 86 SOC_SINGLE_TLV("ALC Target Level", ML26124_ALC_TARGET_LEV, 0, 123 static const char * const ml26124_input_select[] = {"Analog MIC SingleEnded in", [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 tristate "OPA362 external analog amplifier" 8 Driver for OPA362 external analog TV amplifier controlled 17 tristate "TPD12S015 HDMI ESD protection and level shifter" 19 Driver for TPD12S015, which offers HDMI ESD protection and level 34 tristate "Analog TV Connector" 36 Driver for a generic analog TV connector.
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | adi,ad7606.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD7606 Simultaneous Sampling ADC 10 - Michael Hennerich <michael.hennerich@analog.com> 13 Analog Devices AD7606 Simultaneous Sampling ADC 14 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7605-4.pdf 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-16.pdf [all …]
|
/linux/Documentation/sound/designs/ |
H A D | timestamping.rst | 7 - Trigger_tstamp is the system time snapshot taken when the .trigger 11 estimate with a delay. In the latter two cases, the low-level driver 17 - tstamp is the current system timestamp updated during the last 19 The difference (tstamp - trigger_tstamp) defines the elapsed time. 29 - ``avail`` reports how much can be written in the ring buffer 30 - ``delay`` reports the time it will take to hear a new sample after all 43 ascii-art, this could be represented as follows (for the playback 47 --------------------------------------------------------------> time 50 analog link dma app FullBuffer 53 |< codec delay >|<--hw delay-->|<queued samples>|<---avail->| [all …]
|
/linux/Documentation/hwmon/ |
H A D | twl4030-madc-hwmon.rst | 1 Kernel driver twl4030-madc 8 Prefix: 'twl4030-madc' 12 J Keerthy <j-keerthy@ti.com> 15 ----------- 18 other things it contains a 10-bit A/D converter MADC. The converter has 16 29 2 GP analog input 30 3 GP analog input 31 4 GP analog input 32 5 GP analog input 33 6 GP analog input [all …]
|
/linux/Documentation/sound/cards/ |
H A D | maya44.rst | 8 keep here as reference -- tiwai 22 … programming information, so I (Rainer Zimmermann) had to find out some card-specific information … 24 This is the first testing version of the Maya44 driver released to the alsa-devel mailing list (Feb… 29 - playback and capture at all sampling rates 30 - input/output level 31 - crossmixing 32 - line/mic switch 33 - phantom power switch 34 - analogue monitor a.k.a bypass 39 - Channel 3+4 analogue - S/PDIF input switching [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | adi,adm1177.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 ADM1177 Hot Swap Controller and Digital Power Monitor 10 - Michael Hennerich <michael.hennerich@analog.com> 13 Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf 19 - adi,adm1177 24 avcc-supply: 28 shunt-resistor-micro-ohms: [all …]
|
H A D | adi,ltc2947.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 LTC2947 high precision power and energy monitor 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2947 high precision power and energy monitor over SPI or I2C. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 20 - adi,ltc2947 33 adi,accumulator-ctl-pol: 41 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
/linux/Documentation/devicetree/bindings/iio/accel/ |
H A D | adi,adxl367.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 ADXL367 3-Axis Digital Accelerometer 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The ADXL367 is an ultralow power, 3-axis MEMS accelerometer. 17 data rates. Measurement ranges of +-2g, +-4g, and +-8g are available, 18 with a resolution of 0.25mg/LSB on the +-2 g range. 21 has many features to enable true system level power reduction. 22 It includes a deep multimode output FIFO, a built-in micropower [all …]
|
/linux/drivers/net/phy/ |
H A D | adin1100.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Driver for Analog Devices Industrial Ethernet T1L PHYs 5 * Copyright 2020 Analog Devices Inc. 65 * struct adin_priv - ADIN PHY driver private data 66 * @tx_level_2v4_able: set if the PHY supports 2.4V TX levels (10BASE-T1L) 67 * @tx_level_2v4: set if the PHY requests 2.4V TX levels (10BASE-T1L) 68 * @tx_level_prop_present: set if the TX level is specified in DT 89 phydev->master_slave_state = MASTER_SLAVE_STATE_SLAVE; in adin_read_status() 92 phydev->master_slave_state = MASTER_SLAVE_STATE_MASTER; in adin_read_status() 99 struct adin_priv *priv = phydev->priv; in adin_config_aneg() [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | microchip,pic32-pinctrl.txt | 3 Please refer to pinctrl-bindings.txt, ../gpio/gpio.txt, and 4 ../interrupt-controller/interrupts.txt for generic information regarding 12 - compatible: "microchip,pic32mada-pinctrl" 13 - reg: Address range of the pinctrl registers. 14 - clocks: Clock specifier (see clock bindings for details) 16 Required properties for pin configuration sub-nodes: 17 - pins: List of pins to which the configuration applies. 19 Optional properties for pin configuration sub-nodes: 20 ---------------------------------------------------- 21 - function: Mux function for the specified pins. [all …]
|
H A D | qcom,pmic-mpp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,pmic-mpp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PMIC Multi-Purpose Pin (MPP) block 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 19 - items: 20 - enum: 21 - qcom,pm8019-mpp 22 - qcom,pm8226-mpp [all …]
|
/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ltc2672.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 LTC2672 DAC 10 - Michael Hennerich <michael.hennerich@analog.com> 11 - Kim Seer Paller <kimseer.paller@analog.com> 14 Analog Devices LTC2672 5 channel, 12-/16-Bit, 300mA DAC 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2672.pdf 20 - adi,ltc2672 25 spi-max-frequency: [all …]
|
/linux/sound/pcmcia/vx/ |
H A D | vxpocket.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 22 int mic_level; /* analog mic level (or boost) */ 38 void vx_set_mic_level(struct vx_core *chip, int level); 46 #define VXP_CDSP_DATAIN_SEL_MASK 0x40 /* 0 (analog), 1 (UER) */
|
/linux/include/uapi/linux/ |
H A D | comedi.h | 1 /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */ 6 * COMEDI - Linux Control and Measurement Device Interface 7 * Copyright (C) 1998-2001 David A. Schleef <ds@schleef.org> 32 * NOTE: 'comedi_config --init-data' is deprecated 40 /* length of nth chunk of firmware data -*/ 73 #define AREF_GROUND 0x00 /* analog ref = analog ground */ 74 #define AREF_COMMON 0x01 /* analog ref = analog common */ 75 #define AREF_DIFF 0x02 /* analog ref = differential */ 76 #define AREF_OTHER 0x03 /* analog ref = other (undefined) */ 78 /* counters -- these are arbitrary values */ [all …]
|
/linux/include/sound/ |
H A D | max98088.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 32 * 1 = LINE level output 36 /* Analog/digital microphone configuration: 37 * 0 = analog microphone input (normal setting)
|
/linux/drivers/comedi/drivers/ |
H A D | dt2815.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * COMEDI - Linux Control and Measurement Device Interface 20 * [0] - I/O port base base address 21 * [1] - IRQ (unused) 22 * [2] - Voltage unipolar/bipolar configuration 23 * 0 == unipolar 5V (0V -- +5V) 24 * 1 == bipolar 5V (-5V -- +5V) 25 * [3] - Current offset configuration 26 * 0 == disabled (0mA -- +32mAV) 27 * 1 == enabled (+4mA -- +20mAV) [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar5008_phy.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 18 #include "hw-ops.h" 91 struct ar5416IniArray *array = &ah->iniBank6; in ar5008_write_bank6() 92 u32 *data = ah->analogBank6Data; in ar5008_write_bank6() 97 for (r = 0; r < array->ia_rows; r++) { in ar5008_write_bank6() 106 * ar5008_hw_phy_modify_rx_buffer() - perform analog swizzling of parameters 108 * Performs analog "swizzling" of parameters into their location. 119 arrayEntry = (firstBit - 1) / 8; in ar5008_hw_phy_modify_rx_buffer() 120 bitPosition = (firstBit - 1) % 8; in ar5008_hw_phy_modify_rx_buffer() 125 mask = (((1 << lastBit) - 1) ^ ((1 << bitPosition) - 1)) << in ar5008_hw_phy_modify_rx_buffer() [all …]
|
/linux/sound/soc/sunxi/ |
H A 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 …]
|
/linux/drivers/media/pci/cx88/ |
H A D | cx88-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * cx88-i2c.c -- all the i2c code is here 7 * Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de) 8 * & Marcus Metzler (mocm@thp.uni-koeln.de) 10 * (c) 1999-2003 Gerd Knorr <kraxel@bytesex.org> 12 * - Multituner support and i2c address binding 21 #include <media/v4l2-common.h> 36 #define dprintk(level, fmt, arg...) do { \ argument 37 if (i2c_debug >= level) \ 42 /* ----------------------------------------------------------------------- */ [all …]
|