/linux-6.14.4/drivers/iio/adc/ |
D | sd_adc_modulator.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 9 #include <linux/iio/backend.h> 10 #include <linux/iio/iio.h> 11 #include <linux/iio/triggered_buffer.h> 35 static int iio_sd_mod_enable(struct iio_backend *backend) in iio_sd_mod_enable() argument 37 struct iio_sd_backend_priv *priv = iio_backend_get_priv(backend); in iio_sd_mod_enable() 39 if (priv->vref) in iio_sd_mod_enable() 40 return regulator_enable(priv->vref); in iio_sd_mod_enable() 45 static void iio_sd_mod_disable(struct iio_backend *backend) in iio_sd_mod_disable() argument [all …]
|
D | stm32-dfsdm-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 10 #include <linux/dma-mapping.h> 11 #include <linux/iio/adc/stm32-dfsdm-adc.h> 12 #include <linux/iio/backend.h> 13 #include <linux/iio/buffer.h> 14 #include <linux/iio/hw-consumer.h> 15 #include <linux/iio/sysfs.h> 16 #include <linux/iio/timer/stm32-lptim-trigger.h> 17 #include <linux/iio/timer/stm32-timer-trigger.h> [all …]
|
D | ad7606_par.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2011 - 2024 Analog Devices Inc. 18 #include <linux/iio/backend.h> 19 #include <linux/iio/iio.h> 39 for (c = 0; c < indio_dev->num_channels; c++) { in ad7606_bi_update_scan_mode() 41 ret = iio_backend_chan_enable(st->back, c); in ad7606_bi_update_scan_mode() 43 ret = iio_backend_chan_disable(st->back, c); in ad7606_bi_update_scan_mode() 60 st->back = devm_iio_backend_get(dev, NULL); in ad7606_bi_setup_iio_backend() 61 if (IS_ERR(st->back)) in ad7606_bi_setup_iio_backend() 62 return PTR_ERR(st->back); in ad7606_bi_setup_iio_backend() [all …]
|
D | ad7606.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include <linux/iio/backend.h> 25 #include <linux/iio/buffer.h> 26 #include <linux/iio/iio.h> 27 #include <linux/iio/sysfs.h> 28 #include <linux/iio/trigger.h> 29 #include <linux/iio/triggered_buffer.h> 30 #include <linux/iio/trigger_consumer.h> 152 * -SER/PAR 153 * -SEQEN [all …]
|
D | adi-axi-adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2012-2020 Analog Devices Inc. 23 #include <linux/fpga/adi-axi-common.h> 25 #include <linux/iio/backend.h> 26 #include <linux/iio/buffer-dmaengine.h> 27 #include <linux/iio/buffer.h> 28 #include <linux/iio/iio.h> 96 guard(mutex)(&st->lock); in axi_adc_enable() 97 ret = regmap_set_bits(st->regmap, ADI_AXI_REG_RSTN, in axi_adc_enable() 107 ret = regmap_read_poll_timeout(st->regmap, ADI_AXI_ADC_REG_DRP_STATUS, in axi_adc_enable() [all …]
|
D | ad7625.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 9 * LVDS to function. See Documentation/iio/ad7625.rst for more 17 #include <linux/iio/backend.h> 18 #include <linux/iio/iio.h> 47 /* AD7625_CHAN_SPEC - Define a chan spec structure for a specific chip */ 75 * Waveforms containing the last-requested and rounded 85 * EN2 controls the device -3dB bandwidth (and by extension, max 189 cnv_wf.duty_length_ns = st->info->timing_spec->conv_high_ns; in ad7625_set_sampling_freq() 191 ret = pwm_round_waveform_might_sleep(st->cnv_pwm, &cnv_wf); in ad7625_set_sampling_freq() 202 st->info->chan_spec.scan_type.realbits, in ad7625_set_sampling_freq() [all …]
|
D | ad9467.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2020 Analog Devices Inc. 25 #include <linux/iio/backend.h> 26 #include <linux/iio/iio.h> 27 #include <linux/iio/sysfs.h> 32 * ADI High-Speed ADC common spi interface registers 33 * See Application-Note AN-877: 34 * https://www.analog.com/media/en/technical-documentation/application-notes/AN-877.pdf 85 * Analog Devices AD9265 16-Bit, 125/105/80 MSPS ADC 93 * Analog Devices AD9434 12-Bit, 370/500 MSPS ADC [all …]
|
/linux-6.14.4/drivers/iio/ |
D | industrialio-backend.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Framework to handle complex IIO aggregate devices. 6 * can be "linked" against one or multiple backend devices. All the IIO and 11 * ------------------------------------------------------- 12 * ------------------ | ------------ ------------ ------- FPGA| 13 * | ADC |------------------------| | ADC CORE |---------| DMA CORE |------| RAM | | 14 * | (Frontend/IIO) | Serial Data (eg: LVDS) | |(backend) |---------| |------| | | 15 * | |------------------------| ------------ ------------ ------- | 16 * ------------------ ------------------------------------------------------- 19 * - Backends should register themselves with devm_iio_backend_register() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 menuconfig IIO config 13 if IIO 16 bool "Enable buffer support within IIO" 23 source "drivers/iio/buffer/Kconfig" 27 tristate "Enable IIO configuration via configfs" 30 This allows configuring various IIO bits through configfs 32 Documentation/iio/iio_configfs.rst. 40 Provides IIO core support for triggers. Currently these 54 tristate "Enable software IIO device support" [all …]
|
/linux-6.14.4/Documentation/iio/ |
D | ad7606.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 24 ---------------- 30 -------------------- 34 platform in the device tree (with no io-backends node defined, see below). 36 IIO-backend mode 37 ---------------- 41 The backend mode is enabled when through the definition of the "io-backends" 44 The reference configuration for the current implementation of IIO-backend mode 46 https://wiki.analog.com/resources/eval/user-guides/ad7606x-fmc/hdl 48 This implementation embeds an IIO-backend compatible IP (adi-axi-adc) and a PWM [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/iio/adc/ |
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# 10 - Arnaud Pouliquen <[email protected]> 15 "sd-modulator" can be used as a generic SD modulator, 18 - sd-modulator 19 - ads1201 21 '#io-backend-cells': 24 '#io-channel-cells': [all …]
|
D | adi,axi-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/adi,axi-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <[email protected]> 18 to the data-lines of the ADC and handle the streaming of data into 26 - adi,axi-adc-10.0.a 37 dma-names: 39 - const: rx 41 adi,adc-dev: [all …]
|
D | adi,ad7606.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7606.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <[email protected]> 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 [all …]
|
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 <[email protected]> 11 - Olivier Moysan <[email protected]> 14 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to 17 - Sigma delta modulators (motor control, metering...) 18 - PDM microphones (audio digital microphone) 28 - st,stm32h7-dfsdm [all …]
|
D | adi,ad7625.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7625.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <[email protected]> 11 - Nuno Sá <[email protected]> 24 - adi,ad7625 25 - adi,ad7626 26 - adi,ad7960 27 - adi,ad7961 [all …]
|
/linux-6.14.4/Documentation/ABI/testing/ |
D | debugfs-iio-backend | 1 What: /sys/kernel/debug/iio/iio:deviceX/backendY/name 3 Contact: linux-iio@vger.kernel.org 5 Name of Backend Y connected to device X. 7 What: /sys/kernel/debug/iio/iio:deviceX/backendY/direct_reg_access 9 Contact: linux-iio@vger.kernel.org 11 Directly access the registers of backend Y. Typical usage is:
|
D | debugfs-iio-ad9467 | 1 What: /sys/kernel/debug/iio/iio:deviceX/calibration_table_dump 3 Contact: linux-iio@vger.kernel.org 8 What: /sys/kernel/debug/iio/iio:deviceX/in_voltage_test_mode_available 10 Contact: linux-iio@vger.kernel.org 13 - off 14 - midscale_short 15 - pos_fullscale 16 - neg_fullscale 17 - checkerboard 18 - prbs23 [all …]
|
/linux-6.14.4/include/linux/iio/ |
D | backend.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 #include <linux/iio/iio.h> 31 * IIO_BACKEND_EX_INFO - Helper for an IIO extended channel attribute 45 * struct iio_backend_data_fmt - Backend data format 74 * struct iio_backend_ops - operations structure for an iio_backend 75 * @enable: Enable backend. 76 * @disable: Disable backend. 86 * @request_buffer: Request an IIO buffer. 87 * @free_buffer: Free an IIO buffer. 88 * @extend_chan_spec: Extend an IIO channel. [all …]
|
/linux-6.14.4/drivers/iio/dac/ |
D | ad9739a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2015-2024 Analog Devices Inc. 23 #include <linux/iio/backend.h> 24 #include <linux/iio/iio.h> 25 #include <linux/iio/types.h> 65 #define AD9739A_FSC_RANGE (AD9739A_FSC_MAX - AD9739A_FSC_MIN + 1) 69 #define AD9739A_DAC_CLK_RANGE (AD9739A_MAX_DAC_CLK - AD9739A_MIN_DAC_CLK + 1) 86 ret = regmap_read(st->regmap, AD9739A_REG_DEC_CNT, &mode); in ad9739a_oper_mode_get() 93 return -EIO; in ad9739a_oper_mode_get() 98 * We get 2 from the device but for IIO modes, that means 1. Hence the in ad9739a_oper_mode_get() [all …]
|
D | adi-axi-dac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2016-2024 Analog Devices Inc. 26 #include <linux/fpga/adi-axi-common.h> 27 #include <linux/iio/backend.h> 28 #include <linux/iio/buffer-dmaengine.h> 29 #include <linux/iio/buffer.h> 30 #include <linux/iio/iio.h> 32 #include "ad3552r-hs.h" 126 guard(mutex)(&st->lock); in axi_dac_enable() 127 ret = regmap_set_bits(st->regmap, AXI_DAC_RSTN_REG, in axi_dac_enable() [all …]
|
D | ad3552r-hs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/iio/backend.h> 13 #include <linux/iio/buffer.h> 20 #include "ad3552r-hs.h" 39 ret = st->data->bus_reg_read(st->back, reg, &rval, xfer_size); in ad3552r_qspi_update_reg_bits() 45 return st->data->bus_reg_write(st->back, reg, rval, xfer_size); in ad3552r_qspi_update_reg_bits() 54 int ch = chan->channel; in ad3552r_hs_read_raw() 62 *val = DIV_ROUND_CLOSEST(st->data->bus_sample_data_clock_hz * in ad3552r_hs_read_raw() 63 4 * 2, chan->scan_type.realbits); in ad3552r_hs_read_raw() 68 ret = st->data->bus_reg_read(st->back, in ad3552r_hs_read_raw() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/iio/dac/ |
D | adi,axi-dac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/dac/adi,axi-dac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sa <[email protected]> 18 to the data-lines of the DAC and handle the streaming of data from 27 - adi,axi-dac-9.1.b 28 - adi,axi-ad3552r 36 dma-names: 38 - const: tx [all …]
|
D | adi,ad3552r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/iio/dac/adi,ad3552r.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Nuno Sá <[email protected]> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3541r.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3542r.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3551r.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf 24 - adi,ad3541r [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/sierraforest/ |
D | srf-metrics.json | 4 "MetricExpr": "cstate_core@c1\\-residency@ / TSC", 11 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 18 "MetricExpr": "cstate_module@c6\\-residency@ / TSC", 25 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", 70 …"BriefDescription": "Bandwidth observed by the integrated I/O traffic contoller (IIO) of IO reads … 76 …"BriefDescription": "Bandwidth observed by the integrated I/O traffic controller (IIO) of IO write… 241 "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", 261 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to… 269 …ounts the total number of issue slots that were not consumed by the backend due to backend stalls", 275 …ts the total number of issue slots that were not consumed by the backend due to backend stalls. No… [all …]
|
/linux-6.14.4/arch/arm/boot/dts/allwinner/ |
D | sun8i-a33.dtsi | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <[email protected]> 6 * This file is dual-licensed: you can use it either under the terms 45 #include "sun8i-a23-a33.dtsi" 46 #include <dt-bindings/thermal/thermal.h> 49 cpu0_opp_table: opp-table-cpu { 50 compatible = "operating-points-v2"; 51 opp-shared; 53 opp-120000000 { 54 opp-hz = /bits/ 64 <120000000>; [all …]
|