Home
last modified time | relevance | path

Searched refs:bat_cap (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dab8500_fg.c1072 if (di->bat_cap.mah >= di->bat_cap.max_mah_design || in ab8500_fg_calc_cap_charging()
1074 di->bat_cap.mah = di->bat_cap.max_mah_design; in ab8500_fg_calc_cap_charging()
1134 if (di->bat_cap.mah >= di->bat_cap.max_mah_design) in ab8500_fg_calc_cap_discharge_fg()
1135 di->bat_cap.mah = di->bat_cap.max_mah_design; in ab8500_fg_calc_cap_discharge_fg()
1299 if (di->bat_cap.level != di->bat_cap.prev_level) { in ab8500_fg_check_capacity_limits()
1309 di->bat_cap.prev_level = di->bat_cap.level; in ab8500_fg_check_capacity_limits()
1338 di->bat_cap.prev_mah = di->bat_cap.mah; in ab8500_fg_check_capacity_limits()
1356 di->bat_cap.prev_mah = di->bat_cap.mah; in ab8500_fg_check_capacity_limits()
1383 di->bat_cap.prev_mah = di->bat_cap.mah; in ab8500_fg_check_capacity_limits()
2234 di->bat_cap.max_mah = di->bat_cap.mah; in ab8500_fg_get_ext_psy_data()
[all …]
/openbmc/linux/drivers/staging/nvec/
H A Dnvec_power.c39 int bat_cap; member
164 power->bat_cap = res->plc[1]; in nvec_power_bat_notifier()
249 val->intval = power->bat_cap; in nvec_battery_get_property()