Home
last modified time | relevance | path

Searched refs:charge_full (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/power/supply/
H A Dcpcap-battery.c134 int charge_full; member
579 ddata->charge_full = in cpcap_battery_update_status()
581 } else if (ddata->charge_full) { in cpcap_battery_update_status()
593 ddata->charge_full = in cpcap_battery_update_status()
729 ddata->charge_full / 200; in cpcap_battery_get_property()
754 if (ddata->charge_full && abs(val->intval) > ddata->charge_full/5) { in cpcap_battery_get_property()
756 ddata->charge_full = 0; in cpcap_battery_get_property()
760 } else if (ddata->charge_full && ddata->charge_full < val->intval) { in cpcap_battery_get_property()
764 ddata->charge_full = 0; in cpcap_battery_get_property()
771 if (!ddata->charge_full) in cpcap_battery_get_property()
[all …]
H A Dmax17042_battery.c115 int ret, charge_full, charge_now; in max17042_get_status() local
139 ret = regmap_read(chip->regmap, MAX17042_FullCAP, &charge_full); in max17042_get_status()
147 if ((charge_full - charge_now) <= MAX17042_FULL_THRESHOLD) { in max17042_get_status()
H A Dab8500_fg.c2453 unsigned long charge_full; in charge_full_store() local
2456 ret = kstrtoul(buf, 10, &charge_full); in charge_full_store()
2460 di->bat_cap.max_mah = (int) charge_full; in charge_full_store()
2486 __ATTR(charge_full, 0644, charge_full_show, charge_full_store);
/linux-6.15/tools/testing/selftests/power_supply/
H A Dtest_power_supply_properties.sh103 test_sysfs_prop_optional charge_full "uAh"
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-class-power656 What: /sys/class/power/ds2760-battery.*/charge_full