Searched refs:adc_raw (Results 1 – 3 of 3) sorted by relevance
263 u16 *adc_raw, in max9611_read_csa_voltage() argument275 ret = max9611_read_single(max9611, gain_selectors[i], adc_raw); in max9611_read_csa_voltage()279 if (*adc_raw > 0) { in max9611_read_csa_voltage()
316 u16 adc_raw, vsense_raw; in iadc_read_raw() local322 ret = iadc_do_conversion(iadc, chan->channel, &adc_raw); in iadc_read_raw()327 vsense_raw = adc_raw - iadc->offset[chan->channel]; in iadc_read_raw()336 adc_raw, vsense_uv, isense_ua); in iadc_read_raw()
220 u32 index, adc_raw = 0; in aspeed_adc_compensation() local251 adc_raw += readw(data->base + aspeed_adc_iio_channels[0].address); in aspeed_adc_compensation()253 adc_raw >>= 4; in aspeed_adc_compensation()254 data->cv = BIT(ASPEED_RESOLUTION_BITS - 1) - adc_raw; in aspeed_adc_compensation()
Completed in 12 milliseconds