Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
Dab8500_fg.c131 int prev_percent; member
1197 int capacity = di->bat_cap.prev_percent; in ab8500_fg_calculate_scaled_capacity()
1218 DIV_ROUND_CLOSEST(di->bat_cap.prev_percent * in ab8500_fg_calculate_scaled_capacity()
1228 if (di->bat_cap.prev_percent >= in ab8500_fg_calculate_scaled_capacity()
1232 capacity = di->bat_cap.prev_percent; in ab8500_fg_calculate_scaled_capacity()
1266 cs->cap_to_scale[1] = di->bat_cap.prev_percent; in ab8500_fg_update_cap_scalers()
1270 max(di->bat_cap.prev_percent, in ab8500_fg_update_cap_scalers()
1320 di->bat_cap.prev_percent = 0; in ab8500_fg_check_capacity_limits()
1332 di->bat_cap.prev_percent = percent; in ab8500_fg_check_capacity_limits()
1342 di->bat_cap.prev_percent; in ab8500_fg_check_capacity_limits()
[all …]