Home
last modified time | relevance | path

Searched refs:adc_raw (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/iio/adc/
Dmax9611.c263 u16 *adc_raw, in max9611_read_csa_voltage() argument
275 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()
Dqcom-spmi-iadc.c316 u16 adc_raw, vsense_raw; in iadc_read_raw() local
322 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()
Daspeed_adc.c218 u32 index, adc_raw = 0; in aspeed_adc_compensation() local
249 adc_raw += readw(data->base + aspeed_adc_iio_channels[0].address); in aspeed_adc_compensation()
251 adc_raw >>= 4; in aspeed_adc_compensation()
252 data->cv = BIT(ASPEED_RESOLUTION_BITS - 1) - adc_raw; in aspeed_adc_compensation()