Home
last modified time | relevance | path

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

/openbmc/linux/drivers/acpi/
H A Dbattery.c109 int full_charge_capacity; member
168 if (battery->full_charge_capacity == battery->capacity_now) in acpi_battery_is_charged()
181 return ACPI_BATTERY_CAPACITY_VALID(battery->full_charge_capacity) && in acpi_battery_is_degraded()
183 battery->full_charge_capacity < battery->design_capacity; in acpi_battery_is_degraded()
260 if (!ACPI_BATTERY_CAPACITY_VALID(battery->full_charge_capacity)) in acpi_battery_get_property()
263 val->intval = battery->full_charge_capacity * 1000; in acpi_battery_get_property()
273 if (ACPI_BATTERY_CAPACITY_VALID(battery->full_charge_capacity)) in acpi_battery_get_property()
274 full_capacity = battery->full_charge_capacity; in acpi_battery_get_property()
391 {offsetof(struct acpi_battery, full_charge_capacity), 0},
408 {offsetof(struct acpi_battery, full_charge_capacity), 0},
[all …]
H A Dsbs.c64 u16 full_charge_capacity; member
220 val->intval = battery->full_charge_capacity * in acpi_sbs_battery_get_property()
305 {0x10, SMBUS_READ_WORD, offsetof(struct acpi_battery, full_charge_capacity)},