Lines Matching refs:SPWR_BATTERY_VALUE_UNKNOWN
85 #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()
611 if (value != SPWR_BATTERY_VALUE_UNKNOWN) in spwr_battery_get_property()
620 if (value != SPWR_BATTERY_VALUE_UNKNOWN) in spwr_battery_get_property()
629 if (value != SPWR_BATTERY_VALUE_UNKNOWN) in spwr_battery_get_property()