Home
last modified time | relevance | path

Searched +full:milli +full:- +full:ohm (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/power/supply/
H A Dug3105_battery.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead it is
7 * its coulomb-counter before it can wrap (must be read every 400 seconds!).
9 * Since Linux does not monitor coulomb-counter changes while the device
25 * readings, esp. in the 30-70% range and allow userspace to estimate time
28 * capacity during run-time ?
32 * in a total_coulomb_count increase of 3277 units with a 5 milli-ohm sense R.
37 #include <linux/devm-helpers.h>
75 int ocv[UG3105_MOV_AVG_WINDOW]; /* micro-volt */
76 int intern_res[UG3105_MOV_AVG_WINDOW]; /* milli-ohm */
[all …]
H A Dds2782_battery.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * I2C client/driver for the Maxim/Dallas DS2782 Stand-Alone Fuel Gauge IC
35 /* Current unit measurement in uA for a 1 milli-ohm sense resistor */
73 ret = i2c_smbus_read_byte_data(info->client, reg); in ds278x_read_reg()
75 dev_err(&info->client->dev, "register read failed\n"); in ds278x_read_reg()
88 ret = i2c_smbus_read_word_data(info->client, reg_msb); in ds278x_read_reg16()
90 dev_err(&info->client->dev, "register read failed\n"); in ds278x_read_reg16()
131 dev_err(&info->client->dev, "sense resistor value is 0\n"); in ds2782_get_current()
132 return -ENXIO; in ds2782_get_current()
136 dev_dbg(&info->client->dev, "sense resistor = %d milli-ohms\n", in ds2782_get_current()
[all …]
H A Dds2780_battery.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * 1-wire client/driver for the Maxim/Dallas DS2780 Stand-Alone Fuel Gauge IC
7 * Author: Clifton Barnes <cabarnes@indesign-llc.com>
23 /* Current unit measurement in uA for a 1 milli-ohm sense resistor */
25 /* Charge unit measurement in uAh for a 1 milli-ohm sense resistor */
28 #define DS2780_USER_EEPROM_SIZE (DS2780_EEPROM_BLOCK0_END - \
31 #define DS2780_PARAM_EEPROM_SIZE (DS2780_EEPROM_BLOCK1_END - \
58 return w1_ds2780_io(dev_info->w1_dev, buf, addr, count, io); in ds2780_battery_io()
108 ret = ds2780_store_eeprom(dev_info->w1_dev, reg); in ds2780_save_eeprom()
112 ret = ds2780_recall_eeprom(dev_info->w1_dev, reg); in ds2780_save_eeprom()
[all …]
H A Dds2781_battery.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * 1-wire client/driver for the Maxim/Dallas DS2781 Stand-Alone Fuel Gauge IC
21 /* Current unit measurement in uA for a 1 milli-ohm sense resistor */
23 /* Charge unit measurement in uAh for a 1 milli-ohm sense resistor */
26 #define DS2781_USER_EEPROM_SIZE (DS2781_EEPROM_BLOCK0_END - \
29 #define DS2781_PARAM_EEPROM_SIZE (DS2781_EEPROM_BLOCK1_END - \
56 return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io); in ds2781_battery_io()
112 ret = ds2781_store_eeprom(dev_info->w1_dev, reg); in ds2781_save_eeprom()
116 ret = ds2781_recall_eeprom(dev_info->w1_dev, reg); in ds2781_save_eeprom()
173 * Bits 9 - 3 of the voltage value are in bits 6 - 0 of the in ds2781_get_voltage()
[all …]
/linux/Documentation/devicetree/bindings/hwmon/
H A Dadi,ltc2945.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Guenter Roeck <linux@roeck-us.net>
15 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2945.pdf
20 - adi,ltc2945
25 shunt-resistor-micro-ohms:
27 Shunt resistor value in micro-Ohms
31 - compatible
32 - reg
[all …]
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dti,tsc2005.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marek Vasut <marex@denx.de>
11 - Michael Welling <mwelling@ieee.org>
19 - ti,tsc2004
20 - ti,tsc2005
31 reset-gpios:
35 spi-max-frequency:
39 ti,x-plate-ohms:
[all …]
/linux/drivers/hwmon/
H A Dltc4282.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/clk-provider.h>
15 #include <linux/hwmon-sysfs.h>
115 #define LTC4282_CLKIN_RANGE (LTC4282_CLKIN_MAX - LTC4282_CLKIN_MIN + 1)
168 return regmap_update_bits(st->map, LTC4282_CLK_DIV, LTC4282_CLKOUT_MASK, in ltc4282_set_rate()
197 ret = regmap_read(st->map, LTC4282_CLK_DIV, &clkdiv); in ltc4282_recalc_rate()
215 regmap_clear_bits(st->map, LTC4282_CLK_DIV, LTC4282_CLKOUT_MASK); in ltc4282_disable()
224 ret = regmap_bulk_read(st->map, reg, &in, sizeof(in)); in ltc4282_read_voltage_word()
246 ret = regmap_read(st->map, reg, &in); in ltc4282_read_voltage_byte_cached()
267 ret = regmap_read(st->map, reg, &alarm); in __ltc4282_read_alarm()
[all …]
/linux/sound/soc/codecs/
H A Dwcd934x.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
21 #include <sound/soc-dapm.h>
23 #include "wcd-clsh-v2.h"
24 #include "wcd-mbhc-v2.h"
430 COMPANDER_5, /* LO3_SE - not used in Tavil */
431 COMPANDER_6, /* LO4_SE - not used in Tavil */
515 .name = "WCD9335-IFC-DEV",
581 static const DECLARE_TLV_DB_SCALE(digital_gain, -8400, 100, -8400);
597 "Class H Invalid", "Class-H Hi-Fi", "Class-H Low Power", "Class-AB",
[all …]