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

/linux-4.4.14/drivers/power/
H A Dab8500_fg.c117 int cap_to_scale[2]; member in struct:ab8500_fg_cap_scaling
1199 cs->cap_to_scale[0] = 100; ab8500_fg_calculate_scaled_capacity()
1200 cs->cap_to_scale[1] = ab8500_fg_calculate_scaled_capacity()
1203 cs->cap_to_scale[0], cs->cap_to_scale[1]); ab8500_fg_calculate_scaled_capacity()
1207 if ((cs->cap_to_scale[0] != cs->cap_to_scale[1]) ab8500_fg_calculate_scaled_capacity()
1208 && (cs->cap_to_scale[1] > 0)) ab8500_fg_calculate_scaled_capacity()
1211 cs->cap_to_scale[0], ab8500_fg_calculate_scaled_capacity()
1212 cs->cap_to_scale[1])); ab8500_fg_calculate_scaled_capacity()
1257 cs->cap_to_scale[0] = cs->scaled_cap; ab8500_fg_update_cap_scalers()
1258 cs->cap_to_scale[1] = di->bat_cap.prev_percent; ab8500_fg_update_cap_scalers()
1260 cs->cap_to_scale[0] = 100; ab8500_fg_update_cap_scalers()
1261 cs->cap_to_scale[1] = ab8500_fg_update_cap_scalers()
1267 cs->cap_to_scale[0], cs->cap_to_scale[1]); ab8500_fg_update_cap_scalers()
1332 di->bat_cap.cap_scale.cap_to_scale[0] = 100; ab8500_fg_check_capacity_limits()
1333 di->bat_cap.cap_scale.cap_to_scale[1] = ab8500_fg_check_capacity_limits()

Completed in 69 milliseconds