Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dlp8788-charger.c254 unsigned int max_vbatt; in lp8788_get_battery_capacity() local
263 max_vbatt = pdata->max_vbatt_mv; in lp8788_get_battery_capacity()
264 if (max_vbatt == 0) in lp8788_get_battery_capacity()
280 val->intval = (vbatt * LP8788_MAX_BATT_CAPACITY) / max_vbatt; in lp8788_get_battery_capacity()