Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/dac/
Dad5624r_spi.c227 int ret, voltage_uv = 0; in ad5624r_probe() local
243 voltage_uv = ret; in ad5624r_probe()
258 voltage_uv = ret; in ad5624r_probe()
266 if (voltage_uv) in ad5624r_probe()
267 st->vref_mv = voltage_uv / 1000; in ad5624r_probe()
281 !!voltage_uv, 16); in ad5624r_probe()
Dad5686.c378 int ret, i, voltage_uv = 0; in ad5686_probe() local
401 voltage_uv = ret; in ad5686_probe()
406 if (voltage_uv) in ad5686_probe()
407 st->vref_mv = voltage_uv / 1000; in ad5686_probe()
426 st->use_internal_vref = !voltage_uv; in ad5686_probe()
435 st->use_internal_vref = !voltage_uv; in ad5686_probe()
442 val = (voltage_uv | ref_bit_msk); in ad5686_probe()
Dad5504.c279 int ret, voltage_uv = 0; in ad5504_probe() local
294 voltage_uv = ret; in ad5504_probe()
299 if (voltage_uv) in ad5504_probe()
300 st->vref_mv = voltage_uv / 1000; in ad5504_probe()
Dad5446.c223 int ret, voltage_uv = 0; in ad5446_probe() local
235 voltage_uv = ret; in ad5446_probe()
262 else if (voltage_uv) in ad5446_probe()
263 st->vref_mv = voltage_uv / 1000; in ad5446_probe()
/linux-4.19.296/drivers/iio/adc/
Dad7791.c240 int voltage_uv; in ad7791_read_raw() local
242 voltage_uv = regulator_get_voltage(st->reg); in ad7791_read_raw()
243 if (voltage_uv < 0) in ad7791_read_raw()
244 return voltage_uv; in ad7791_read_raw()
246 *val = voltage_uv / 1000; in ad7791_read_raw()