Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dpm8916_lbc.c66 unsigned int charge_voltage_safe; member
89 PM8916_LBC_CHGR_MIN_VOLTAGE, chg->charge_voltage_safe); in pm8916_lbc_charger_configure()
203 ret = device_property_read_u32(dev, "qcom,fast-charge-safe-voltage", &chg->charge_voltage_safe); in pm8916_lbc_charger_probe_dt()
206 if (chg->charge_voltage_safe < PM8916_LBC_CHGR_MIN_VOLTAGE) in pm8916_lbc_charger_probe_dt()
209 chg->charge_voltage_safe = clamp_t(u32, chg->charge_voltage_safe, in pm8916_lbc_charger_probe_dt()
212 tmp = chg->charge_voltage_safe - PM8916_LBC_CHGR_MIN_VOLTAGE; in pm8916_lbc_charger_probe_dt()