Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/power/supply/
Dab8500_chargalg.c504 int vset_uv, int iset_ua) in ab8500_chargalg_ac_en() argument
515 iset_ua = min(iset_ua, di->ac_chg->max_out_curr_ua); in ab8500_chargalg_ac_en()
517 di->chg_info.ac_iset_ua = iset_ua; in ab8500_chargalg_ac_en()
528 return di->ac_chg->ops.enable(di->ac_chg, enable, vset_uv, iset_ua); in ab8500_chargalg_ac_en()
542 int vset_uv, int iset_ua) in ab8500_chargalg_usb_en() argument
551 iset_ua = min(iset_ua, di->usb_chg->max_out_curr_ua); in ab8500_chargalg_usb_en()
553 di->chg_info.usb_iset_ua = iset_ua; in ab8500_chargalg_usb_en()
556 return di->usb_chg->ops.enable(di->usb_chg, enable, vset_uv, iset_ua); in ab8500_chargalg_usb_en()
568 int iset_ua) in ab8500_chargalg_update_chg_curr() argument
578 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()
1752 int vset_uv, int iset_ua) in ab8500_charger_usb_check_enable() argument
1781 ret = ab8500_charger_usb_en(&di->usb_chg, true, vset_uv, iset_ua); in ab8500_charger_usb_check_enable()
1801 int vset_uv, int iset_ua) in ab8500_charger_ac_check_enable() argument
1831 ret = ab8500_charger_ac_en(&di->usb_chg, true, vset_uv, iset_ua); in ab8500_charger_ac_check_enable()