Home
last modified time | relevance | path

Searched refs:charge_now (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Drk817_charger.c243 int tmp, charge_now, charge_now_adc, volt_avg; in rk817_bat_calib_cap() local
283 charge_now = ADC_TO_CHARGE_UAH(charge_now_adc, in rk817_bat_calib_cap()
289 if (charge_now / 1000 > charger->fcc_mah) { in rk817_bat_calib_cap()
292 charge_now); in rk817_bat_calib_cap()
324 charge_now = ADC_TO_CHARGE_UAH(charge_now_adc, in rk817_bat_calib_cap()
331 charger->fcc_mah = charger->fcc_mah - (charge_now / 1000); in rk817_bat_calib_cap()
H A Dds2780_battery.c335 int *charge_now) in ds2780_get_charge_now() argument
352 *charge_now = charge_raw * 1600; in ds2780_get_charge_now()
H A Dds2781_battery.c337 int *charge_now) in ds2781_get_charge_now() argument
354 *charge_now = charge_raw * 1600; in ds2781_get_charge_now()
H A Dmax17042_battery.c113 int ret, charge_full, charge_now; in max17042_get_status() local
141 ret = regmap_read(chip->regmap, MAX17042_RepCap, &charge_now); in max17042_get_status()
145 if ((charge_full - charge_now) <= MAX17042_FULL_THRESHOLD) { in max17042_get_status()
H A Dab8500_fg.c2479 unsigned long charge_now; in charge_now_store() local
2482 ret = kstrtoul(buf, 10, &charge_now); in charge_now_store()
2486 di->bat_cap.user_mah = (int) charge_now; in charge_now_store()
2496 __ATTR(charge_now, 0644, charge_now_show, charge_now_store);
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-power603 What: /sys/class/power/ds2760-battery.*/charge_now