Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dina3221.c332 int resistance_uo, voltage_nv; in ina3221_read_curr() local
336 resistance_uo = ina->summation_shunt_resistor; in ina3221_read_curr()
338 resistance_uo = input[channel].shunt_resistor; in ina3221_read_curr()
358 if (!resistance_uo) in ina3221_read_curr()
368 *val = DIV_ROUND_CLOSEST(voltage_nv, resistance_uo); in ina3221_read_curr()
436 int resistance_uo, current_ma, voltage_uv; in ina3221_write_curr() local
440 resistance_uo = ina->summation_shunt_resistor; in ina3221_write_curr()
442 resistance_uo = input[channel].shunt_resistor; in ina3221_write_curr()
444 if (!resistance_uo) in ina3221_write_curr()
449 INT_MIN / resistance_uo, in ina3221_write_curr()
[all …]