Searched refs:voltage_uv (Results 1 – 5 of 5) sorted by relevance
227 int ret, voltage_uv = 0; in ad5624r_probe() local243 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()
378 int ret, i, voltage_uv = 0; in ad5686_probe() local401 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()
279 int ret, voltage_uv = 0; in ad5504_probe() local294 voltage_uv = ret; in ad5504_probe()299 if (voltage_uv) in ad5504_probe()300 st->vref_mv = voltage_uv / 1000; in ad5504_probe()
223 int ret, voltage_uv = 0; in ad5446_probe() local235 voltage_uv = ret; in ad5446_probe()262 else if (voltage_uv) in ad5446_probe()263 st->vref_mv = voltage_uv / 1000; in ad5446_probe()
240 int voltage_uv; in ad7791_read_raw() local242 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()