Searched refs:voltage_uv (Results 1 – 8 of 8) sorted by relevance
228 int ret, voltage_uv = 0; in ad5624r_probe() local244 voltage_uv = ret; in ad5624r_probe()251 if (voltage_uv) in ad5624r_probe()252 st->vref_mv = voltage_uv / 1000; in ad5624r_probe()266 !!voltage_uv, 16); in ad5624r_probe()
316 int ret, voltage_uv = 0; in ad5686_probe() local335 voltage_uv = ret; in ad5686_probe()341 if (voltage_uv) in ad5686_probe()342 st->vref_mv = voltage_uv / 1000; in ad5686_probe()359 !!voltage_uv, 0); in ad5686_probe()
281 int ret, voltage_uv = 0; in ad5504_probe() local296 voltage_uv = ret; in ad5504_probe()301 if (voltage_uv) in ad5504_probe()302 st->vref_mv = voltage_uv / 1000; in ad5504_probe()
224 int ret, voltage_uv = 0; in ad5446_probe() local236 voltage_uv = ret; in ad5446_probe()263 else if (voltage_uv) in ad5446_probe()264 st->vref_mv = voltage_uv / 1000; in ad5446_probe()
169 int ret, voltage_uv = 0; in ad7780_probe() local186 voltage_uv = regulator_get_voltage(st->reg); in ad7780_probe()194 else if (voltage_uv) in ad7780_probe()195 st->int_vref_mv = voltage_uv / 1000; in ad7780_probe()
612 int ret , voltage_uv = 0; in ad7192_probe() local636 voltage_uv = regulator_get_voltage(st->reg); in ad7192_probe()641 else if (voltage_uv) in ad7192_probe()642 st->int_vref_mv = voltage_uv / 1000; in ad7192_probe()
228 int voltage_uv; in ad7791_read_raw() local230 voltage_uv = regulator_get_voltage(st->reg); in ad7791_read_raw()231 if (voltage_uv < 0) in ad7791_read_raw()232 return voltage_uv; in ad7791_read_raw()234 *val = voltage_uv / 1000; in ad7791_read_raw()
704 int ret, voltage_uv = 0; in ad5933_probe() local727 voltage_uv = regulator_get_voltage(st->reg); in ad5933_probe()730 if (voltage_uv) in ad5933_probe()731 st->vref_mv = voltage_uv / 1000; in ad5933_probe()