Home
last modified time | relevance | path

Searched refs:iset_ua (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/power/supply/
Dab8500_chargalg.c485 int vset_uv, int iset_ua) in ab8500_chargalg_ac_en() argument
494 iset_ua = min(iset_ua, di->ac_chg->max_out_curr_ua); in ab8500_chargalg_ac_en()
496 di->chg_info.ac_iset_ua = iset_ua; in ab8500_chargalg_ac_en()
499 return di->ac_chg->ops.enable(di->ac_chg, enable, vset_uv, iset_ua); in ab8500_chargalg_ac_en()
513 int vset_uv, int iset_ua) in ab8500_chargalg_usb_en() argument
522 iset_ua = min(iset_ua, di->usb_chg->max_out_curr_ua); in ab8500_chargalg_usb_en()
524 di->chg_info.usb_iset_ua = iset_ua; in ab8500_chargalg_usb_en()
527 return di->usb_chg->ops.enable(di->usb_chg, enable, vset_uv, iset_ua); in ab8500_chargalg_usb_en()
539 int iset_ua) in ab8500_chargalg_update_chg_curr() argument
549 iset_ua = min(iset_ua, di->ac_chg->max_out_curr_ua); in ab8500_chargalg_update_chg_curr()
[all …]
Dab8500_charger.c1394 int enable, int vset_uv, int iset_ua) in ab8500_charger_ac_en() argument
1412 dev_dbg(di->dev, "Enable AC: %duV %duA\n", vset_uv, iset_ua); in ab8500_charger_ac_en()
1435 curr_index = ab8500_current_to_regval(di, iset_ua); in ab8500_charger_ac_en()
1461 ret = ab8500_charger_set_output_curr(di, iset_ua); in ab8500_charger_ac_en()
1729 int vset_uv, int iset_ua) in ab8500_charger_usb_check_enable() argument
1758 ret = ab8500_charger_usb_en(&di->usb_chg, true, vset_uv, iset_ua); in ab8500_charger_usb_check_enable()
1778 int vset_uv, int iset_ua) in ab8500_charger_ac_check_enable() argument
1808 ret = ab8500_charger_ac_en(&di->usb_chg, true, vset_uv, iset_ua); in ab8500_charger_ac_check_enable()