Home
last modified time | relevance | path

Searched refs:charge_current (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/power/supply/
A Daxp20x_battery.c393 int charge_current) in axp20x_set_constant_charge_current() argument
395 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()
409 int charge_current) in axp20x_set_max_constant_charge_current() argument
413 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()
428 axp->max_ccc = charge_current; in axp20x_set_max_constant_charge_current()
[all …]
A Dbq24735-charger.c120 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()
A Dcpcap-charger.c419 int max_voltage, int charge_current, in cpcap_charger_enable() argument
424 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()
A Dbq2415x_charger.c710 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()
/linux-6.3-rc2/include/linux/power/
A Dbq24735-charger.h12 uint32_t charge_current; member
A Dbq2415x_charger.h39 int charge_current; /* mA */ member

Completed in 15 milliseconds