Searched refs:vsense_uv (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/iio/adc/
H A Dqcom-spmi-iadc.c323 s32 isense_ua, vsense_uv; iadc_read_raw() local
337 vsense_uv = vsense_raw * IADC_REF_GAIN_MICRO_VOLTS; iadc_read_raw()
338 vsense_uv /= (s32)iadc->gain - iadc->offset[chan->channel]; iadc_read_raw()
340 isense_ua = vsense_uv / iadc->rsense[chan->channel]; iadc_read_raw()
344 adc_raw, vsense_uv, isense_ua); iadc_read_raw()

Completed in 381 milliseconds