Home
last modified time | relevance | path

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

/drivers/staging/iio/dac/
Dad5624r_spi.c256 int ret, voltage_uv = 0; in ad5624r_probe() local
270 voltage_uv = regulator_get_voltage(st->reg); in ad5624r_probe()
277 if (voltage_uv) in ad5624r_probe()
278 st->vref_mv = voltage_uv / 1000; in ad5624r_probe()
292 !!voltage_uv, 16); in ad5624r_probe()
Dad5686.c359 int ret, regdone = 0, voltage_uv = 0; in ad5686_probe() local
374 voltage_uv = regulator_get_voltage(st->reg); in ad5686_probe()
380 if (voltage_uv) in ad5686_probe()
381 st->vref_mv = voltage_uv / 1000; in ad5686_probe()
396 !!voltage_uv, 0); in ad5686_probe()
Dad5446.c313 int ret, voltage_uv = 0; in ad5446_probe() local
321 voltage_uv = regulator_get_voltage(reg); in ad5446_probe()
366 if (voltage_uv) in ad5446_probe()
367 st->vref_mv = voltage_uv / 1000; in ad5446_probe()
Dad5504.c288 int ret, voltage_uv = 0; in ad5504_probe() local
301 voltage_uv = regulator_get_voltage(reg); in ad5504_probe()
306 if (voltage_uv) in ad5504_probe()
307 st->vref_mv = voltage_uv / 1000; in ad5504_probe()
/drivers/staging/iio/adc/
Dad7476_core.c131 int ret, voltage_uv = 0; in ad7476_probe() local
145 voltage_uv = regulator_get_voltage(st->reg); in ad7476_probe()
154 else if (voltage_uv) in ad7476_probe()
155 st->int_vref_mv = voltage_uv / 1000; in ad7476_probe()
Dad7780.c163 int ret, voltage_uv = 0; in ad7780_probe() local
182 voltage_uv = regulator_get_voltage(st->reg); in ad7780_probe()
192 else if (voltage_uv) in ad7780_probe()
193 st->int_vref_mv = voltage_uv / 1000; in ad7780_probe()
Dad7887_core.c106 int ret, voltage_uv = 0; in ad7887_probe() local
120 voltage_uv = regulator_get_voltage(st->reg); in ad7887_probe()
179 else if (voltage_uv) in ad7887_probe()
180 st->int_vref_mv = voltage_uv / 1000; in ad7887_probe()
Dad7291.c586 int ret = 0, voltage_uv = 0; in ad7291_probe() local
600 voltage_uv = regulator_get_voltage(chip->reg); in ad7291_probe()
613 if (voltage_uv) { in ad7291_probe()
614 chip->int_vref_mv = voltage_uv / 1000; in ad7291_probe()
Dad7793.c896 int ret, i, voltage_uv = 0; in ad7793_probe() local
920 voltage_uv = regulator_get_voltage(st->reg); in ad7793_probe()
930 else if (voltage_uv) in ad7793_probe()
931 st->int_vref_mv = voltage_uv / 1000; in ad7793_probe()
Dad7192.c1024 int ret, i , voltage_uv = 0; in ad7192_probe() local
1048 voltage_uv = regulator_get_voltage(st->reg); in ad7192_probe()
1055 else if (voltage_uv) in ad7192_probe()
1056 st->int_vref_mv = voltage_uv / 1000; in ad7192_probe()
/drivers/staging/iio/impedance-analyzer/
Dad5933.c678 int ret, voltage_uv = 0; in ad5933_probe() local
699 voltage_uv = regulator_get_voltage(st->reg); in ad5933_probe()
702 if (voltage_uv) in ad5933_probe()
703 st->vref_mv = voltage_uv / 1000; in ad5933_probe()