Home
last modified time | relevance | path

Searched refs:design_capacity (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/acpi/
Dbattery.c122 int design_capacity; member
186 if (battery->design_capacity == battery->capacity_now) in acpi_battery_is_charged()
195 return battery->full_charge_capacity && battery->design_capacity && in acpi_battery_is_degraded()
196 battery->full_charge_capacity < battery->design_capacity; in acpi_battery_is_degraded()
266 if (battery->design_capacity == ACPI_BATTERY_VALUE_UNKNOWN) in acpi_battery_get_property()
269 val->intval = battery->design_capacity * 1000; in acpi_battery_get_property()
385 {offsetof(struct acpi_battery, design_capacity), 0},
402 {offsetof(struct acpi_battery, design_capacity), 0},
482 battery->full_charge_capacity = battery->design_capacity; in extract_battery_info()
485 battery->design_capacity = battery->design_capacity * in extract_battery_info()
[all …]
Dsbs.c68 u16 design_capacity; member
219 val->intval = battery->design_capacity * in acpi_sbs_battery_get_property()
311 {0x18, SMBUS_READ_WORD, offsetof(struct acpi_battery, design_capacity)},
/Linux-v5.4/include/linux/platform_data/
Dcros_ec_commands.h5584 uint16_t design_capacity; member