rem_capacity 104 drivers/power/supply/ds2760_battery.c int rem_capacity; /* percentage */ rem_capacity 352 drivers/power/supply/ds2760_battery.c di->rem_capacity = 0; rem_capacity 356 drivers/power/supply/ds2760_battery.c di->rem_capacity = ((di->accum_current_uAh - di->empty_uAh) * 100L) / rem_capacity 359 drivers/power/supply/ds2760_battery.c if (di->rem_capacity < 0) rem_capacity 360 drivers/power/supply/ds2760_battery.c di->rem_capacity = 0; rem_capacity 361 drivers/power/supply/ds2760_battery.c if (di->rem_capacity > 100) rem_capacity 362 drivers/power/supply/ds2760_battery.c di->rem_capacity = 100; rem_capacity 586 drivers/power/supply/ds2760_battery.c val->intval = di->rem_capacity;