Lines Matching refs:reading
116 int reading;
128 * max reading.
146 /* get the ADC reading */
151 reading = result >> 4;
153 /* get the upper half of the reading */
158 reading |= result << 4;
160 /* now convert the reading to a voltage */
161 reading *= ADC_STEP_MV;
162 data->adc_values[ch_num] = reading;
165 result = reading;
167 if (reading > data->adc_maxes[ch_num])
168 data->adc_maxes[ch_num] = reading;