| /kernel/linux/linux-5.10/include/linux/iio/adc/ |
| D | ad_sigma_delta.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Support code for Analog Devices Sigma-Delta ADCs 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 19 * struct ad_sigma_delta_calib_data - Calibration data for Sigma Delta devices 32 * struct ad_sigma_delta_info - Sigma Delta driver specific callbacks and options 38 * if there is just one read-only sample data shift register. 57 * struct ad_sigma_delta - Sigma Delta device struct 58 * @spi: The spi device associated with the Sigma Delta device. 59 * @trig: The IIO trigger associated with the Sigma Delta device. 61 * Most of the fields are private to the sigma delta library code and should not [all …]
|
| /kernel/linux/linux-6.6/include/linux/iio/adc/ |
| D | ad_sigma_delta.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Support code for Analog Devices Sigma-Delta ADCs 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 21 * struct ad_sigma_delta_calib_data - Calibration data for Sigma Delta devices 35 * struct ad_sigma_delta_info - Sigma Delta driver specific callbacks and options 43 * if there is just one read-only sample data shift register. 68 * struct ad_sigma_delta - Sigma Delta device struct 69 * @spi: The spi device associated with the Sigma Delta device. 70 * @trig: The IIO trigger associated with the Sigma Delta device. 72 * Most of the fields are private to the sigma delta library code and should not [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | st,stm32-dfsdm-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-dfsdm-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Fabrice Gasnier <fabrice.gasnier@st.com> 11 - Olivier Moysan <olivier.moysan@st.com> 14 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to 15 interface external sigma delta modulators to STM32 micro controllers. 17 - Sigma delta modulators (motor control, metering...) 18 - PDM microphones (audio digital microphone) [all …]
|
| D | sigma-delta-modulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/sigma-delta-modulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Device-Tree bindings for sigma delta modulator 10 - Arnaud Pouliquen <arnaud.pouliquen@st.com> 15 "sd-modulator" can be used as a generic SD modulator, 18 - sd-modulator 19 - ads1201 21 '#io-channel-cells': [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | st,stm32-dfsdm-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-dfsdm-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 11 - Olivier Moysan <olivier.moysan@foss.st.com> 14 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to 15 interface external sigma delta modulators to STM32 micro controllers. 17 - Sigma delta modulators (motor control, metering...) 18 - PDM microphones (audio digital microphone) [all …]
|
| D | sigma-delta-modulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/sigma-delta-modulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sigma delta modulator 10 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> 15 "sd-modulator" can be used as a generic SD modulator, 18 - sd-modulator 19 - ads1201 21 '#io-channel-cells': [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | ad_sigma_delta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Support code for Analog Devices Sigma-Delta ADCs 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 34 * ad_sd_set_comm() - Set communications register 36 * @sigma_delta: The sigma delta device 43 sigma_delta->comm = comm & AD_SD_COMM_CHAN_MASK; in ad_sd_set_comm() 48 * ad_sd_write_reg() - Write a register 50 * @sigma_delta: The sigma delta device 52 * @size: Size of the register (0-3) 60 uint8_t *data = sigma_delta->tx_buf; in ad_sd_write_reg() [all …]
|
| D | sd_adc_modulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Generic sigma delta modulator driver 5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 29 struct device *dev = &pdev->dev; in iio_sd_mod_probe() 34 return -ENOMEM; in iio_sd_mod_probe() 36 iio->name = dev_name(dev); in iio_sd_mod_probe() 37 iio->info = &iio_sd_mod_iio_info; in iio_sd_mod_probe() 38 iio->modes = INDIO_BUFFER_HARDWARE; in iio_sd_mod_probe() 40 iio->num_channels = 1; in iio_sd_mod_probe() 41 iio->channels = &iio_sd_mod_ch; in iio_sd_mod_probe() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 29 Say yes here to build support for Analog Devices AD7091R-5 ADC. 32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 100 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD an TI" 126 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 148 Say yes here to build support for Analog Devices AD7766, AD7766-1, 149 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters. [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | ad_sigma_delta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Support code for Analog Devices Sigma-Delta ADCs 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 35 * ad_sd_set_comm() - Set communications register 37 * @sigma_delta: The sigma delta device 44 sigma_delta->comm = comm & AD_SD_COMM_CHAN_MASK; in ad_sd_set_comm() 49 * ad_sd_write_reg() - Write a register 51 * @sigma_delta: The sigma delta device 53 * @size: Size of the register (0-3) 61 uint8_t *data = sigma_delta->tx_buf; in ad_sd_write_reg() [all …]
|
| D | sd_adc_modulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Generic sigma delta modulator driver 5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 29 struct device *dev = &pdev->dev; in iio_sd_mod_probe() 34 return -ENOMEM; in iio_sd_mod_probe() 36 iio->name = dev_name(dev); in iio_sd_mod_probe() 37 iio->info = &iio_sd_mod_iio_info; in iio_sd_mod_probe() 38 iio->modes = INDIO_BUFFER_HARDWARE; in iio_sd_mod_probe() 40 iio->num_channels = 1; in iio_sd_mod_probe() 41 iio->channels = &iio_sd_mod_ch; in iio_sd_mod_probe() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 33 Say yes here to build support for Analog Devices AD4130-8 SPI analog 44 Say yes here to build support for Analog Devices AD7091R-5 ADC. 47 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 51 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 126 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI" 152 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 163 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 174 Say yes here to build support for Analog Devices AD7766, AD7766-1, [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | ts_kmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lib/ts_kmp.c Knuth-Morris-Pratt text search implementation 9 * Implements a linear-time string-matching algorithm due to Knuth, 11 * computation of the transition function DELTA altogether. Its 15 * the transition function DELTA to be computed efficiently 17 * "q" = 0,1,...,m and any character "a" in SIGMA, the value 19 * is needed to compute DELTA("q", "a") [2]. Since the array PI 20 * has only m entries, whereas DELTA has O(m|SIGMA|) entries, we 21 * save a factor of |SIGMA| in the preprocessing time by computing 22 * PI rather than DELTA. [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | ts_kmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lib/ts_kmp.c Knuth-Morris-Pratt text search implementation 9 * Implements a linear-time string-matching algorithm due to Knuth, 11 * computation of the transition function DELTA altogether. Its 15 * the transition function DELTA to be computed efficiently 17 * "q" = 0,1,...,m and any character "a" in SIGMA, the value 19 * is needed to compute DELTA("q", "a") [2]. Since the array PI 20 * has only m entries, whereas DELTA has O(m|SIGMA|) entries, we 21 * save a factor of |SIGMA| in the preprocessing time by computing 22 * PI rather than DELTA. [all …]
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| D | tnum.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 const struct tnum tnum_unknown = { .value = 0, .mask = -1 }; 23 u64 chi = min ^ max, delta; in tnum_range() local 29 /* e.g. if chi = 4, bits = 3, delta = (1<<3) - 1 = 7. in tnum_range() 30 * if chi = 0, bits = 0, delta = (1<<0) - 1 = 0, so we return in tnum_range() 33 delta = (1ULL << bits) - 1; in tnum_range() 34 return TNUM(min & ~delta, delta); in tnum_range() 64 u64 sm, sv, sigma, chi, mu; in tnum_add() local 68 sigma = sm + sv; in tnum_add() 69 chi = sigma ^ sv; in tnum_add() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/sunxi-ng/ |
| D | ccu_sdm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org> 6 #include <linux/clk-provider.h> 15 if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) in ccu_sdm_helper_is_enabled() 18 if (sdm->enable && !(readl(common->base + common->reg) & sdm->enable)) in ccu_sdm_helper_is_enabled() 21 return !!(readl(common->base + sdm->tuning_reg) & sdm->tuning_enable); in ccu_sdm_helper_is_enabled() 32 if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) in ccu_sdm_helper_enable() 36 for (i = 0; i < sdm->table_size; i++) in ccu_sdm_helper_enable() 37 if (sdm->table[i].rate == rate) in ccu_sdm_helper_enable() 38 writel(sdm->table[i].pattern, in ccu_sdm_helper_enable() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/sunxi-ng/ |
| D | ccu_sdm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org> 6 #include <linux/clk-provider.h> 15 if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) in ccu_sdm_helper_is_enabled() 18 if (sdm->enable && !(readl(common->base + common->reg) & sdm->enable)) in ccu_sdm_helper_is_enabled() 21 return !!(readl(common->base + sdm->tuning_reg) & sdm->tuning_enable); in ccu_sdm_helper_is_enabled() 33 if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) in ccu_sdm_helper_enable() 37 for (i = 0; i < sdm->table_size; i++) in ccu_sdm_helper_enable() 38 if (sdm->table[i].rate == rate) in ccu_sdm_helper_enable() 39 writel(sdm->table[i].pattern, in ccu_sdm_helper_enable() [all …]
|
| /kernel/linux/linux-6.6/kernel/bpf/ |
| D | tnum.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 const struct tnum tnum_unknown = { .value = 0, .mask = -1 }; 23 u64 chi = min ^ max, delta; in tnum_range() local 29 /* e.g. if chi = 4, bits = 3, delta = (1<<3) - 1 = 7. in tnum_range() 30 * if chi = 0, bits = 0, delta = (1<<0) - 1 = 0, so we return in tnum_range() 33 delta = (1ULL << bits) - 1; in tnum_range() 34 return TNUM(min & ~delta, delta); in tnum_range() 64 u64 sm, sv, sigma, chi, mu; in tnum_add() local 68 sigma = sm + sv; in tnum_add() 69 chi = sigma ^ sv; in tnum_add() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/sprd/ |
| D | sprd_dsi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 68 u8 refin; /* Pre-divider control signal */ 78 u32 nint; /* sigma delta modulator NINT control */ 79 u32 kint; /* sigma delta modulator KINT control */ 106 /* maximum time (ns) for BTA operation - REQUIRED */ 108 /* enable receiving frame ack packets - for video mode */ 110 /* enable receiving tear effect ack packets - for cmd mode */
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | ak5558.txt | 1 AK5558 8 channel differential 32-bit delta-sigma ADC 7 - compatible : "asahi-kasei,ak5558" 8 - reg : The I2C address of the device. 12 - reset-gpios: A GPIO specifier for the power down & reset pin. 13 - AVDD-supply: Analog power supply 14 - DVDD-supply: Digital power supply 20 compatible = "asahi-kasei,ak5558"; 22 reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
|
| D | ak5386.txt | 1 AK5386 Single-ended 24-Bit 192kHz delta-sigma ADC 7 - compatible : "asahi-kasei,ak5386" 11 - reset-gpio : a GPIO spec for the reset/power down pin. 13 - va-supply : a regulator spec, providing 5.0V 14 - vd-supply : a regulator spec, providing 3.3V 19 compatible = "asahi-kasei,ak5386"; 20 reset-gpio = <&gpio0 23>; 21 va-supply = <&vdd_5v0_reg>; 22 vd-supply = <&vdd_3v3_reg>;
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | ak5386.txt | 1 AK5386 Single-ended 24-Bit 192kHz delta-sigma ADC 7 - compatible : "asahi-kasei,ak5386" 11 - reset-gpio : a GPIO spec for the reset/power down pin. 13 - va-supply : a regulator spec, providing 5.0V 14 - vd-supply : a regulator spec, providing 3.3V 19 compatible = "asahi-kasei,ak5386"; 20 reset-gpio = <&gpio0 23>; 21 va-supply = <&vdd_5v0_reg>; 22 vd-supply = <&vdd_3v3_reg>;
|
| D | asahi-kasei,ak5558.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/sound/asahi-kasei,ak5558.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AK5558 8 channel differential 32-bit delta-sigma ADC 10 - Junichi Wakasugi <wakasugi.jb@om.asahi-kasei.co.jp> 11 - Mihai Serban <mihai.serban@nxp.com> 16 - asahi-kasei,ak5552 17 - asahi-kasei,ak5558 22 avdd-supply: [all …]
|
| /kernel/linux/linux-5.10/sound/soc/stm/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 44 for Sigma Delta Modulators (DFSDM) driver used
|
| /kernel/linux/linux-6.6/sound/soc/stm/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 45 for Sigma Delta Modulators (DFSDM) driver used
|