Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/acpi/
Dbattery.c118 int design_capacity; member
182 if (battery->design_capacity <= battery->capacity_now) in acpi_battery_is_charged()
192 ACPI_BATTERY_CAPACITY_VALID(battery->design_capacity) && in acpi_battery_is_degraded()
193 battery->full_charge_capacity < battery->design_capacity; in acpi_battery_is_degraded()
265 if (!ACPI_BATTERY_CAPACITY_VALID(battery->design_capacity)) in acpi_battery_get_property()
268 val->intval = battery->design_capacity * 1000; in acpi_battery_get_property()
287 else if (ACPI_BATTERY_CAPACITY_VALID(battery->design_capacity)) in acpi_battery_get_property()
288 full_capacity = battery->design_capacity; in acpi_battery_get_property()
404 {offsetof(struct acpi_battery, design_capacity), 0},
421 {offsetof(struct acpi_battery, design_capacity), 0},
[all …]
Dsbs.c65 u16 design_capacity; member
216 val->intval = battery->design_capacity * in acpi_sbs_battery_get_property()
308 {0x18, SMBUS_READ_WORD, offsetof(struct acpi_battery, design_capacity)},
/kernel/linux/linux-5.10/drivers/platform/x86/
Dsurface3_power.c69 u32 design_capacity; member
188 .design_capacity = 0x1dca,
224 bix->design_capacity = ret; in mshw0011_bix()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dcros_ec_commands.h5837 uint16_t design_capacity; member