Searched refs:design_capacity (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/acpi/ |
D | battery.c | 106 int design_capacity; member 170 if (battery->design_capacity <= battery->capacity_now) in acpi_battery_is_charged() 180 ACPI_BATTERY_CAPACITY_VALID(battery->design_capacity) && in acpi_battery_is_degraded() 181 battery->full_charge_capacity < battery->design_capacity; in acpi_battery_is_degraded() 251 if (!ACPI_BATTERY_CAPACITY_VALID(battery->design_capacity)) in acpi_battery_get_property() 254 val->intval = battery->design_capacity * 1000; in acpi_battery_get_property() 273 else if (ACPI_BATTERY_CAPACITY_VALID(battery->design_capacity)) in acpi_battery_get_property() 274 full_capacity = battery->design_capacity; in acpi_battery_get_property() 388 {offsetof(struct acpi_battery, design_capacity), 0}, 405 {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)},
|
/linux-6.1.9/drivers/platform/surface/ |
D | surface3_power.c | 69 u32 design_capacity; member 187 .design_capacity = 0x1dca, 223 bix->design_capacity = ret; in mshw0011_bix()
|
/linux-6.1.9/include/linux/platform_data/ |
D | cros_ec_commands.h | 6187 uint16_t design_capacity; member
|