Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/power/supply/
Dlp8788-charger.c52 #define LP8788_MAX_BATT_CAPACITY 100 macro
274 val->intval = LP8788_MAX_BATT_CAPACITY; in lp8788_get_battery_capacity()
280 val->intval = (vbatt * LP8788_MAX_BATT_CAPACITY) / max_vbatt; in lp8788_get_battery_capacity()
281 val->intval = min(val->intval, LP8788_MAX_BATT_CAPACITY); in lp8788_get_battery_capacity()