Home
last modified time | relevance | path

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

123

/Linux-v6.6/include/linux/iio/adc/
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>
19 * struct ad_sigma_delta_calib_data - Calibration data for Sigma Delta devices
33 * struct ad_sigma_delta_info - Sigma Delta driver specific callbacks and options
41 * if there is just one read-only sample data shift register.
66 * struct ad_sigma_delta - Sigma Delta device struct
67 * @spi: The spi device associated with the Sigma Delta device.
68 * @trig: The IIO trigger associated with the Sigma Delta device.
70 * Most of the fields are private to the sigma delta library code and should not
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/iio/adc/
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 …]
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-channel-cells':
[all …]
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 …]
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 …]
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-v6.6/drivers/iio/adc/
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 …]
Dsd_adc_modulator.c1 // 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 …]
DKconfig1 # 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 …]
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 = device_get_match_data(&spi->dev); in max11205_probe()
[all …]
/Linux-v6.6/lib/
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-v6.6/drivers/clk/sunxi-ng/
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 …]
Dccu_nm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
7 #include <linux/clk-provider.h>
37 for (_n = nm->min_n; _n <= nm->max_n; _n++) { in ccu_nm_find_best()
38 for (_m = nm->min_m; _m <= nm->max_m; _m++) { in ccu_nm_find_best()
50 nm->n = best_n; in ccu_nm_find_best()
51 nm->m = best_m; in ccu_nm_find_best()
60 return ccu_gate_helper_disable(&nm->common, nm->enable); in ccu_nm_disable()
67 return ccu_gate_helper_enable(&nm->common, nm->enable); in ccu_nm_enable()
74 return ccu_gate_helper_is_enabled(&nm->common, nm->enable); in ccu_nm_is_enabled()
[all …]
/Linux-v6.6/kernel/bpf/
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-v6.6/drivers/gpu/drm/sprd/
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-v6.6/Documentation/devicetree/bindings/sound/
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>;
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 …]
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-v6.6/sound/soc/stm/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
45 for Sigma Delta Modulators (DFSDM) driver used
/Linux-v6.6/drivers/mtd/nand/raw/atmel/
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-v6.6/Documentation/admin-guide/media/
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-v6.6/sound/soc/codecs/
Dak5386.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Asahi Kasei AK5386 Single-ended 24-Bit 192kHz delta-sigma ADC
41 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_probe()
47 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_remove()
54 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_suspend()
61 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_resume()
85 struct snd_soc_component *component = codec_dai->component; in ak5386_set_dai_fmt()
90 dev_err(component->dev, "Invalid DAI format\n"); in ak5386_set_dai_fmt()
91 return -EINVAL; in ak5386_set_dai_fmt()
101 struct snd_soc_component *component = dai->component; in ak5386_hw_params()
[all …]
/Linux-v6.6/drivers/video/fbdev/omap2/omapfb/dss/
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 …]
/Linux-v6.6/drivers/gpu/drm/amd/display/include/
Dbios_parser_types.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
197 /* Input: Signal Type - to be converted to Encoder mode */
207 /* Output: If non-zero, this refDiv value should be used to calculate
210 /* Output: If non-zero, this postDiv value should be used to calculate
220 /* signal_type -> Encoder Mode - needed by VBIOS Exec table */
234 /* VBIOS returns a fixed display clock when DFS-bypass feature
289 /* 1 = delta-sigma type parameter; 0 = ver1 */
/Linux-v6.6/drivers/clk/ti/
Ddpll3xxx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * OMAP3/4 - specific DPLL control functions
5 * Copyright (C) 2009-2010 Texas Instruments, Inc.
6 * Copyright (C) 2009-2010 Nokia Corporation
46 /* _omap3_dpll_write_clken - write clken_bits arg to a DPLL's enable bits */
52 dd = clk->dpll_data; in _omap3_dpll_write_clken()
54 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in _omap3_dpll_write_clken()
55 v &= ~dd->enable_mask; in _omap3_dpll_write_clken()
56 v |= clken_bits << __ffs(dd->enable_mask); in _omap3_dpll_write_clken()
57 ti_clk_ll_ops->clk_writel(v, &dd->control_reg); in _omap3_dpll_write_clken()
[all …]

123