Home
last modified time | relevance | path

Searched refs:vref_uv (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/drivers/iio/adc/
Dmax11100.c77 int ret, vref_uv; in max11100_read_raw() local
89 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()
Dimx7d_adc.c116 u32 vref_uv; member
327 info->vref_uv = regulator_get_voltage(info->vref); in imx7d_adc_read_raw()
328 *val = info->vref_uv / 1000; in imx7d_adc_read_raw()
Dmax1363.c186 u32 vref_uv; member
432 *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() local
1620 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()
Dvf610_adc.c173 u32 vref_uv; member
696 *val = info->vref_uv / 1000; in vf610_read_raw()
869 info->vref_uv = regulator_get_voltage(info->vref); in vf610_adc_probe()
Dat91-sama5d2_adc.c398 int vref_uv; member
1409 *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()
/linux-4.19.296/drivers/iio/dac/
Dad7303.c116 int vref_uv; in ad7303_read_raw() local
123 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()