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

/linux-4.4.14/drivers/acpi/
H A Dsbs.c89 s16 rate_now; member in struct:acpi_battery
189 if (battery->rate_now < 0) acpi_sbs_battery_get_property()
191 else if (battery->rate_now > 0) acpi_sbs_battery_get_property()
215 val->intval = abs(battery->rate_now) * acpi_sbs_battery_get_property()
338 {0x0a, SMBUS_READ_WORD, offsetof(struct acpi_battery, rate_now)},
H A Dbattery.c123 int rate_now; member in struct:acpi_battery
243 if (battery->rate_now == ACPI_BATTERY_VALUE_UNKNOWN) acpi_battery_get_property()
246 val->intval = battery->rate_now * 1000; acpi_battery_get_property()
348 {offsetof(struct acpi_battery, rate_now), 0},
520 battery->rate_now != ACPI_BATTERY_VALUE_UNKNOWN && acpi_battery_get_state()
521 (s16)(battery->rate_now) < 0) { acpi_battery_get_state()
522 battery->rate_now = abs((s16)battery->rate_now); acpi_battery_get_state()
679 battery->rate_now == ACPI_BATTERY_VALUE_UNKNOWN && acpi_battery_quirks()
870 if (battery->rate_now == ACPI_BATTERY_VALUE_UNKNOWN) acpi_battery_print_state()
874 battery->rate_now, acpi_battery_units(battery)); acpi_battery_print_state()

Completed in 72 milliseconds