Searched refs:charge_now (Results 1 – 5 of 5) sorted by relevance
337 int *charge_now) in ds2781_get_charge_now() argument354 *charge_now = charge_raw * 1600; in ds2781_get_charge_now()
335 int *charge_now) in ds2780_get_charge_now() argument352 *charge_now = charge_raw * 1600; in ds2780_get_charge_now()
112 int ret, charge_full, charge_now; in max17042_get_status() local140 ret = regmap_read(chip->regmap, MAX17042_RepCap, &charge_now); in max17042_get_status()144 if ((charge_full - charge_now) <= MAX17042_FULL_THRESHOLD) { in max17042_get_status()
2454 unsigned long charge_now; in charge_now_store() local2457 ret = kstrtoul(buf, 10, &charge_now); in charge_now_store()2461 di->bat_cap.user_mah = (int) charge_now; in charge_now_store()2471 __ATTR(charge_now, 0644, charge_now_show, charge_now_store);
567 What: /sys/class/power/ds2760-battery.*/charge_now