Lines Matching refs:cap_to_scale
119 int cap_to_scale[2]; member
1212 cs->cap_to_scale[0] = 100; in ab8500_fg_calculate_scaled_capacity()
1213 cs->cap_to_scale[1] = in ab8500_fg_calculate_scaled_capacity()
1216 cs->cap_to_scale[0], cs->cap_to_scale[1]); in ab8500_fg_calculate_scaled_capacity()
1220 if ((cs->cap_to_scale[0] != cs->cap_to_scale[1]) in ab8500_fg_calculate_scaled_capacity()
1221 && (cs->cap_to_scale[1] > 0)) in ab8500_fg_calculate_scaled_capacity()
1224 cs->cap_to_scale[0], in ab8500_fg_calculate_scaled_capacity()
1225 cs->cap_to_scale[1])); in ab8500_fg_calculate_scaled_capacity()
1270 cs->cap_to_scale[0] = cs->scaled_cap; in ab8500_fg_update_cap_scalers()
1271 cs->cap_to_scale[1] = di->bat_cap.prev_percent; in ab8500_fg_update_cap_scalers()
1273 cs->cap_to_scale[0] = 100; in ab8500_fg_update_cap_scalers()
1274 cs->cap_to_scale[1] = in ab8500_fg_update_cap_scalers()
1280 cs->cap_to_scale[0], cs->cap_to_scale[1]); in ab8500_fg_update_cap_scalers()
1345 di->bat_cap.cap_scale.cap_to_scale[0] = 100; in ab8500_fg_check_capacity_limits()
1346 di->bat_cap.cap_scale.cap_to_scale[1] = in ab8500_fg_check_capacity_limits()