Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/acpi/
Dbattery.c107 int full_charge_capacity; member
166 if (battery->full_charge_capacity == battery->capacity_now) in acpi_battery_is_charged()
179 return ACPI_BATTERY_CAPACITY_VALID(battery->full_charge_capacity) && in acpi_battery_is_degraded()
181 battery->full_charge_capacity < battery->design_capacity; in acpi_battery_is_degraded()
258 if (!ACPI_BATTERY_CAPACITY_VALID(battery->full_charge_capacity)) in acpi_battery_get_property()
261 val->intval = battery->full_charge_capacity * 1000; in acpi_battery_get_property()
271 if (ACPI_BATTERY_CAPACITY_VALID(battery->full_charge_capacity)) in acpi_battery_get_property()
272 full_capacity = battery->full_charge_capacity; in acpi_battery_get_property()
389 {offsetof(struct acpi_battery, full_charge_capacity), 0},
406 {offsetof(struct acpi_battery, full_charge_capacity), 0},
[all …]
Dsbs.c64 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)},