/linux/Documentation/devicetree/bindings/trigger-source/ |
H A D | adi,util-sigma-delta-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 6 --- 7 $id: http://devicetree.org/schemas/trigger-source/adi,util-sigma-delta-spi.yaml# 8 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 title: Analog Devices Util Sigma-Delta SPI IP Core 13 - David Lechner <dlechner@baylibre.com> 16 The Util Sigma-Delta SPI is an FPGA IP core from Analog Devices that provides 18 the sigma-delta family of ADCs. 23 const: adi,util-sigma-delta-spi 31 '#trigger-source-cells': [all …]
|
/linux/include/linux/iio/adc/ |
H A 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 38 * struct ad_sigma_delta_info - Sigma Delta driver specific callbacks and options 50 * if there is just one read-only sample data shift register. 85 * struct ad_sigma_delta - Sigma Delta device struct 86 * @spi: The spi device associated with the Sigma Delta device. 87 * @trig: The IIO trigger associated with the Sigma Delta device. 89 * Most of the fields are private to the sigma delta library code and should not [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A 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 …]
|
H A 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-backend-cells': [all …]
|
H A 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 …]
|
H A D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 15 voltage. The VADC is a 15-bit sigma-delta ADC. 17 voltage. The VADC is a 16-bit sigma-delta ADC. 22 - items: 23 - const: qcom,pms405-adc [all …]
|
H A 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/drivers/spi/ |
H A D | spi-offload-trigger-adi-util-sigma-delta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 struct device *dev = &pdev->dev; in adi_util_sigma_delta_probe() 43 { .compatible = "adi,util-sigma-delta-spi", }, 51 .name = "adi-util-sigma-delta-spi", 58 MODULE_DESCRIPTION("ADI Sigma-Delta SPI offload trigger utility driver");
|
/linux/lib/ |
H A 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 …]
|
/linux/drivers/iio/adc/ |
H A 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> 31 #include <linux/iio/buffer-dmaengine.h> 47 * ad_sd_set_comm() - Set communications register 49 * @sigma_delta: The sigma delta device 56 sigma_delta->comm = comm & AD_SD_COMM_CHAN_MASK; in ad_sd_set_comm() 61 * ad_sd_write_reg() - Write a register 63 * @sigma_delta: The sigma delta device 65 * @size: Size of the register (0-3) [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 bool "ST-Ericsson AB8500 GPADC driver" 67 high speed, low noise, low distortion, 20-bit, Easy Drive, 68 successive approximation register (SAR) analog-to-digital 83 Say yes here to build support for Analog Devices AD4130-8 SPI analog 91 tristate "Analog Device AD4170-4 ADC Driver" 99 Say yes here to build support for Analog Devices AD4170-4 SPI analog 103 called ad4170-4. 143 Say yes here to build support for Analog Devices AD7091R-5 ADC. 151 Say yes here to build support for Analog Devices AD7091R-2, AD7091R-4, [all …]
|
H A 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 39 if (priv->vref) in iio_sd_mod_enable() 40 return regulator_enable(priv->vref); in iio_sd_mod_enable() 49 if (priv->vref) in iio_sd_mod_disable() 50 regulator_disable(priv->vref); in iio_sd_mod_disable() 60 *val = priv->vref_mv; in iio_sd_mod_read() 68 return -EOPNOTSUPP; in iio_sd_mod_read() 78 .name = "sd-modulator", [all …]
|
H A D | max11205.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Maxim MAX11205 16-Bit Delta-Sigma ADC 5 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX1240-max11205.pdf 53 reg_mv = regulator_get_voltage(st->vref); in max11205_read_raw() 61 *val = st->chip_info->out_data_rate; in max11205_read_raw() 64 return -EINVAL; in max11205_read_raw() 111 indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st)); in max11205_probe() 113 return -ENOMEM; in max11205_probe() 117 ad_sd_init(&st->sd, indio_dev, spi, &max11205_sigma_delta_info); in max11205_probe() 119 st->chip_info = spi_get_device_match_data(spi); in max11205_probe() [all …]
|
/linux/kernel/bpf/ |
H A 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 …]
|
/linux/drivers/clk/sunxi-ng/ |
H A 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 …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-adc-mcp3564 | 3 Contact: linux-iio@vger.kernel.org 6 circuit of the Delta-Sigma modulator. The different BOOST 12 Contact: linux-iio@vger.kernel.org 15 the current biasing circuit of the Delta-Sigma modulator. 19 Contact: linux-iio@vger.kernel.org 22 auto-zeroing algorithm (the input multiplexer and the ADC 26 input as VIN+/VIN-, one with VIN+/VIN- inverted. In this case the 30 ultra-low offset without any digital calibration. The resulting 39 Contact: linux-iio@vger.kernel.org 48 limitation, the buffer includes an auto-zeroing algorithm that
|
/linux/drivers/gpu/drm/sprd/ |
H A 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 */
|
/linux/Documentation/devicetree/bindings/sound/ |
H A 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>;
|
H A 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 …]
|
H A D | nvidia,tegra186-dspk.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra186-dspk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 Density Modulation (PDM) transmitter that up-samples the input to 13 over sampled Pulse Code Modulation (PCM) input to the desired 1-bit 14 output via Delta Sigma Modulation (DSM). 17 - Jon Hunter <jonathanh@nvidia.com> 18 - Sameer Pujar <spujar@nvidia.com> 21 - $ref: dai-common.yaml# [all …]
|
/linux/sound/soc/stm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 45 for Sigma Delta Modulators (DFSDM) driver used
|
/linux/Documentation/admin-guide/media/ |
H A D | bttv-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 .. flat-table:: 9 :header-rows: 1 11 :stub-columns: 0 13 * - Card number 14 - Card name 15 - PCI subsystem IDs 17 * - 0 18 - *** UNKNOWN/GENERIC *** 19 - [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | thead,th1520-clk-ap.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/clock/thead,th1520-clk-ap.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: T-HEAD TH1520 AP sub-system clock controller 10 The T-HEAD TH1520 AP sub-system clock controller configures the 15 …https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manua… 18 - Jisheng Zhang <jszhang@kernel.org> 19 - Wei Fu <wefu@redhat.com> 20 - Drew Fustini <dfustini@tenstorrent.com> [all …]
|
/linux/sound/soc/codecs/ |
H A D | ak5386.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Asahi Kasei AK5386 Single-ended 24-Bit 192kHz delta-sigma ADC 42 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_probe() 48 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_remove() 55 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_suspend() 62 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_resume() 86 struct snd_soc_component *component = codec_dai->component; in ak5386_set_dai_fmt() 91 dev_err(component->dev, "Invalid DAI format\n"); in ak5386_set_dai_fmt() 92 return -EINVAL; in ak5386_set_dai_fmt() 102 struct snd_soc_component *component = dai->component; in ak5386_hw_params() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | hdmi_pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #define DUMPPLL(r) seq_printf(s, "%-35s %08x\n", #r,\ in hdmi_pll_dump() 26 hdmi_read_reg(pll->base, r)) in hdmi_pll_dump() 47 const struct dss_pll_hw *hw = pll->pll.hw; in hdmi_pll_compute() 49 clkin = clk_get_rate(pll->pll.clkin); in hdmi_pll_compute() 56 n = DIV_ROUND_UP(clkin, hw->fint_max); in hdmi_pll_compute() 60 min_dco = roundup(hw->clkdco_min, fint); in hdmi_pll_compute() 71 if (WARN_ON(target_clkdco - clkdco > fint)) in hdmi_pll_compute() 74 mf = (u32)div_u64(262144ull * (target_clkdco - clkdco), fint); in hdmi_pll_compute() 81 /* sigma-delta */ in hdmi_pll_compute() [all …]
|