Searched refs:charge_current (Results 1 – 6 of 6) sorted by relevance
393 int charge_current) in axp20x_set_constant_charge_current() argument395 if (charge_current > axp_batt->max_ccc) in axp20x_set_constant_charge_current()398 charge_current = (charge_current - axp_batt->data->ccc_offset) / in axp20x_set_constant_charge_current()401 if (charge_current > AXP20X_CHRG_CTRL1_TGT_CURR || charge_current < 0) in axp20x_set_constant_charge_current()405 AXP20X_CHRG_CTRL1_TGT_CURR, charge_current); in axp20x_set_constant_charge_current()409 int charge_current) in axp20x_set_max_constant_charge_current() argument413 charge_current = (charge_current - axp->data->ccc_offset) / in axp20x_set_max_constant_charge_current()416 if (charge_current > AXP20X_CHRG_CTRL1_TGT_CURR || charge_current < 0) in axp20x_set_max_constant_charge_current()419 charge_current = charge_current * axp->data->ccc_scale + in axp20x_set_max_constant_charge_current()422 if (charge_current > axp->max_ccc) in axp20x_set_max_constant_charge_current()[all …]
120 if (pdata->charge_current) { in bq24735_config_charger()121 value = pdata->charge_current & BQ24735_CHARGE_CURRENT_MASK; in bq24735_config_charger()340 pdata->charge_current = val; in bq24735_parse_dt_data()
419 int max_voltage, int charge_current, in cpcap_charger_enable() argument424 if (!max_voltage || !charge_current) in cpcap_charger_enable()428 max_voltage, charge_current, trickle_current); in cpcap_charger_enable()436 charge_current); in cpcap_charger_enable()
710 bq2415x_set_default_value(bq, charge_current); in bq2415x_set_defaults()1413 static DEVICE_ATTR(charge_current, S_IWUSR | S_IRUGO,1605 &bq->init_data.charge_current); in bq2415x_probe()
12 uint32_t charge_current; member
39 int charge_current; /* mA */ member