Lines Matching full:reading
107 int reading; in powr1220_read_adc() local
119 * max reading. in powr1220_read_adc()
137 /* get the ADC reading */ in powr1220_read_adc()
142 reading = result >> 4; in powr1220_read_adc()
144 /* get the upper half of the reading */ in powr1220_read_adc()
149 reading |= result << 4; in powr1220_read_adc()
151 /* now convert the reading to a voltage */ in powr1220_read_adc()
152 reading *= ADC_STEP_MV; in powr1220_read_adc()
153 data->adc_values[ch_num] = reading; in powr1220_read_adc()
156 result = reading; in powr1220_read_adc()
158 if (reading > data->adc_maxes[ch_num]) in powr1220_read_adc()
159 data->adc_maxes[ch_num] = reading; in powr1220_read_adc()