Searched refs:vref_uV (Results 1 – 2 of 2) sorted by relevance
70 int ret, vref_uV; in max1241_read_raw() local95 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()
121 int vref_uV; in max1118_get_vref_mV() local129 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()