Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dsurface_battery.c85 #define SPWR_BATTERY_VALUE_UNKNOWN 0xffffffff macro
273 if (full_cap == 0 || full_cap == SPWR_BATTERY_VALUE_UNKNOWN) in sprw_battery_get_full_cap_safe()
287 return full_cap != SPWR_BATTERY_VALUE_UNKNOWN && full_cap != 0 && in spwr_battery_is_full()
288 remaining_cap != SPWR_BATTERY_VALUE_UNKNOWN && in spwr_battery_is_full()
515 if (full_cap == 0 || full_cap == SPWR_BATTERY_VALUE_UNKNOWN) in spwr_battery_prop_capacity()
518 if (remaining_cap == SPWR_BATTERY_VALUE_UNKNOWN) in spwr_battery_prop_capacity()
577 if (value != SPWR_BATTERY_VALUE_UNKNOWN) in spwr_battery_get_property()
585 if (value != SPWR_BATTERY_VALUE_UNKNOWN) in spwr_battery_get_property()
593 if (value != SPWR_BATTERY_VALUE_UNKNOWN) in spwr_battery_get_property()
602 if (value != SPWR_BATTERY_VALUE_UNKNOWN) in spwr_battery_get_property()
[all …]