Searched refs:axp_batt (Results 1 – 1 of 1) sorted by relevance
391 static int axp20x_set_constant_charge_current(struct axp20x_batt_ps *axp_batt, in axp20x_set_constant_charge_current() argument394 if (charge_current > axp_batt->max_ccc) in axp20x_set_constant_charge_current()397 charge_current = (charge_current - axp_batt->data->ccc_offset) / in axp20x_set_constant_charge_current()398 axp_batt->data->ccc_scale; in axp20x_set_constant_charge_current()403 return regmap_update_bits(axp_batt->regmap, AXP20X_CHRG_CTRL1, in axp20x_set_constant_charge_current()439 static int axp20x_set_voltage_min_design(struct axp20x_batt_ps *axp_batt, in axp20x_set_voltage_min_design() argument447 return regmap_update_bits(axp_batt->regmap, AXP20X_V_OFF, in axp20x_set_voltage_min_design()