/Linux-v6.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-v6.1/drivers/s390/block/ |
D | dasd_3990_erp.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #define KMSG_COMPONENT "dasd-eckd" 34 * 24 and 32 byte sense ERP functions 55 struct dasd_ccw_req *cqr = erp->refers; in dasd_3990_erp_cleanup() 57 dasd_free_erp_request(erp, erp->memdev); in dasd_3990_erp_cleanup() 58 cqr->status = final_status; in dasd_3990_erp_cleanup() 74 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue() 80 spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue() 82 spin_unlock_irqrestore(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue() 83 erp->status = DASD_CQR_FILLED; in dasd_3990_erp_block_queue() [all …]
|
/Linux-v6.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-v6.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-v6.1/drivers/hwmon/ |
D | ltc2945.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/hwmon-sysfs.h> 84 /* current, voltage */ in ltc2945_reg_to_val() 95 * Convert to uW by assuming current is measured with in ltc2945_reg_to_val() 96 * an 1mOhm sense resistor, similar to current in ltc2945_reg_to_val() 98 * Control register bit 0 selects if voltage at SENSE+/VDD in ltc2945_reg_to_val() 134 * 25 uV resolution. Convert to current as measured with in ltc2945_reg_to_val() 135 * an 1 mOhm sense resistor, in mA. If a different sense in ltc2945_reg_to_val() 136 * resistor is installed, calculate the actual current by in ltc2945_reg_to_val() 137 * dividing the reported current by the sense resistor value in ltc2945_reg_to_val() [all …]
|
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-v6.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: Binding for 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-v6.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-v6.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-v6.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-v6.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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | tas27xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2020-2022 Texas Instruments Incorporated 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Shenghao Ding <shenghao-ding@ti.com> 14 The TAS2764/TAS2780 is a mono, digital input Class-D audio amplifier 16 loudspeakers. Integrated speaker voltage and current sense provides 22 - ti,tas2764 23 - ti,tas2780 30 reset-gpios: [all …]
|
D | tas2770.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2019-20 Texas Instruments Incorporated 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Shi Fu <shifu0704@thundersoft.com> 14 The TAS2770 is a mono, digital input Class-D audio amplifier optimized for 16 Integrated speaker voltage and current sense provides for 22 - ti,tas2770 29 reset-gpio: 33 shutdown-gpios: [all …]
|