Searched refs:vref_uv (Results 1 – 5 of 5) 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()
225 int ret, vref_uv; in ads7924_read_raw() local238 vref_uv = regulator_get_voltage(data->vref_reg); in ads7924_read_raw()239 if (vref_uv < 0) in ads7924_read_raw()240 return vref_uv; in ads7924_read_raw()242 *val = vref_uv / 1000; /* Convert reg voltage to mV */ in ads7924_read_raw()
114 u32 vref_uv; member321 info->vref_uv = regulator_get_voltage(info->vref); in imx7d_adc_read_raw()322 *val = info->vref_uv / 1000; in imx7d_adc_read_raw()
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()
109 unsigned int vref_uv; in ads7828_probe() local130 vref_uv = regulator_get_voltage(reg); in ads7828_probe()131 vref_mv = DIV_ROUND_CLOSEST(vref_uv, 1000); in ads7828_probe()