Searched refs:vref_uv (Results 1 – 8 of 8) sorted by relevance
76 int ret, vref_uv; in max11100_read_raw() local88 vref_uv = regulator_get_voltage(state->vref_reg); in max11100_read_raw()89 if (vref_uv < 0) in max11100_read_raw()93 *val = vref_uv / 1000; in max11100_read_raw()
160 int vref_uv; in npcm_adc_read_raw() local175 vref_uv = regulator_get_voltage(info->vref); in npcm_adc_read_raw()176 *val = vref_uv / 1000; in npcm_adc_read_raw()
112 u32 vref_uv; member319 info->vref_uv = regulator_get_voltage(info->vref); in imx7d_adc_read_raw()320 *val = info->vref_uv / 1000; in imx7d_adc_read_raw()
184 u32 vref_uv; member436 *val = st->vref_uv / 1000; in max1363_read_raw()1617 st->vref_uv = st->chip_info->int_vref_mv * 1000; in max1363_probe()1620 int vref_uv; in max1363_probe() local1631 vref_uv = regulator_get_voltage(vref); in max1363_probe()1632 if (vref_uv <= 0) in max1363_probe()1635 st->vref_uv = vref_uv; in max1363_probe()
159 u32 vref_uv; member682 *val = info->vref_uv / 1000; in vf610_read_raw()847 info->vref_uv = regulator_get_voltage(info->vref); in vf610_adc_probe()
591 int vref_uv; member1933 *val = st->vref_uv / 1000; in at91_adc_read_raw()2448 st->vref_uv = regulator_get_voltage(st->vref); in at91_adc_probe()2449 if (st->vref_uv <= 0) { in at91_adc_probe()
117 int vref_uv; in ad7303_read_raw() local126 vref_uv = ad7303_get_vref(st, chan); in ad7303_read_raw()127 if (vref_uv < 0) in ad7303_read_raw()128 return vref_uv; in ad7303_read_raw()130 *val = 2 * vref_uv / 1000; in ad7303_read_raw()
111 unsigned int vref_uv; in ads7828_probe() local132 vref_uv = regulator_get_voltage(reg); in ads7828_probe()133 vref_mv = DIV_ROUND_CLOSEST(vref_uv, 1000); in ads7828_probe()