/linux-6.15/Documentation/devicetree/bindings/iio/adc/ |
D | adi,ad7124.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Stefan Popa <stefan.popa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-8.pdf 21 - adi,ad7124-4 22 - adi,ad7124-8 32 clock-names: 34 - const: mclk 40 rdy-gpios: [all …]
|
D | ti,ads1119.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com> 13 The TI ADS1119 is a precision 16-bit ADC over I2C that offers single-ended and 28 reset-gpios: 31 avdd-supply: true 32 dvdd-supply: true 34 vref-supply: 38 "#address-cells": [all …]
|
D | adc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: IIO Common Properties for ADC Channels 10 - Jonathan Cameron <jic23@kernel.org> 13 A few properties are defined in a common way ADC channels. 17 pattern: "^channel(@[0-9a-f]+)?$" 31 diff-channels: 32 $ref: /schemas/types.yaml#/definitions/uint32-array 43 the 'reg' property for both inputs (i.e. diff-channels = <reg reg>). [all …]
|
D | adi,ad4130.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Cosmin Tanislav <cosmin.tanislav@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/AD4130-8.pdf 20 - adi,ad4130 29 clock-names: 31 - const: mclk 36 interrupt-names: 42 - int [all …]
|
D | adi,ad7173.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Ceclan Dumitru <dumitru.ceclan@analog.com> 15 The AD717x family offer a complete integrated Sigma-Delta ADC solution which 18 (Factory Automation PLC Input modules). The Sigma-Delta ADC is intended 23 The AD411X family encompasses a series of low power, low noise, 24-bit, 24 sigma-delta analog-to-digital converters that offer a versatile range of 26 fully differential/single-ended and bipolar voltage inputs. 29 https://www.analog.com/media/en/technical-documentation/data-sheets/AD4111.pdf [all …]
|
D | st,stm32-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 STM32 ADC is a successive approximation analog-to-digital converter. 11 It has several multiplexed input channels. Conversions can be performed 13 stored in a left-aligned or right-aligned 32-bit data register. 17 voltage goes beyond the user-defined, higher or lower thresholds. 22 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 27 - st,stm32f4-adc-core [all …]
|
D | microchip,mcp3564.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marius Cristea <marius.cristea@microchip.com> 13 Bindings for the Microchip family of 153.6 ksps, Low-Noise 16/24-Bit 14 Delta-Sigma ADCs with an SPI interface. Datasheet can be found here: 16 …s/aemDocuments/documents/MSLD/ProductDocuments/DataSheets/MCP3561-2-4-Family-Data-Sheet-DS20006181… 18 …ds/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3561_2_4R-Data-Sheet-DS200006391C.pdf 20 …ProductDocuments/DataSheets/MCP3461-2-4-Two-Four-Eight-Channel-153.6-ksps-Low-Noise-16-Bit-Delta-S… 22 …/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3461-2-4R-Family-Data-Sheet-DS20006404… [all …]
|
D | adi,ad4851.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Sergiu Cuciurean <sergiu.cuciurean@analog.com> 12 - Dragos Bogdan <dragos.bogdan@analog.com> 13 - Antoniu Miclaus <antoniu.miclaus@analog.com> 16 Analog Devices AD485X fully buffered, 8-channel simultaneous sampling, 17 16/20-bit, 1 MSPS data acquisition system (DAS) with differential, wide 18 common-mode range inputs. 20 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4855.pdf [all …]
|
D | adi,max11410.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Ibrahim Tilki <Ibrahim.Tilki@analog.com> 21 - adi,max11410 30 interrupt-names: 34 - enum: [gpio0, gpio1] 35 - const: gpio1 37 '#address-cells': 40 '#size-cells': [all …]
|
D | adi,ad7606.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 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 18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-18.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7607.pdf [all …]
|
D | adi,ad7292.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 AD7292 10-Bit Monitor and Control System 10 - Marcelo Schmitt <marcelo.schmitt1@gmail.com> 13 Analog Devices AD7292 10-Bit Monitor and Control System with ADC, DACs, 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7292.pdf 22 - adi,ad7292 27 vref-supply: 31 spi-cpha: true [all …]
|
D | adi,ad7192.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Michael Hennerich <michael.hennerich@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7192.pdf 21 - adi,ad7190 22 - adi,ad7192 23 - adi,ad7193 24 - adi,ad7194 25 - adi,ad7195 [all …]
|
/linux-6.15/drivers/iio/adc/ |
D | ad7380.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * ad7380/1 : https://www.analog.com/media/en/technical-documentation/data-sheets/AD7380-7381.pdf 10 * ad7383/4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7383-7384.pdf 11 …* ad7386/7/8 : https://www.analog.com/media/en/technical-documentation/data-sheets/AD7386-7387-738… 12 * ad7380-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7380-4.pdf 13 * ad7381-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7381-4.pdf 14 …* ad7383/4-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7383-4-ad7384… 15 …* ad7386/7/8-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7386-4-7387… 16 * adaq4370-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/adaq4370-4.pdf 17 * adaq4380-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/adaq4380-4.pdf [all …]
|
D | stm32-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 12 #include <linux/dma-mapping.h> 16 #include <linux/iio/timer/stm32-lptim-trigger.h> 17 #include <linux/iio/timer/stm32-timer-trigger.h> 26 #include <linux/nvmem-consumer.h> 31 #include "stm32-adc-core.h" 39 #define STM32_ADC_CH_MAX 20 /* max number of channels */ 58 /* extsel - trigger mux selection value */ 84 STM32_ADC_INT_CH_NONE = -1, [all …]
|
D | ad4030.c | 1 // SPDX-License-Identifier: GPL-2.0-only 109 #define AD4030_TCYC_ADJUSTED_NS (AD4030_TCYC_NS - AD4030_TCNVL_NS) 112 #define AD4632_TCYC_ADJUSTED_NS (AD4632_TCYC_NS - AD4030_TCNVL_NS) 138 const struct iio_chan_spec channels[AD4030_MAX_IIO_CHANNEL_NB]; member 141 /* Number of hardware channels */ 166 s32 diff; member 170 s32 diff[2]; member 177 * For a chip with 2 hardware channel this will be used to create 2 common-mode 178 * channels: 179 * - voltage4 [all …]
|
/linux-6.15/include/linux/iio/ |
D | events.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* The industrial I/O - event passing to userspace 4 * Copyright (c) 2008-2011 Jonathan Cameron 13 * _IIO_EVENT_CODE() - create event identifier 15 * @diff: Whether the event is for an differential channel or not. 19 * @chan: Channel number for non-differential channels. 20 * @chan1: First channel number for differential channels. 21 * @chan2: Second channel number for differential channels. 27 #define _IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument 29 (((u64)type << 56) | ((u64)diff << 55) | \ [all …]
|
/linux-6.15/arch/arm64/boot/dts/freescale/ |
D | imx8mp-verdin-ivy.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/nxp-imx-8m-plus 8 * https://www.toradex.com/products/carrier-board/ivy-carrier-board 11 #include <dt-bindings/mux/mux.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/net/ti-dp83867.h> 17 ain1_voltage_unmanaged: voltage-divider-ain1 { 18 compatible = "voltage-divider"; 19 #io-channel-cells = <1>; 20 io-channels = <&ivy_adc1 0>; [all …]
|
D | imx8mm-verdin-ivy.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/nxp-imx-8m-mini-nano 8 * https://www.toradex.com/products/carrier-board/ivy-carrier-board 11 #include <dt-bindings/mux/mux.h> 12 #include <dt-bindings/leds/common.h> 16 ain1_voltage_unmanaged: voltage-divider-ain1 { 17 compatible = "voltage-divider"; 18 #io-channel-cells = <1>; 19 io-channels = <&ivy_adc1 0>; 20 full-ohms = <19>; [all …]
|
/linux-6.15/sound/core/ |
D | pcm_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Abramo Bagnara <abramo@alsa-project.org> 43 delta = new_ptr - ptr; in update_silence_vars() 47 delta += runtime->boundary; in update_silence_vars() 48 if ((snd_pcm_uframes_t)delta < runtime->silence_filled) in update_silence_vars() 49 runtime->silence_filled -= delta; in update_silence_vars() 51 runtime->silence_filled = 0; in update_silence_vars() 52 runtime->silence_start = new_ptr; in update_silence_vars() 57 * runtime->silence_start: starting pointer to silence area 58 * runtime->silence_filled: size filled with silence [all …]
|
/linux-6.15/tools/testing/selftests/alsa/ |
D | pcm-test.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include "alsa-local.h" 69 timestamp_t now, diff; in timestamp_diff_ms() local 71 if (tstamp->tv_nsec > now.tv_nsec) { in timestamp_diff_ms() 72 diff.tv_sec = now.tv_sec - tstamp->tv_sec - 1; in timestamp_diff_ms() 73 diff.tv_nsec = (now.tv_nsec + 1000000000L) - tstamp->tv_nsec; in timestamp_diff_ms() 75 diff.tv_sec = now.tv_sec - tstamp->tv_sec; in timestamp_diff_ms() 76 diff.tv_nsec = now.tv_nsec - tstamp->tv_nsec; in timestamp_diff_ms() 78 return (diff.tv_sec * 1000) + ((diff.tv_nsec + 500000L) / 1000000L); in timestamp_diff_ms() 92 return -1; in device_from_id() [all …]
|
/linux-6.15/arch/arm64/boot/dts/ti/ |
D | k3-am62-verdin-ivy.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 8 * https://www.toradex.com/products/carrier-board/ivy-carrier-board 11 #include <dt-bindings/mux/mux.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/net/ti-dp83867.h> 17 ain1_voltage_unmanaged: voltage-divider-ain1 { 18 compatible = "voltage-divider"; 19 #io-channel-cells = <1>; 20 io-channels = <&ivy_adc1 0>; [all …]
|
/linux-6.15/Documentation/devicetree/bindings/iio/proximity/ |
D | tyhx,hx9023s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Yasin Lee <yasin.lee.x@gmail.com> 29 vdd-supply: true 31 "#address-cells": 34 "#size-cells": 38 "^channel@[0-4]$": 50 - compatible 51 - reg [all …]
|
/linux-6.15/sound/soc/codecs/ |
D | pcm186x.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com 29 "avdd", /* Analog power supply. Connect to 3.3-V supply. */ 30 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 31 "iovdd", /* I/O power supply. Connect to 3.3-V or 1.8-V. */ 44 static const DECLARE_TLV_DB_SCALE(pcm186x_pga_tlv, -1200, 50, 0); 48 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 54 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 57 PCM186X_PGA_VAL_CH2_R, 0, -24, 80, 7, 0, 84 "{VIN1P, VIN1M}[DIFF]", [all …]
|
/linux-6.15/drivers/dma/ |
D | dmatest.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/dma-mapping.h> 44 "Maximum number of channels to use (default: all)"); 54 "dmatest 0-memcpy 1-memset (default: 0)"); 69 "Pass -1 for infinite timeout"); 83 static int alignment = -1; 85 …M_DESC(alignment, "Custom data address alignment taken as 2^(alignment) (default: not used (-1))"); 96 * struct dmatest_params - test parameters. 102 * @max_channels: maximum number of channels to use 106 * @timeout: transfer timeout in msec, -1 for infinite timeout [all …]
|
/linux-6.15/drivers/iio/proximity/ |
D | hx9023s.c | 1 // SPDX-License-Identifier: GPL-2.0 119 s16 diff; /* Difference of Low Pass Data and Base Line Data */ member 148 __le16 channels[HX9023S_CH_NUM]; member 314 return regmap_update_bits(data->regmap, HX9023S_INTERRUPT_CFG, in hx9023s_interrupt_enable() 320 return regmap_update_bits(data->regmap, HX9023S_INTERRUPT_CFG, in hx9023s_interrupt_disable() 327 return regmap_update_bits(data->regmap, in hx9023s_data_lock() 332 return regmap_update_bits(data->regmap, in hx9023s_data_lock() 348 ch_pos[i] = data->ch_data[i].channel_positive == HX9023S_NOT_CONNECTED ? in hx9023s_ch_cfg() 349 HX9023S_NOT_CONNECTED : conn_cs[data->ch_data[i].channel_positive]; in hx9023s_ch_cfg() 350 ch_neg[i] = data->ch_data[i].channel_negative == HX9023S_NOT_CONNECTED ? in hx9023s_ch_cfg() [all …]
|