Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dina3221.c340 int resistance_uo, voltage_nv; in ina3221_read_curr() local
344 resistance_uo = ina->summation_shunt_resistor; in ina3221_read_curr()
346 resistance_uo = input[channel].shunt_resistor; in ina3221_read_curr()
366 if (!resistance_uo) in ina3221_read_curr()
376 *val = DIV_ROUND_CLOSEST(voltage_nv, resistance_uo); in ina3221_read_curr()
444 int resistance_uo, current_ma, voltage_uv; in ina3221_write_curr() local
448 resistance_uo = ina->summation_shunt_resistor; in ina3221_write_curr()
450 resistance_uo = input[channel].shunt_resistor; in ina3221_write_curr()
452 if (!resistance_uo) in ina3221_write_curr()
457 INT_MIN / resistance_uo, in ina3221_write_curr()
[all …]