Lines Matching defs:value
193 static int adc12138_read_conv_data(struct adc12138 *adc, __be16 *value)
197 value, sizeof(*value));
210 __be16 *value)
224 return adc12138_read_conv_data(adc, value);
228 struct iio_chan_spec const *channel, int *value,
243 *value = sign_extend32(be16_to_cpu(data) >> channel->scan_type.shift,
251 *value = ret;
257 *value -= ret;
261 *value /= 1000;
267 *value = regulator_get_voltage(adc->vref_n);
268 if (*value < 0)
269 return *value;
271 *value = 0;
275 *value /= 1000;