Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/adc/
A 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()
A 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()
A Daspeed_adc.c220 u32 index, adc_raw = 0; in aspeed_adc_compensation() local
251 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