Searched refs:charge_now (Results 1 – 4 of 4) 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()
2456 unsigned long charge_now; in charge_now_store() local2459 ret = kstrtoul(buf, 10, &charge_now); in charge_now_store()2463 di->bat_cap.user_mah = (int) charge_now; in charge_now_store()2473 __ATTR(charge_now, 0644, charge_now_show, charge_now_store);