Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
Dab8500_chargalg.c485 int vset_uv, int iset_ua) in ab8500_chargalg_ac_en() argument
492 vset_uv = min(vset_uv, di->ac_chg->max_out_volt_uv); in ab8500_chargalg_ac_en()
497 di->chg_info.ac_vset_uv = vset_uv; 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
520 vset_uv = min(vset_uv, di->usb_chg->max_out_volt_uv); in ab8500_chargalg_usb_en()
525 di->chg_info.usb_vset_uv = vset_uv; 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()
621 int vset_uv, int iset_ua) in ab8500_chargalg_start_charging() argument
626 "AC parameters: Vset %d, Ich %d\n", vset_uv, iset_ua); in ab8500_chargalg_start_charging()
[all …]
Dab8500_charger.c1406 int enable, int vset_uv, int iset_ua) in ab8500_charger_ac_en() argument
1424 dev_dbg(di->dev, "Enable AC: %duV %duA\n", vset_uv, iset_ua); in ab8500_charger_ac_en()
1446 volt_index = ab8500_voltage_to_regval(vset_uv); in ab8500_charger_ac_en()
1583 int enable, int vset_uv, int ich_out_ua) in ab8500_charger_usb_en() argument
1619 dev_dbg(di->dev, "Enable USB: %d uV %d uA\n", vset_uv, ich_out_ua); in ab8500_charger_usb_en()
1622 volt_index = ab8500_voltage_to_regval(vset_uv); in ab8500_charger_usb_en()
1741 int vset_uv, int iset_ua) in ab8500_charger_usb_check_enable() argument
1770 ret = ab8500_charger_usb_en(&di->usb_chg, true, vset_uv, iset_ua); in ab8500_charger_usb_check_enable()
1790 int vset_uv, int iset_ua) in ab8500_charger_ac_check_enable() argument
1820 ret = ab8500_charger_ac_en(&di->usb_chg, true, vset_uv, iset_ua); in ab8500_charger_ac_check_enable()