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

/linux-4.1.27/drivers/power/
H A Dlp8788-charger.c56 #define LP8788_MAX_BATT_CAPACITY 100 macro
278 val->intval = LP8788_MAX_BATT_CAPACITY; lp8788_get_battery_capacity()
284 val->intval = (vbatt * LP8788_MAX_BATT_CAPACITY) / max_vbatt; lp8788_get_battery_capacity()
285 val->intval = min(val->intval, LP8788_MAX_BATT_CAPACITY); lp8788_get_battery_capacity()

Completed in 52 milliseconds