Searched refs:vref_uv (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/iio/dac/
H A Dad7303.c116 int vref_uv; ad7303_read_raw() local
123 vref_uv = ad7303_get_vref(st, chan); ad7303_read_raw()
124 if (vref_uv < 0) ad7303_read_raw()
125 return vref_uv; ad7303_read_raw()
127 *val = 2 * vref_uv / 1000; ad7303_read_raw()
/linux-4.4.14/drivers/iio/adc/
H A Dmax1363.c161 * @vref_uv: Actual (external or internal) reference voltage
184 u32 vref_uv; member in struct:max1363_state
430 *val = st->vref_uv / 1000; max1363_read_raw()
1555 st->vref_uv = st->chip_info->int_vref_mv * 1000; max1363_probe()
1558 int vref_uv; max1363_probe() local
1564 vref_uv = regulator_get_voltage(vref); max1363_probe()
1565 if (vref_uv <= 0) { max1363_probe()
1569 st->vref_uv = vref_uv; max1363_probe()
H A Dvf610_adc.c173 u32 vref_uv; member in struct:vf610_adc
691 *val = info->vref_uv / 1000; vf610_read_raw()
865 info->vref_uv = regulator_get_voltage(info->vref); vf610_adc_probe()

Completed in 158 milliseconds