Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
Dab8500_fg.c119 int cap_to_scale[2]; member
1207 cs->cap_to_scale[0] = 100; in ab8500_fg_calculate_scaled_capacity()
1208 cs->cap_to_scale[1] = in ab8500_fg_calculate_scaled_capacity()
1211 cs->cap_to_scale[0], cs->cap_to_scale[1]); in ab8500_fg_calculate_scaled_capacity()
1215 if ((cs->cap_to_scale[0] != cs->cap_to_scale[1]) in ab8500_fg_calculate_scaled_capacity()
1216 && (cs->cap_to_scale[1] > 0)) in ab8500_fg_calculate_scaled_capacity()
1219 cs->cap_to_scale[0], in ab8500_fg_calculate_scaled_capacity()
1220 cs->cap_to_scale[1])); in ab8500_fg_calculate_scaled_capacity()
1265 cs->cap_to_scale[0] = cs->scaled_cap; in ab8500_fg_update_cap_scalers()
1266 cs->cap_to_scale[1] = di->bat_cap.prev_percent; in ab8500_fg_update_cap_scalers()
[all …]