Home
last modified time | relevance | path

Searched +full:sigma +full:- +full:delta (Results 1 – 25 of 64) sorted by relevance

123

/linux/include/linux/iio/adc/
H A Dad_sigma_delta.h1 /* 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
47 * if there is just one read-only sample data shift register.
55 * @irq_line: IRQ for reading conversions. If 0, spi->irq will be used
75 * struct ad_sigma_delta - Sigma Delta device struct
76 * @spi: The spi device associated with the Sigma Delta device.
77 * @trig: The IIO trigger associated with the Sigma Delta device.
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dst,stm32-dfsdm-adc.yaml1 # 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 Dsigma-delta-modulator.yaml1 # 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 Dmicrochip,mcp3564.yaml1 # 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 Dadi,ad7173.yaml1 # 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 …]
H A Dqcom,spmi-vadc.yaml1 # 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 Dadi,ad7780.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
13 The ad7780 is a sigma-delta analog to digital converter. This driver provides
20 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7170.pdf
22 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7171.pdf
24 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7780.pdf
26 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7781.pdf
31 - adi,ad7170
[all …]
H A Dti,ads131e08.yaml1 # 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/iio/adc/
H A Dad_sigma_delta.c1 // 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 …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
45 Say yes here to build support for Analog Devices AD4130-8 SPI analog
73 Say yes here to build support for Analog Devices AD7091R-5 ADC.
81 Say yes here to build support for Analog Devices AD7091R-2, AD7091R-4,
82 and AD7091R-8 ADC.
88 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
92 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
107 - AD7172-2
108 - AD7173-8
[all …]
H A Dsd_adc_modulator.c1 // 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 Dmax11205.c1 // 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/lib/
H A Dts_kmp.c1 // 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/clk/sunxi-ng/
H A Dccu_sdm.c1 // 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/kernel/bpf/
H A Dtnum.c1 // 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/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-mcp35643 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 Dsprd_dsi.h1 /* 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 Dak5386.txt1 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 Dasahi-kasei,ak5558.yaml1 # 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 Dnvidia,tegra186-dspk.yaml1 # 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 DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
45 for Sigma Delta Modulators (DFSDM) driver used
/linux/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c1 // SPDX-License-Identifier: GPL-2.0
6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com>
22 * Derived from Das U-Boot source code
23 * (u-boot-1.1.5/board/atmel/at91sam9263ek/nand.c)
37 * sub-section.
41 * to expose the needed lib/bch.c helpers/functions and re-use them here.
75 #define PMECC_CFG_NSECTORS(x) ((fls(x) - 1) << 8)
178 s32 *delta; member
188 /* polynomial degree is the most-significant bit index */ in deg()
189 return fls(poly) - 1; in deg()
[all …]
/linux/Documentation/admin-guide/media/
H A Dbttv-cardlist.rst1 .. 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/sound/soc/codecs/
H A Dak5386.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Asahi Kasei AK5386 Single-ended 24-Bit 192kHz delta-sigma ADC
40 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_probe()
46 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_remove()
53 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_suspend()
60 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_resume()
84 struct snd_soc_component *component = codec_dai->component; in ak5386_set_dai_fmt()
89 dev_err(component->dev, "Invalid DAI format\n"); in ak5386_set_dai_fmt()
90 return -EINVAL; in ak5386_set_dai_fmt()
100 struct snd_soc_component *component = dai->component; in ak5386_hw_params()
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_pll.c1 // 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 …]

123