Searched refs:design_capacity (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/acpi/ |
D | battery.c | 118 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 …]
|
D | sbs.c | 65 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/ |
D | surface3_power.c | 69 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/ |
D | cros_ec_commands.h | 5837 uint16_t design_capacity; member
|