| /kernel/linux/linux-6.6/drivers/comedi/drivers/ |
| D | amplc_pci224.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 22 * - ao_insn read/write 23 * - ao_do_cmd mode with the following sources: 25 * - start_src TRIG_INT TRIG_EXT 26 * - scan_begin_src TRIG_TIMER TRIG_EXT 27 * - convert_src TRIG_NOW 28 * - scan_end_src TRIG_COUNT 29 * - stop_src TRIG_COUNT TRIG_EXT TRIG_NONE 44 * Output range selection - PCI224: [all …]
|
| D | amplc_pci230.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 35 * --------- --------- 43 * The AI subdevice has 16 single-ended channels or 8 differential 46 * The PCI230 and PCI260 cards have 12-bit resolution. The PCI230+ and 47 * PCI260+ cards have 16-bit resolution. 51 * or PCI260 then it actually uses a "pseudo-differential" mode where the 62 * 0 => [-10, +10] V 63 * 1 => [-5, +5] V 64 * 2 => [-2.5, +2.5] V [all …]
|
| D | cb_pcimdda.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Computer Boards PCIM-DDA06-16 Comedi driver 7 * COMEDI - Linux Control and Measurement Device Interface 12 * Description: Measurement Computing PCIM-DDA06-16 13 * Devices: [Measurement Computing] PCIM-DDA06-16 (cb_pcimdda) 18 * All features of the PCIM-DDA06-16 board are supported. 19 * This board has 6 16-bit AO channels, and the usual 8255 DIO setup. 23 * The board has a peculiar way of specifying AO gain/range settings -- You have 25 * 5 Volt unipolar, 5V bipolar, 10 Volt unipolar or 10V bipolar. 30 * default setting of +/-5V. [all …]
|
| D | rti802.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Comedi driver for Analog Devices RTI-802 board 6 * COMEDI - Linux Control and Measurement Device Interface 12 * Description: Analog Devices RTI-802 14 * Devices: [Analog Devices] RTI-802 (rti802) 18 * [0] - i/o base 19 * [1] - unused 20 * [2,4,6,8,10,12,14,16] - dac#[0-7] 0=two's comp, 1=straight 21 * [3,5,7,9,11,13,15,17] - dac#[0-7] 0=bipolar, 1=unipolar 46 struct rti802_private *devpriv = dev->private; in rti802_ao_insn_write() [all …]
|
| D | icp_multi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * COMEDI - Linux Control and Measurement Device Interface 7 * Copyright (C) 1997-2002 David A. Schleef <ds@schleef.org> 23 * It has 16 single-ended or 8 differential Analogue Input channels with 24 * 12-bit resolution. Ranges : 5V, 10V, +/-5V, +/-10V, 0..20mA and 4..20mA. 28 * There are 4 x 12-bit Analogue Outputs. Ranges : 5V, 10V, +/-5V, +/-10V 34 * 4 x 16-bit counters - not implemented 44 #define ICP_MULTI_ADC_CSR_BI BIT(4) /* Bipolar input range */ 50 #define ICP_MULTI_DAC_CSR 0x04 /* R/W: DAC command/status register */ 51 #define ICP_MULTI_DAC_CSR_ST BIT(0) /* Start DAC */ [all …]
|
| D | das1800.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for Keithley DAS-1700/DAS-1800 series boards 6 * COMEDI - Linux Control and Measurement Device Interface 14 * Devices: [Keithley Metrabyte] DAS-1701ST (das-1701st), 15 * DAS-1701ST-DA (das-1701st-da), DAS-1701/AO (das-1701ao), 16 * DAS-1702ST (das-1702st), DAS-1702ST-DA (das-1702st-da), 17 * DAS-1702HR (das-1702hr), DAS-1702HR-DA (das-1702hr-da), 18 * DAS-1702/AO (das-1702ao), DAS-1801ST (das-1801st), 19 * DAS-1801ST-DA (das-1801st-da), DAS-1801HC (das-1801hc), 20 * DAS-1801AO (das-1801ao), DAS-1802ST (das-1802st), [all …]
|
| D | dac02.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 * COMEDI - Linux Control and Measurement Device Interface 18 * Devices: [Keithley Metrabyte] DAC-02 (dac02) 20 * Updated: Tue, 11 Mar 2014 11:27:19 -0700 24 * [0] - I/O port base 34 * ------------- ------ ------------- ----------------- 39 * +/-5V 0 21 to 22 23 41 * +/-10V 0 20 to 22 23 45 * AC reference 0 In on pin 22 24 (2-quadrant) 46 * In on pin 22 23 (4-quadrant) [all …]
|
| D | addi_apci_3501.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module. 7 * ADDI-DATA GmbH 9 * D-77833 Ottersweier 10 * Tel: +19(0)7223/9493-0 11 * Fax: +49(0)7223/9493-92 12 * http://www.addi-data.com 13 * info@addi-data.com 18 * Description: ADDI-DATA APCI-3501 Analog output board 19 * Devices: [ADDI-DATA] APCI-3501 (addi_apci_3501) [all …]
|
| D | me_daq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * ME-2000i, ME-2600i, ME-3000vm1 13 * Devices: [Meilhaus] ME-2600i (me-2600i), ME-2000i (me-2000i) 35 * PCI BAR2 Memory map (dev->mmio) 54 #define ME_CTRL2_REG 0x02 /* R (dac update) | W */ 76 #define ME_TIMER_DATA_REG(x) (0x0a + ((x) * 2)) /* - | W */ 83 #define ME_DAC_CTRL_BIPOLAR(x) BIT(7 - ((x) & 0x3)) 84 #define ME_DAC_CTRL_GAIN(x) BIT(11 - ((x) & 0x3)) 87 #define ME_AO_DATA_REG(x) (0x14 + ((x) * 2)) /* - | W */ 88 #define ME_COUNTER_ENDDATA_REG(x) (0x1c + ((x) * 2)) /* - | W */ [all …]
|
| D | s626.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * COMEDI - Linux Control and Measurement Device Interface 10 * Copyright (C) 2002-2004 Sensoray Co., Inc. 24 * Number of extended-capability 36 #define S626_RANGE_5V 0x10 /* +/-5V range */ 37 #define S626_RANGE_10V 0x00 /* +/-10V range */ 40 #define S626_GSEL_BIPOLAR5V 0x00F0 /* S626_LP_GSEL setting 5V bipolar. */ 41 #define S626_GSEL_BIPOLAR10V 0x00A0 /* S626_LP_GSEL setting 10V bipolar. */ 64 * DAC output DMA buffer holds a single 111 * (used by DAC). [all …]
|
| D | cb_pcidas64.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * This is a driver for the ComputerBoards/MeasurementComputing PCI-DAS 13 * his pci-das6402 driver, and source code for working QNX pci-6402 18 * John Sims, for much testing and feedback on pcidas-4020 support. 20 * COMEDI - Linux Control and Measurement Device Interface 21 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org> 26 * Description: MeasurementComputing PCI-DAS64xx, 60XX, and 4020 series 31 * Devices: [Measurement Computing] PCI-DAS6402/16 (cb_pcidas64), 32 * PCI-DAS6402/12, PCI-DAS64/M1/16, PCI-DAS64/M2/16, 33 * PCI-DAS64/M3/16, PCI-DAS6402/16/JR, PCI-DAS64/M1/16/JR, [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
| D | amplc_pci224.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 22 * - ao_insn read/write 23 * - ao_do_cmd mode with the following sources: 25 * - start_src TRIG_INT TRIG_EXT 26 * - scan_begin_src TRIG_TIMER TRIG_EXT 27 * - convert_src TRIG_NOW 28 * - scan_end_src TRIG_COUNT 29 * - stop_src TRIG_COUNT TRIG_EXT TRIG_NONE 44 * Output range selection - PCI224: [all …]
|
| D | amplc_pci230.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 35 * --------- --------- 43 * The AI subdevice has 16 single-ended channels or 8 differential 46 * The PCI230 and PCI260 cards have 12-bit resolution. The PCI230+ and 47 * PCI260+ cards have 16-bit resolution. 51 * or PCI260 then it actually uses a "pseudo-differential" mode where the 62 * 0 => [-10, +10] V 63 * 1 => [-5, +5] V 64 * 2 => [-2.5, +2.5] V [all …]
|
| D | cb_pcimdda.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Computer Boards PCIM-DDA06-16 Comedi driver 7 * COMEDI - Linux Control and Measurement Device Interface 12 * Description: Measurement Computing PCIM-DDA06-16 13 * Devices: [Measurement Computing] PCIM-DDA06-16 (cb_pcimdda) 18 * All features of the PCIM-DDA06-16 board are supported. 19 * This board has 6 16-bit AO channels, and the usual 8255 DIO setup. 23 * The board has a peculiar way of specifying AO gain/range settings -- You have 25 * 5 Volt unipolar, 5V bipolar, 10 Volt unipolar or 10V bipolar. 30 * default setting of +/-5V. [all …]
|
| D | rti802.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Comedi driver for Analog Devices RTI-802 board 6 * COMEDI - Linux Control and Measurement Device Interface 12 * Description: Analog Devices RTI-802 14 * Devices: [Analog Devices] RTI-802 (rti802) 18 * [0] - i/o base 19 * [1] - unused 20 * [2,4,6,8,10,12,14,16] - dac#[0-7] 0=two's comp, 1=straight 21 * [3,5,7,9,11,13,15,17] - dac#[0-7] 0=bipolar, 1=unipolar 46 struct rti802_private *devpriv = dev->private; in rti802_ao_insn_write() [all …]
|
| D | icp_multi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * COMEDI - Linux Control and Measurement Device Interface 7 * Copyright (C) 1997-2002 David A. Schleef <ds@schleef.org> 23 * It has 16 single-ended or 8 differential Analogue Input channels with 24 * 12-bit resolution. Ranges : 5V, 10V, +/-5V, +/-10V, 0..20mA and 4..20mA. 28 * There are 4 x 12-bit Analogue Outputs. Ranges : 5V, 10V, +/-5V, +/-10V 34 * 4 x 16-bit counters - not implemented 45 #define ICP_MULTI_ADC_CSR_BI BIT(4) /* Bipolar input range */ 51 #define ICP_MULTI_DAC_CSR 0x04 /* R/W: DAC command/status register */ 52 #define ICP_MULTI_DAC_CSR_ST BIT(0) /* Start DAC */ [all …]
|
| D | das1800.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for Keithley DAS-1700/DAS-1800 series boards 6 * COMEDI - Linux Control and Measurement Device Interface 14 * Devices: [Keithley Metrabyte] DAS-1701ST (das-1701st), 15 * DAS-1701ST-DA (das-1701st-da), DAS-1701/AO (das-1701ao), 16 * DAS-1702ST (das-1702st), DAS-1702ST-DA (das-1702st-da), 17 * DAS-1702HR (das-1702hr), DAS-1702HR-DA (das-1702hr-da), 18 * DAS-1702/AO (das-1702ao), DAS-1801ST (das-1801st), 19 * DAS-1801ST-DA (das-1801st-da), DAS-1801HC (das-1801hc), 20 * DAS-1801AO (das-1801ao), DAS-1802ST (das-1802st), [all …]
|
| D | dac02.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 * COMEDI - Linux Control and Measurement Device Interface 18 * Devices: [Keithley Metrabyte] DAC-02 (dac02) 20 * Updated: Tue, 11 Mar 2014 11:27:19 -0700 24 * [0] - I/O port base 35 * ------------- ------ ------------- ----------------- 40 * +/-5V 0 21 to 22 23 42 * +/-10V 0 20 to 22 23 46 * AC reference 0 In on pin 22 24 (2-quadrant) 47 * In on pin 22 23 (4-quadrant) [all …]
|
| D | addi_apci_3501.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module. 7 * ADDI-DATA GmbH 9 * D-77833 Ottersweier 10 * Tel: +19(0)7223/9493-0 11 * Fax: +49(0)7223/9493-92 12 * http://www.addi-data.com 13 * info@addi-data.com 18 * Description: ADDI-DATA APCI-3501 Analog output board 19 * Devices: [ADDI-DATA] APCI-3501 (addi_apci_3501) [all …]
|
| D | me_daq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * ME-2000i, ME-2600i, ME-3000vm1 13 * Devices: [Meilhaus] ME-2600i (me-2600i), ME-2000i (me-2000i) 36 * PCI BAR2 Memory map (dev->mmio) 55 #define ME_CTRL2_REG 0x02 /* R (dac update) | W */ 77 #define ME_TIMER_DATA_REG(x) (0x0a + ((x) * 2)) /* - | W */ 84 #define ME_DAC_CTRL_BIPOLAR(x) BIT(7 - ((x) & 0x3)) 85 #define ME_DAC_CTRL_GAIN(x) BIT(11 - ((x) & 0x3)) 88 #define ME_AO_DATA_REG(x) (0x14 + ((x) * 2)) /* - | W */ 89 #define ME_COUNTER_ENDDATA_REG(x) (0x1c + ((x) * 2)) /* - | W */ [all …]
|
| D | s626.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * COMEDI - Linux Control and Measurement Device Interface 10 * Copyright (C) 2002-2004 Sensoray Co., Inc. 24 * Number of extended-capability 36 #define S626_RANGE_5V 0x10 /* +/-5V range */ 37 #define S626_RANGE_10V 0x00 /* +/-10V range */ 40 #define S626_GSEL_BIPOLAR5V 0x00F0 /* S626_LP_GSEL setting 5V bipolar. */ 41 #define S626_GSEL_BIPOLAR10V 0x00A0 /* S626_LP_GSEL setting 10V bipolar. */ 64 * DAC output DMA buffer holds a single 111 * (used by DAC). [all …]
|
| D | cb_pcidas64.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * This is a driver for the ComputerBoards/MeasurementComputing PCI-DAS 13 * his pci-das6402 driver, and source code for working QNX pci-6402 18 * John Sims, for much testing and feedback on pcidas-4020 support. 20 * COMEDI - Linux Control and Measurement Device Interface 21 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org> 26 * Description: MeasurementComputing PCI-DAS64xx, 60XX, and 4020 series 31 * Devices: [Measurement Computing] PCI-DAS6402/16 (cb_pcidas64), 32 * PCI-DAS6402/12, PCI-DAS64/M1/16, PCI-DAS64/M2/16, 33 * PCI-DAS64/M3/16, PCI-DAS6402/16/JR, PCI-DAS64/M1/16/JR, [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/addac/ |
| D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74115H is a single-channel software configurable input/output 17 chip solution with an SPI interface. The device features a 16-bit ADC and a 18 14-bit DAC. 25 - adi,ad74115h 30 spi-max-frequency: 33 spi-cpol: true [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | stx104.c | 1 // SPDX-License-Identifier: GPL-2.0-only 50 * struct stx104_reg - device register structure 54 * @dac: DAC Channels 64 u16 dac[2]; member 72 * struct stx104_iio - IIO device private data structure 84 * struct stx104_gpio - GPIO device private data structure 101 struct stx104_reg __iomem *const reg = priv->reg; in stx104_read_raw() 109 adc_config = ioread8(®->acfg); in stx104_read_raw() 115 if (chan->output) { in stx104_read_raw() 116 *val = priv->chan_out_states[chan->channel]; in stx104_read_raw() [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/addac/ |
| D | stx104.c | 1 // SPDX-License-Identifier: GPL-2.0-only 87 * struct stx104_iio - IIO device private data structure 182 err = regmap_read(priv->aio_ctl_map, STX104_ADC_CONFIGURATION, &adc_config); in stx104_read_raw() 189 if (chan->output) { in stx104_read_raw() 190 err = regmap_read(priv->aio_data_map, STX104_DAC_OFFSET(chan->channel), in stx104_read_raw() 198 mutex_lock(&priv->lock); in stx104_read_raw() 201 err = regmap_write(priv->aio_ctl_map, STX104_ADC_CHANNEL, in stx104_read_raw() 202 STX104_SINGLE_CHANNEL(chan->channel)); in stx104_read_raw() 204 mutex_unlock(&priv->lock); in stx104_read_raw() 209 * Trigger ADC sample capture by writing to the 8-bit Software Strobe Register and in stx104_read_raw() [all …]
|