Lines Matching refs:cap_to_scale
117 int cap_to_scale[2]; member
1192 cs->cap_to_scale[0] = 100; in ab8500_fg_calculate_scaled_capacity()
1193 cs->cap_to_scale[1] = in ab8500_fg_calculate_scaled_capacity()
1196 cs->cap_to_scale[0], cs->cap_to_scale[1]); in ab8500_fg_calculate_scaled_capacity()
1200 if ((cs->cap_to_scale[0] != cs->cap_to_scale[1]) in ab8500_fg_calculate_scaled_capacity()
1201 && (cs->cap_to_scale[1] > 0)) in ab8500_fg_calculate_scaled_capacity()
1204 cs->cap_to_scale[0], in ab8500_fg_calculate_scaled_capacity()
1205 cs->cap_to_scale[1])); in ab8500_fg_calculate_scaled_capacity()
1250 cs->cap_to_scale[0] = cs->scaled_cap; in ab8500_fg_update_cap_scalers()
1251 cs->cap_to_scale[1] = di->bat_cap.prev_percent; in ab8500_fg_update_cap_scalers()
1253 cs->cap_to_scale[0] = 100; in ab8500_fg_update_cap_scalers()
1254 cs->cap_to_scale[1] = in ab8500_fg_update_cap_scalers()
1260 cs->cap_to_scale[0], cs->cap_to_scale[1]); in ab8500_fg_update_cap_scalers()
1325 di->bat_cap.cap_scale.cap_to_scale[0] = 100; in ab8500_fg_check_capacity_limits()
1326 di->bat_cap.cap_scale.cap_to_scale[1] = in ab8500_fg_check_capacity_limits()