Searched refs:LP8788_MAX_BATT_CAPACITY (Results 1 – 1 of 1) sorted by relevance
52 #define LP8788_MAX_BATT_CAPACITY 100 macro274 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()