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

/linux-4.4.14/drivers/acpi/
H A Dbattery.c127 int full_charge_capacity; member in struct:acpi_battery
186 if (battery->full_charge_capacity == battery->capacity_now) acpi_battery_is_charged()
257 if (battery->full_charge_capacity == ACPI_BATTERY_VALUE_UNKNOWN) acpi_battery_get_property()
260 val->intval = battery->full_charge_capacity * 1000; acpi_battery_get_property()
270 if (battery->capacity_now && battery->full_charge_capacity) acpi_battery_get_property()
272 battery->full_charge_capacity; acpi_battery_get_property()
356 {offsetof(struct acpi_battery, full_charge_capacity), 0},
373 {offsetof(struct acpi_battery, full_charge_capacity), 0},
467 battery->full_charge_capacity = battery->design_capacity; acpi_battery_get_info()
472 battery->full_charge_capacity = battery->full_charge_capacity * acpi_battery_get_info()
530 battery->full_charge_capacity) / 100; acpi_battery_get_state()
678 if (battery->full_charge_capacity == 100 && acpi_battery_quirks()
682 battery->full_charge_capacity = battery->design_capacity; acpi_battery_quirks()
684 battery->full_charge_capacity) / 100; acpi_battery_quirks()
701 battery->full_charge_capacity = acpi_battery_quirks()
702 battery->full_charge_capacity * acpi_battery_quirks()
808 if (battery->full_charge_capacity == ACPI_BATTERY_VALUE_UNKNOWN) acpi_battery_print_info()
812 battery->full_charge_capacity, acpi_battery_print_info()
H A Dsbs.c82 u16 full_charge_capacity; member in struct:acpi_battery
239 val->intval = battery->full_charge_capacity * acpi_sbs_battery_get_property()
324 {0x10, SMBUS_READ_WORD, offsetof(struct acpi_battery, full_charge_capacity)},

Completed in 87 milliseconds