Lines Matching refs:cap_scale
134 struct ab8500_fg_cap_scaling cap_scale; member
1201 struct ab8500_fg_cap_scaling *cs = &di->bat_cap.cap_scale; in ab8500_fg_calculate_scaled_capacity()
1259 struct ab8500_fg_cap_scaling *cs = &di->bat_cap.cap_scale; in ab8500_fg_update_cap_scalers()
1264 di->bat_cap.cap_scale.disable_cap_level = in ab8500_fg_update_cap_scalers()
1265 di->bat_cap.cap_scale.scaled_cap; in ab8500_fg_update_cap_scalers()
1267 di->bat_cap.cap_scale.disable_cap_level); in ab8500_fg_update_cap_scalers()
1342 if (!di->bat_cap.cap_scale.enable && in ab8500_fg_check_capacity_limits()
1344 di->bat_cap.cap_scale.enable = true; in ab8500_fg_check_capacity_limits()
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()
1348 di->bat_cap.cap_scale.disable_cap_level = 100; in ab8500_fg_check_capacity_limits()
1397 di->bat_cap.cap_scale.scaled_cap = in ab8500_fg_check_capacity_limits()
1402 di->bat_cap.cap_scale.scaled_cap); in ab8500_fg_check_capacity_limits()