Lines Matching refs:iset_ua
485 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()
551 di->chg_info.ac_iset_ua = iset_ua; in ab8500_chargalg_update_chg_curr()
553 return di->ac_chg->ops.update_curr(di->ac_chg, iset_ua); in ab8500_chargalg_update_chg_curr()
561 iset_ua = min(iset_ua, di->usb_chg->max_out_curr_ua); in ab8500_chargalg_update_chg_curr()
563 di->chg_info.usb_iset_ua = iset_ua; in ab8500_chargalg_update_chg_curr()
565 return di->usb_chg->ops.update_curr(di->usb_chg, iset_ua); in ab8500_chargalg_update_chg_curr()
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()
635 ab8500_chargalg_usb_en(di, true, vset_uv, iset_ua); in ab8500_chargalg_start_charging()