Searched refs:vref_uv (Results 1 – 8 of 8) sorted by relevance
74 int ret, vref_uv; in max11100_read_raw() local86 vref_uv = regulator_get_voltage(state->vref_reg); in max11100_read_raw()87 if (vref_uv < 0) in max11100_read_raw()91 *val = vref_uv / 1000; in max11100_read_raw()
138 int vref_uv; in npcm_adc_read_raw() local153 vref_uv = regulator_get_voltage(info->vref); in npcm_adc_read_raw()154 *val = vref_uv / 1000; in npcm_adc_read_raw()
111 u32 vref_uv; member318 info->vref_uv = regulator_get_voltage(info->vref); in imx7d_adc_read_raw()319 *val = info->vref_uv / 1000; in imx7d_adc_read_raw()
183 u32 vref_uv; member429 *val = st->vref_uv / 1000; in max1363_read_raw()1608 st->vref_uv = st->chip_info->int_vref_mv * 1000; in max1363_probe()1611 int vref_uv; in max1363_probe() local1617 vref_uv = regulator_get_voltage(vref); in max1363_probe()1618 if (vref_uv <= 0) { in max1363_probe()1622 st->vref_uv = vref_uv; in max1363_probe()
160 u32 vref_uv; member679 *val = info->vref_uv / 1000; in vf610_read_raw()850 info->vref_uv = regulator_get_voltage(info->vref); in vf610_adc_probe()
390 int vref_uv; member1381 *val = st->vref_uv / 1000; in at91_adc_read_raw()1760 st->vref_uv = regulator_get_voltage(st->vref); in at91_adc_probe()1761 if (st->vref_uv <= 0) { in at91_adc_probe()
115 int vref_uv; in ad7303_read_raw() local122 vref_uv = ad7303_get_vref(st, chan); in ad7303_read_raw()123 if (vref_uv < 0) in ad7303_read_raw()124 return vref_uv; in ad7303_read_raw()126 *val = 2 * vref_uv / 1000; in ad7303_read_raw()
110 unsigned int vref_uv; in ads7828_probe() local131 vref_uv = regulator_get_voltage(reg); in ads7828_probe()132 vref_mv = DIV_ROUND_CLOSEST(vref_uv, 1000); in ads7828_probe()