Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
339 resistance_uo = input[channel].shunt_resistor; in ina3221_read_curr()
442 resistance_uo = input[channel].shunt_resistor; in ina3221_write_curr()
701 return snprintf(buf, PAGE_SIZE, "%d\n", input->shunt_resistor); in ina3221_shunt_show()
[all …]
Dina2xx.c579 static SENSOR_DEVICE_ATTR_RW(shunt_resistor, ina2xx_shunt, INA2XX_CALIBRATION);
/kernel/linux/linux-5.10/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.