Lines Matching full:reading
110 int reading; in powr1220_read_adc() local
122 * max reading. in powr1220_read_adc()
140 /* get the ADC reading */ in powr1220_read_adc()
145 reading = result >> 4; in powr1220_read_adc()
147 /* get the upper half of the reading */ in powr1220_read_adc()
152 reading |= result << 4; in powr1220_read_adc()
154 /* now convert the reading to a voltage */ in powr1220_read_adc()
155 reading *= ADC_STEP_MV; in powr1220_read_adc()
156 data->adc_values[ch_num] = reading; in powr1220_read_adc()
159 result = reading; in powr1220_read_adc()
161 if (reading > data->adc_maxes[ch_num]) in powr1220_read_adc()
162 data->adc_maxes[ch_num] = reading; in powr1220_read_adc()