Searched refs:ADC_CH_IBAT_MIN (Results 1 – 1 of 1) sorted by relevance
101 #define ADC_CH_IBAT_MIN (-6000) /* mA range measured by ADC for ibat */ macro277 res = ADC_CH_IBAT_MIN + (ADC_CH_IBAT_MAX - in ab8500_gpadc_ad_to_voltage()278 ADC_CH_IBAT_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()781 V2A_gain = (ADC_CH_IBAT_MAX - ADC_CH_IBAT_MIN)/ in ab8500_gpadc_read_calibration_data()783 V2A_offset = ((ADC_CH_IBAT_MAX_V * ADC_CH_IBAT_MIN - in ab8500_gpadc_read_calibration_data()