Searched refs:vref_uv (Results 1 – 6 of 6) sorted by relevance
77 int ret, vref_uv; in max11100_read_raw() local89 vref_uv = regulator_get_voltage(state->vref_reg); in max11100_read_raw()90 if (vref_uv < 0) in max11100_read_raw()94 *val = vref_uv / 1000; in max11100_read_raw()
116 u32 vref_uv; member327 info->vref_uv = regulator_get_voltage(info->vref); in imx7d_adc_read_raw()328 *val = info->vref_uv / 1000; in imx7d_adc_read_raw()
186 u32 vref_uv; member432 *val = st->vref_uv / 1000; in max1363_read_raw()1611 st->vref_uv = st->chip_info->int_vref_mv * 1000; in max1363_probe()1614 int vref_uv; in max1363_probe() local1620 vref_uv = regulator_get_voltage(vref); in max1363_probe()1621 if (vref_uv <= 0) { in max1363_probe()1625 st->vref_uv = vref_uv; in max1363_probe()
173 u32 vref_uv; member696 *val = info->vref_uv / 1000; in vf610_read_raw()869 info->vref_uv = regulator_get_voltage(info->vref); in vf610_adc_probe()
398 int vref_uv; member1409 *val = st->vref_uv / 1000; in at91_adc_read_raw()1790 st->vref_uv = regulator_get_voltage(st->vref); in at91_adc_probe()1791 if (st->vref_uv <= 0) { in at91_adc_probe()
116 int vref_uv; in ad7303_read_raw() local123 vref_uv = ad7303_get_vref(st, chan); in ad7303_read_raw()124 if (vref_uv < 0) in ad7303_read_raw()125 return vref_uv; in ad7303_read_raw()127 *val = 2 * vref_uv / 1000; in ad7303_read_raw()