Searched refs:resistor_uohm (Results 1 – 1 of 1) sorted by relevance
375 int resistor_uohm) in rtq6056_set_shunt_resistor() argument380 if (resistor_uohm <= 0) { in rtq6056_set_shunt_resistor()381 dev_err(priv->dev, "Invalid resistor [%d]\n", resistor_uohm); in rtq6056_set_shunt_resistor()386 calib_val = 5120000 / resistor_uohm; in rtq6056_set_shunt_resistor()391 priv->shunt_resistor_uohm = resistor_uohm; in rtq6056_set_shunt_resistor()