Searched refs:charge_current_max (Results 1 – 1 of 1) sorted by relevance
67 unsigned int charge_current_max; member99 chg->charge_current_max = min(chg->charge_current_max, chg->charge_current_safe); in pm8916_lbc_charger_configure()101 tmp = clamp_t(u32, chg->charge_current_max, in pm8916_lbc_charger_configure()104 tmp = chg->charge_current_max / PM8916_LBC_CHGR_MIN_CURRENT - 1; in pm8916_lbc_charger_configure()105 chg->charge_current_max = (tmp + 1) * PM8916_LBC_CHGR_MIN_CURRENT; in pm8916_lbc_charger_configure()139 val->intval = chg->charge_current_max; in pm8916_lbc_charger_get_property()155 chg->charge_current_max = val->intval; in pm8916_lbc_charger_set_property()227 chg->charge_current_max = chg->charge_current_safe; in pm8916_lbc_charger_probe_dt()