Searched refs:charge_full (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/drivers/power/supply/ |
D | cpcap-battery.c | 134 int charge_full; member 579 ddata->charge_full = in cpcap_battery_update_status() 581 } else if (ddata->charge_full) { in cpcap_battery_update_status() 584 full->counter_uah + ddata->charge_full; in cpcap_battery_update_status() 593 ddata->charge_full = in cpcap_battery_update_status() 725 if (!empty->voltage || !ddata->charge_full) in cpcap_battery_get_property() 729 ddata->charge_full / 200; in cpcap_battery_get_property() 730 val->intval = clamp(val->intval, 0, ddata->charge_full); in cpcap_battery_get_property() 731 val->intval = val->intval * 100 / ddata->charge_full; in cpcap_battery_get_property() 754 if (ddata->charge_full && abs(val->intval) > ddata->charge_full/5) { in cpcap_battery_get_property() [all …]
|
D | max17042_battery.c | 113 int ret, charge_full, charge_now; in max17042_get_status() local 137 ret = regmap_read(chip->regmap, MAX17042_FullCAP, &charge_full); in max17042_get_status() 145 if ((charge_full - charge_now) <= MAX17042_FULL_THRESHOLD) { in max17042_get_status()
|
D | ab8500_fg.c | 2462 unsigned long charge_full; in charge_full_store() local 2465 ret = kstrtoul(buf, 10, &charge_full); in charge_full_store() 2469 di->bat_cap.max_mah = (int) charge_full; in charge_full_store() 2495 __ATTR(charge_full, 0644, charge_full_show, charge_full_store);
|
D | bq27xxx_battery.c | 1781 cache.charge_full = bq27xxx_battery_read_fcc(di); 2043 ret = bq27xxx_simple_value(di->cache.charge_full, val);
|
/Linux-v6.1/include/linux/power/ |
D | bq27xxx_battery.h | 52 int charge_full; member
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-class-power | 614 What: /sys/class/power/ds2760-battery.*/charge_full
|