Home
last modified time | relevance | path

Searched full:rshunt (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/hwmon/
H A Dina238.c77 * SHUNT_CAL = 819.2 x 10^6 x CURRENT_LSB x Rshunt
78 * = 819,200,000 x CURRENT_LSB x Rshunt
80 * CURRENT_LSB = 4,096 / (819,200,000 x Rshunt)
81 * Assuming an Rshunt value of 5 mOhm, we get
122 u32 rshunt; member
775 if (device_property_read_u32(dev, "shunt-resistor", &data->rshunt) < 0) in ina238_probe()
776 data->rshunt = INA238_RSHUNT_DEFAULT; in ina238_probe()
777 if (data->rshunt == 0) { in ina238_probe()
778 dev_err(dev, "invalid shunt resister value %u\n", data->rshunt); in ina238_probe()
807 data->rshunt); in ina238_probe()
[all …]
/linux/Documentation/hwmon/
H A Dtmp513.rst54 shunt resistor value. The value resolution will be equal to 10uV/Rshunt.
/linux/drivers/iio/adc/
H A Dmax9611.c369 /* processed (mA): Vcsa (nV) / Rshunt (uOhm) */ in max9611_read_raw()
387 * Rshunt (uOhm) in max9611_read_raw()
H A Drtq6056.c576 /* calibration = coefficient / (Rshunt (uOhm) * current lsb (1mA)) */ in rtq6056_set_shunt_resistor()