Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Drtq6056.c375 int resistor_uohm) in rtq6056_set_shunt_resistor() argument
380 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()