Home
last modified time | relevance | path

Searched refs:vref_uV (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/iio/adc/
Dmax1241.c70 int ret, vref_uV; in max1241_read_raw() local
95 vref_uV = regulator_get_voltage(adc->vref); in max1241_read_raw()
97 if (vref_uV < 0) in max1241_read_raw()
98 return vref_uV; in max1241_read_raw()
100 *val = vref_uV / 1000; in max1241_read_raw()
Dmax1118.c121 int vref_uV; in max1118_get_vref_mV() local
129 vref_uV = regulator_get_voltage(adc->reg); in max1118_get_vref_mV()
130 if (vref_uV < 0) in max1118_get_vref_mV()
131 return vref_uV; in max1118_get_vref_mV()
132 return vref_uV / 1000; in max1118_get_vref_mV()