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