Home
last modified time | relevance | path

Searched refs:shunt_resistor (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/hwmon/
Dina3221.c105 int shunt_resistor; member
154 int i, shunt_resistor = 0; in ina3221_summation_shunt_resistor() local
157 if (input[i].disconnected || !input[i].shunt_resistor) in ina3221_summation_shunt_resistor()
159 if (!shunt_resistor) { in ina3221_summation_shunt_resistor()
161 shunt_resistor = input[i].shunt_resistor; in ina3221_summation_shunt_resistor()
164 if (shunt_resistor != input[i].shunt_resistor) in ina3221_summation_shunt_resistor()
169 return shunt_resistor; in ina3221_summation_shunt_resistor()
338 resistance_uo = input[channel].shunt_resistor; in ina3221_read_curr()
442 resistance_uo = input[channel].shunt_resistor; in ina3221_write_curr()
701 return sysfs_emit(buf, "%d\n", input->shunt_resistor); in ina3221_shunt_show()
[all …]
Dtps23861.c115 u32 shunt_resistor; member
173 if (data->shunt_resistor == SHUNT_RESISTOR_DEFAULT) in tps23861_read_current()
530 u32 shunt_resistor; in tps23861_probe() local
545 if (!of_property_read_u32(dev->of_node, "shunt-resistor-micro-ohms", &shunt_resistor)) in tps23861_probe()
546 data->shunt_resistor = shunt_resistor; in tps23861_probe()
548 data->shunt_resistor = SHUNT_RESISTOR_DEFAULT; in tps23861_probe()
550 if (data->shunt_resistor == SHUNT_RESISTOR_DEFAULT) in tps23861_probe()
Dina2xx.c578 static SENSOR_DEVICE_ATTR_RW(shunt_resistor, ina2xx_shunt, INA2XX_CALIBRATION);
/Linux-v6.1/Documentation/hwmon/
Dina2xx.rst76 compile-time or via the shunt_resistor attribute in sysfs at run-time. Please
95 shunt_resistor Shunt resistance(uOhm) channel
118 - Configure `shunt_resistor` before configure `power1_crit`, because power
119 value is calculated based on `shunt_resistor` set.
Dina238.rst27 compile-time or via the shunt_resistor attribute in sysfs at run-time. Please
/Linux-v6.1/drivers/iio/adc/
Drtq6056.c429 static IIO_DEVICE_ATTR_RW(shunt_resistor, 0);
/Linux-v6.1/Documentation/i2c/
Di2c-sysfs.rst378 in0_lcrit in1_lcrit_alarm shunt_resistor