Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dab8500-gpadc.c163 #define AB8500_ADC_CH_IBAT_MIN (-6000) /* mA range measured by ADC for ibat */ macro
363 res = AB8500_ADC_CH_IBAT_MIN + (AB8500_ADC_CH_IBAT_MAX - in ab8500_gpadc_ad_to_voltage()
364 AB8500_ADC_CH_IBAT_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()
816 V2A_gain = (AB8500_ADC_CH_IBAT_MAX - AB8500_ADC_CH_IBAT_MIN)/ in ab8500_gpadc_read_calibration_data()
818 V2A_offset = ((AB8500_ADC_CH_IBAT_MAX_V * AB8500_ADC_CH_IBAT_MIN - in ab8500_gpadc_read_calibration_data()