Lines Matching refs:iset

473 	int vset, int iset)  in abx500_chargalg_ac_en()  argument
482 iset = min(iset, di->ac_chg->max_out_curr); in abx500_chargalg_ac_en()
484 di->chg_info.ac_iset = iset; in abx500_chargalg_ac_en()
487 return di->ac_chg->ops.enable(di->ac_chg, enable, vset, iset); in abx500_chargalg_ac_en()
501 int vset, int iset) in abx500_chargalg_usb_en() argument
510 iset = min(iset, di->usb_chg->max_out_curr); in abx500_chargalg_usb_en()
512 di->chg_info.usb_iset = iset; in abx500_chargalg_usb_en()
515 return di->usb_chg->ops.enable(di->usb_chg, enable, vset, iset); in abx500_chargalg_usb_en()
527 int iset) in abx500_chargalg_update_chg_curr() argument
537 iset = min(iset, di->ac_chg->max_out_curr); in abx500_chargalg_update_chg_curr()
539 di->chg_info.ac_iset = iset; in abx500_chargalg_update_chg_curr()
541 return di->ac_chg->ops.update_curr(di->ac_chg, iset); in abx500_chargalg_update_chg_curr()
549 iset = min(iset, di->usb_chg->max_out_curr); in abx500_chargalg_update_chg_curr()
551 di->chg_info.usb_iset = iset; in abx500_chargalg_update_chg_curr()
553 return di->usb_chg->ops.update_curr(di->usb_chg, iset); in abx500_chargalg_update_chg_curr()
609 int vset, int iset) in abx500_chargalg_start_charging() argument
614 "AC parameters: Vset %d, Ich %d\n", vset, iset); in abx500_chargalg_start_charging()
616 abx500_chargalg_ac_en(di, true, vset, iset); in abx500_chargalg_start_charging()
621 "USB parameters: Vset %d, Ich %d\n", vset, iset); in abx500_chargalg_start_charging()
623 abx500_chargalg_usb_en(di, true, vset, iset); in abx500_chargalg_start_charging()