Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dpm8916_lbc.c68 unsigned int charge_current_safe; member
99 chg->charge_current_max = min(chg->charge_current_max, chg->charge_current_safe); in pm8916_lbc_charger_configure()
218 ret = device_property_read_u32(dev, "qcom,fast-charge-safe-current", &chg->charge_current_safe); in pm8916_lbc_charger_probe_dt()
221 if (chg->charge_current_safe < PM8916_LBC_CHGR_MIN_CURRENT) in pm8916_lbc_charger_probe_dt()
224 chg->charge_current_safe = clamp_t(u32, chg->charge_current_safe, in pm8916_lbc_charger_probe_dt()
227 chg->charge_current_max = chg->charge_current_safe; in pm8916_lbc_charger_probe_dt()
229 tmp = chg->charge_current_safe / PM8916_LBC_CHGR_MIN_CURRENT - 1; in pm8916_lbc_charger_probe_dt()