Searched refs:full_charge_capacity (Results 1 – 2 of 2) sorted by relevance
/drivers/acpi/ |
D | battery.c | 114 int full_charge_capacity; member 173 if (battery->full_charge_capacity == battery->capacity_now) in acpi_battery_is_charged() 186 return ACPI_BATTERY_CAPACITY_VALID(battery->full_charge_capacity) && in acpi_battery_is_degraded() 188 battery->full_charge_capacity < battery->design_capacity; in acpi_battery_is_degraded() 267 if (!ACPI_BATTERY_CAPACITY_VALID(battery->full_charge_capacity)) in acpi_battery_get_property() 270 val->intval = battery->full_charge_capacity * 1000; in acpi_battery_get_property() 280 if (ACPI_BATTERY_CAPACITY_VALID(battery->full_charge_capacity)) in acpi_battery_get_property() 281 full_capacity = battery->full_charge_capacity; in acpi_battery_get_property() 398 {offsetof(struct acpi_battery, full_charge_capacity), 0}, 415 {offsetof(struct acpi_battery, full_charge_capacity), 0}, [all …]
|
D | sbs.c | 64 u16 full_charge_capacity; member 221 val->intval = battery->full_charge_capacity * in acpi_sbs_battery_get_property() 306 {0x10, SMBUS_READ_WORD, offsetof(struct acpi_battery, full_charge_capacity)},
|