Home
last modified time | relevance | path

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

/linux/drivers/iio/adc/
H A Dti-lmp92064.c86 int shunt_resistor_uohm; member
180 *val2 = priv->shunt_resistor_uohm; in lmp92064_read_raw()
290 u32 shunt_resistor_uohm; in lmp92064_adc_probe() local
313 &shunt_resistor_uohm); in lmp92064_adc_probe()
322 if (shunt_resistor_uohm == 0 || shunt_resistor_uohm > INT_MAX) { in lmp92064_adc_probe()
327 priv->shunt_resistor_uohm = shunt_resistor_uohm; in lmp92064_adc_probe()
H A Dmax9611.c103 unsigned int shunt_resistor_uohm; member
382 *val2 = dev->shunt_resistor_uohm; in max9611_read_raw()
411 *val2 = dev->shunt_resistor_uohm; in max9611_read_raw()
429 i = max9611->shunt_resistor_uohm / 1000000; in max9611_shunt_resistor_show()
430 r = max9611->shunt_resistor_uohm % 1000000; in max9611_shunt_resistor_show()
539 max9611->shunt_resistor_uohm = of_shunt; in max9611_probe()
H A Drtq6056.c94 u32 shunt_resistor_uohm; member
571 priv->shunt_resistor_uohm = resistor_uohm; in rtq6056_set_shunt_resistor()
580 int vals[2] = { priv->shunt_resistor_uohm, 1000000 }; in shunt_resistor_show()
716 unsigned int vendor_id, shunt_resistor_uohm; in rtq6056_probe() local
776 shunt_resistor_uohm = 2000; in rtq6056_probe()
778 &shunt_resistor_uohm); in rtq6056_probe()
780 ret = rtq6056_set_shunt_resistor(priv, shunt_resistor_uohm); in rtq6056_probe()
H A Dina2xx-adc.c143 unsigned int shunt_resistor_uohm; member
247 *val2 = chip->shunt_resistor_uohm; in ina2xx_read_raw()
258 *val2 = chip->shunt_resistor_uohm; in ina2xx_read_raw()
583 chip->shunt_resistor_uohm = val; in set_shunt_resistor()
593 int vals[2] = { chip->shunt_resistor_uohm, 1000000 }; in ina2xx_shunt_resistor_show()