Lines Matching full:ccc
960 int ccc = info->constant_charge_current_max_ua; in axp209_set_battery_info() local
966 /* Set max to unverified value to be able to set CCC */ in axp209_set_battery_info()
967 axp_batt->max_ccc = ccc; in axp209_set_battery_info()
969 if (ccc <= 0 || axp20x_set_constant_charge_current(axp_batt, ccc)) { in axp209_set_battery_info()
971 "couldn't set ccc from DT: fallback to min value\n"); in axp209_set_battery_info()
972 ccc = 300000; in axp209_set_battery_info()
973 axp_batt->max_ccc = ccc; in axp209_set_battery_info()
974 axp20x_set_constant_charge_current(axp_batt, ccc); in axp209_set_battery_info()
984 int ccc = info->constant_charge_current_max_ua; in axp717_set_battery_info() local
996 axp_batt->max_ccc = ccc; in axp717_set_battery_info()
997 if (ccc <= 0 || axp717_set_constant_charge_current(axp_batt, ccc)) { in axp717_set_battery_info()
999 "couldn't set ccc from DT: current ccc is %d\n", in axp717_set_battery_info()
1116 * Update max CCC to a valid value if battery info is present or set it in axp20x_power_probe()