Searched refs:remaining_cap (Results 1 – 1 of 1) sorted by relevance
78 __le32 remaining_cap; member283 u32 remaining_cap = get_unaligned_le32(&bat->bst.remaining_cap); in spwr_battery_is_full() local288 remaining_cap != SPWR_BATTERY_VALUE_UNKNOWN && in spwr_battery_is_full()289 remaining_cap >= full_cap && in spwr_battery_is_full()511 u32 remaining_cap = get_unaligned_le32(&bat->bst.remaining_cap); in spwr_battery_prop_capacity() local518 if (remaining_cap == SPWR_BATTERY_VALUE_UNKNOWN) in spwr_battery_prop_capacity()521 return remaining_cap * 100 / full_cap; in spwr_battery_prop_capacity()527 u32 remaining_cap = get_unaligned_le32(&bat->bst.remaining_cap); in spwr_battery_prop_capacity_level() local537 if (remaining_cap <= bat->alarm) in spwr_battery_prop_capacity_level()628 value = get_unaligned_le32(&bat->bst.remaining_cap); in spwr_battery_get_property()