/linux-6.12.1/Documentation/devicetree/bindings/iio/afe/ |
D | current-sense-amplifier.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/current-sense-amplifier.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Current Sense Amplifier 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the output voltage from a current sense 14 amplifier, the interesting measurement is almost always the current 15 through the sense resistor, not the voltage output. This binding 16 describes such a current sense circuit. [all …]
|
D | current-sense-shunt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/current-sense-shunt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Current Sense Shunt 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the voltage over a current sense shunt, 14 the interesting measurement is almost always the current through the 15 shunt, not the voltage over it. This binding describes such a current 16 sense circuit. [all …]
|
D | temperature-sense-rtd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/temperature-sense-rtd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Temperature Sense RTD 10 - Liam Beguin <liambeguin@gmail.com> 17 When an io-channel measures the output voltage across an RTD such as a 25 T = 1 / (alpha * r0 * iexc) * (V - r0 * iexc) 30 ----- 32 +---+----+ [all …]
|
D | temperature-transducer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/temperature-transducer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Beguin <liambeguin@gmail.com> 15 voltage (like the LTC2997), and temperature to current (like the AD590) 19 When an io-channel measures the output voltage of a temperature analog front 31 The following circuits show a temperature to current and a temperature to 35 ----- 37 +---+---+ [all …]
|
/linux-6.12.1/drivers/s390/block/ |
D | dasd_3990_erp.c | 1 // SPDX-License-Identifier: GPL-2.0 30 * 24 and 32 byte sense ERP functions 51 struct dasd_ccw_req *cqr = erp->refers; in dasd_3990_erp_cleanup() 53 dasd_free_erp_request(erp, erp->memdev); in dasd_3990_erp_cleanup() 54 cqr->status = final_status; in dasd_3990_erp_cleanup() 70 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue() 76 spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue() 78 spin_unlock_irqrestore(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue() 79 erp->status = DASD_CQR_FILLED; in dasd_3990_erp_block_queue() 80 if (erp->block) in dasd_3990_erp_block_queue() [all …]
|
/linux-6.12.1/Documentation/hwmon/ |
D | ltc2945.rst | 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/2945fb.pdf 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 22 The LTC2945 is a rail-to-rail system monitor that measures current, voltage, 27 ----------- 37 $ echo ltc2945 0x10 > /sys/bus/i2c/devices/i2c-1/new_device 41 ------------- 49 Current reading provided by this driver is reported as obtained from the ADC 50 Current Sense register. The reported value assumes that a 1 mOhm sense resistor [all …]
|
D | ltc4260.rst | 10 Addresses scanned: - 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 27 ----------- 37 $ echo ltc4260 0x10 > /sys/bus/i2c/devices/i2c-1/new_device 41 ------------- 49 Current reading provided by this driver is reported as obtained from the ADC 50 Current Sense register. The reported value assumes that a 1 mOhm sense resistor 51 is installed. If a different sense resistor is installed, calculate the real 52 current by dividing the reported value by the sense resistor value in mOhm. [all …]
|
D | max16065.rst | 11 Addresses scanned: - 15 http://datasheets.maxim-ic.com/en/ds/MAX16065-MAX16066.pdf 21 Addresses scanned: - 25 http://datasheets.maxim-ic.com/en/ds/MAX16067.pdf 31 Addresses scanned: - 35 http://datasheets.maxim-ic.com/en/ds/MAX16068.pdf 41 Addresses scanned: - 45 http://datasheets.maxim-ic.com/en/ds/MAX16070-MAX16071.pdf 47 Author: Guenter Roeck <linux@roeck-us.net> 51 ----------- [all …]
|
D | ltc4261.rst | 10 Addresses scanned: - 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 22 The LTC4261/LTC4261-2 negative voltage Hot Swap controllers allow a board 27 ----------- 37 $ echo ltc4261 0x10 > /sys/bus/i2c/devices/i2c-1/new_device 41 ------------- 49 Current reading provided by this driver is reported as obtained from the ADC 50 Current Sense register. The reported value assumes that a 1 mOhm sense resistor 51 is installed. If a different sense resistor is installed, calculate the real [all …]
|
D | ltc2990.rst | 11 Addresses scanned: - 19 - Mike Looijmans <mike.looijmans@topic.nl> 20 - Tom Levens <tom.levens@cern.ch> 24 ----------- 26 LTC2990 is a Quad I2C Voltage, Current and Temperature Monitor. 29 measure current through a series resistor, or a temperature with an external 34 ----------- 41 ---------------- 52 in[1-4]_input Voltage at V[1-4] pin in millivolt 55 curr1_input Current in mA across V1-V2 assuming a 1mOhm sense resistor [all …]
|
D | ltc4151.rst | 10 Addresses scanned: - 20 ----------- 22 The LTC4151 is a High Voltage I2C Current and Voltage Monitor. 26 ----------- 36 # echo ltc4151 0x6f > /sys/bus/i2c/devices/i2c-0/new_device 40 ------------- 45 Current reading provided by this driver is reported as obtained from the Current 46 Sense register. The reported value assumes that a 1 mOhm sense resistor is 54 curr1_input SENSE current (mA)
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/dac/ |
D | adi,ad5755.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD5755 Multi-Channel DAC 10 - Sean Nyekjaer <sean.nyekjaer@prevas.dk> 15 - adi,ad5755 16 - adi,ad5755-1 17 - adi,ad5757 18 - adi,ad5735 19 - adi,ad5737 [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/temperature/ |
D | adi,ltc2983.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: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital 16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/29861fa.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ltm2985.pdf [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/power/supply/ |
D | bq2415x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI bq2415x Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24150 20 - ti,bq24150a 21 - ti,bq24151 22 - ti,bq24151a [all …]
|
D | lltc,ltc294x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 for the charge counter and adds voltage, current and temperature monitoring. 17 - Sebastian Reichel <sre@kernel.org> 20 - $ref: power-supply.yaml# 25 - lltc,ltc2941 26 - lltc,ltc2942 27 - lltc,ltc2943 28 - lltc,ltc2944 [all …]
|
/linux-6.12.1/drivers/iio/adc/ |
D | max9611.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Maxim max9611/max9612 high side current sense amplifier with 6 * 12-bit ADC interface. 12 * This driver supports input common-mode voltage, current-sense 16 * Op-amp, analog comparator, and watchdog functionalities are not 50 * max9611 current sense amplifier voltage output: 58 * The complete formula to calculate current sense voltage is: 59 * (((adc_read >> 4) - offset) / ((1 / LSB) * 10^-3) 73 * (((adc_read >> 4) * 1000) - offset) / (1 / 14 * 1000) 115 * max9611_mux_conf - associate ADC mux configuration with register address [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | ssm4567.c | 1 // SPDX-License-Identifier: GPL-2.0-only 137 /* The datasheet states that soft reset register is read-only, in ssm4567_writeable_reg() 138 * but logically it is write-only. */ in ssm4567_writeable_reg() 158 static const DECLARE_TLV_DB_MINMAX_MUTE(ssm4567_vol_tlv, -7125, 2400); 176 SND_SOC_DAPM_SIGGEN("Sense"), 178 SND_SOC_DAPM_PGA("Current Sense", SSM4567_REG_POWER_CTRL, 4, 1, NULL, 0), 179 SND_SOC_DAPM_PGA("Voltage Sense", SSM4567_REG_POWER_CTRL, 5, 1, NULL, 0), 180 SND_SOC_DAPM_PGA("VBAT Sense", SSM4567_REG_POWER_CTRL, 6, 1, NULL, 0), 190 { "Current Sense", NULL, "Sense" }, 191 { "Voltage Sense", NULL, "Sense" }, [all …]
|
/linux-6.12.1/drivers/iio/afe/ |
D | iio-rescale.c | 1 // SPDX-License-Identifier: GPL-2.0 33 *val *= rescale->numerator; in rescale_process_scale() 34 if (rescale->denominator == 1) in rescale_process_scale() 36 *val2 = rescale->denominator; in rescale_process_scale() 44 if (!check_mul_overflow(*val, rescale->numerator, &_val) && in rescale_process_scale() 45 !check_mul_overflow(*val2, rescale->denominator, &_val2)) { in rescale_process_scale() 53 tmp = div_s64(tmp, rescale->denominator); in rescale_process_scale() 54 tmp *= rescale->numerator; in rescale_process_scale() 82 * *val = 1 and *val2 = -0.5 yields -1.5 not -0.5. in rescale_process_scale() 86 tmp = (s64)abs(*val) * abs(rescale->numerator); in rescale_process_scale() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 that handles voltage dividers, current sense shunts and 14 current sense amplifiers. 17 module will be called iio-rescale.
|
/linux-6.12.1/drivers/hwmon/ |
D | ltc4260.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/hwmon-sysfs.h> 58 * 300 uV resolution. Convert to current as measured with in ltc4260_get_value() 59 * an 1 mOhm sense resistor, in mA. If a different sense in ltc4260_get_value() 60 * resistor is installed, calculate the actual current by in ltc4260_get_value() 61 * dividing the reported current by the sense resistor value in ltc4260_get_value() 67 return -EINVAL; in ltc4260_get_value() 79 value = ltc4260_get_value(dev, attr->index); in ltc4260_value_show() 97 fault &= attr->index; in ltc4260_bool_show() 99 regmap_update_bits(regmap, LTC4260_FAULT, attr->index, 0); in ltc4260_bool_show() [all …]
|
D | ltc4222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <linux/hwmon-sysfs.h> 74 * 62.5 uV resolution. Convert to current as measured with in ltc4222_get_value() 75 * an 1 mOhm sense resistor, in mA. If a different sense in ltc4222_get_value() 76 * resistor is installed, calculate the actual current by in ltc4222_get_value() 77 * dividing the reported current by the sense resistor value in ltc4222_get_value() 83 return -EINVAL; in ltc4222_get_value() 94 value = ltc4222_get_value(dev, attr->index); in ltc4222_value_show() 108 ret = regmap_read(regmap, attr->nr, &fault); in ltc4222_bool_show() 111 fault &= attr->index; in ltc4222_bool_show() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/ |
D | maxim,max9611.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX9611 and similar current sense amplifiers with integrated ADCs 10 - Jacopo Mondi <jacopo@jmondi.org> 13 These devices combine a high-side current sense amplifier with a 12 bit ADC. 19 - maxim,max9611 20 - maxim,max9612 25 shunt-resistor-micro-ohms: 28 RS- inputs, across which the current is measured. Value needed to compute [all …]
|
D | richtek,rtq6056.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RTQ6056 Bi-Directional Current and Power Monitor with 16-bit ADC 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RTQ6056 is a high accuracy current-sense monitor with I2C and SMBus 15 out the loading current and power. 17 The device monitors both of the drops across sense resistor and the BUS 18 voltage, converts into the current in amperes, and power in watts through 19 internal analog-to-digital converter ADC. The programmable calibration, [all …]
|
D | microchip,pac1921.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip PAC1921 High-Side Power/Current Monitor with Anaog Output 10 - Matteo Martelli <matteomartelli3@gmail.com> 13 The PAC1921 is a power/current monitoring device with an analog output 17 https://ww1.microchip.com/downloads/en/DeviceDoc/PAC1921-Data-Sheet-DS20005293E.pdf 26 vdd-supply: true 28 "#io-channel-cells": 31 shunt-resistor-micro-ohms: [all …]
|
/linux-6.12.1/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 …]
|