Searched refs:vset_uv (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | ab8500_chargalg.c | 485 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() 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() 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() 628 ab8500_chargalg_ac_en(di, true, vset_uv, iset_ua); in ab8500_chargalg_start_charging() 633 "USB parameters: Vset %d, Ich %d\n", vset_uv, iset_ua); in ab8500_chargalg_start_charging() [all …]
|
H A D | ab8500_charger.c | 1394 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() 1434 volt_index = ab8500_voltage_to_regval(vset_uv); in ab8500_charger_ac_en() 1571 int enable, int vset_uv, int ich_out_ua) in ab8500_charger_usb_en() argument 1607 dev_dbg(di->dev, "Enable USB: %d uV %d uA\n", vset_uv, ich_out_ua); in ab8500_charger_usb_en() 1610 volt_index = ab8500_voltage_to_regval(vset_uv); in ab8500_charger_usb_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()
|