Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/acpi/
Dbattery.c32 #define ACPI_BATTERY_VALUE_UNKNOWN 0xFFFFFFFF macro
34 ((capacity) != 0 && (capacity) != ACPI_BATTERY_VALUE_UNKNOWN)
161 if (battery->capacity_now == ACPI_BATTERY_VALUE_UNKNOWN || in acpi_battery_is_charged()
202 int full_capacity = ACPI_BATTERY_VALUE_UNKNOWN, ret = 0; in acpi_battery_get_property()
231 if (battery->design_voltage == ACPI_BATTERY_VALUE_UNKNOWN) in acpi_battery_get_property()
237 if (battery->voltage_now == ACPI_BATTERY_VALUE_UNKNOWN) in acpi_battery_get_property()
244 if (battery->rate_now == ACPI_BATTERY_VALUE_UNKNOWN) in acpi_battery_get_property()
265 if (battery->capacity_now == ACPI_BATTERY_VALUE_UNKNOWN) in acpi_battery_get_property()
276 if (battery->capacity_now == ACPI_BATTERY_VALUE_UNKNOWN || in acpi_battery_get_property()
277 full_capacity == ACPI_BATTERY_VALUE_UNKNOWN) in acpi_battery_get_property()
[all …]