Searched refs:full_charge_capacity (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/acpi/ |
D | battery.c | 136 int full_charge_capacity; member 195 if (battery->full_charge_capacity == battery->capacity_now) in acpi_battery_is_charged() 208 return battery->full_charge_capacity && battery->design_capacity && in acpi_battery_is_degraded() 209 battery->full_charge_capacity < battery->design_capacity; in acpi_battery_is_degraded() 286 if (battery->full_charge_capacity == ACPI_BATTERY_VALUE_UNKNOWN) in acpi_battery_get_property() 289 val->intval = battery->full_charge_capacity * 1000; in acpi_battery_get_property() 299 if (battery->capacity_now && battery->full_charge_capacity) in acpi_battery_get_property() 301 battery->full_charge_capacity; in acpi_battery_get_property() 399 {offsetof(struct acpi_battery, full_charge_capacity), 0}, 416 {offsetof(struct acpi_battery, full_charge_capacity), 0}, [all …]
|
D | sbs.c | 80 u16 full_charge_capacity; member 237 val->intval = battery->full_charge_capacity * in acpi_sbs_battery_get_property() 322 {0x10, SMBUS_READ_WORD, offsetof(struct acpi_battery, full_charge_capacity)},
|