Home
last modified time | relevance | path

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

/drivers/power/supply/
D88pm860x_battery.c716 int ibat; in calc_capacity() local
745 ret = measure_current(info, &ibat); in calc_capacity()
749 if (ibat < 0) { in calc_capacity()
783 (ibat < 0) ? "discharging" : "charging", in calc_capacity()
Dltc4162-l-charger.c578 static DEVICE_ATTR_RO(ibat);
/drivers/iio/adc/
Dab8500-gpadc.c388 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()