Searched refs:ibat (Results 1 – 3 of 3) sorted by relevance
716 int ibat; in calc_capacity() local745 ret = measure_current(info, &ibat); in calc_capacity()749 if (ibat < 0) { in calc_capacity()783 (ibat < 0) ? "discharging" : "charging", in calc_capacity()
578 static DEVICE_ATTR_RO(ibat);
388 int *ibat) in ab8500_gpadc_read() argument591 if (ibat != NULL) { in ab8500_gpadc_read()592 *ibat = (high_data2 << 8) | low_data2; in ab8500_gpadc_read()