Lines Matching full:ibat
100 * Virtual channel used only for ibat conversion to ampere.
101 * Battery current conversion (ibat) cannot be requested as a
163 #define AB8500_ADC_CH_IBAT_MIN (-6000) /* mA range measured by ADC for ibat */
165 #define AB8500_ADC_CH_IBAT_MIN_V (-60) /* mV range measured by ADC for ibat */
174 * when dividing to get ibat gain.
388 int *ibat) in ab8500_gpadc_read() argument
591 if (ibat != NULL) { in ab8500_gpadc_read()
592 *ibat = (high_data2 << 8) | low_data2; in ab8500_gpadc_read()
595 "gpadc_conversion: ibat not stored\n"); in ab8500_gpadc_read()
782 /* Read IBAT calibration Data */ in ab8500_gpadc_read_calibration_data()
793 /* Calculate gain and offset for IBAT if all reads succeeded */ in ab8500_gpadc_read_calibration_data()