Home
last modified time | relevance | path

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

/drivers/hwmon/
Dina3221.c275 int resistance_uo = input->shunt_resistor; in ina3221_read_curr() local
303 *val = DIV_ROUND_CLOSEST(voltage_nv, resistance_uo); in ina3221_read_curr()
370 int resistance_uo = input->shunt_resistor; in ina3221_write_curr() local
376 INT_MIN / resistance_uo, in ina3221_write_curr()
377 INT_MAX / resistance_uo); in ina3221_write_curr()
379 voltage_uv = DIV_ROUND_CLOSEST(current_ma * resistance_uo, 1000); in ina3221_write_curr()