Searched refs:rate_now (Results 1 – 2 of 2) sorted by relevance
119 int rate_now; member207 battery->rate_now == 0) in acpi_battery_handle_discharging()259 if (battery->rate_now == ACPI_BATTERY_VALUE_UNKNOWN) in acpi_battery_get_property()262 val->intval = battery->rate_now * 1000; in acpi_battery_get_property()378 {offsetof(struct acpi_battery, rate_now), 0},578 battery->rate_now != ACPI_BATTERY_VALUE_UNKNOWN && in acpi_battery_get_state()579 (s16)(battery->rate_now) < 0) { in acpi_battery_get_state()580 battery->rate_now = abs((s16)battery->rate_now); in acpi_battery_get_state()880 battery->rate_now == ACPI_BATTERY_VALUE_UNKNOWN && in acpi_battery_quirks()1084 if (battery->rate_now == ACPI_BATTERY_VALUE_UNKNOWN) in acpi_battery_state_proc_show()[all …]
74 s16 rate_now; member174 if (battery->rate_now < 0) in acpi_sbs_battery_get_property()176 else if (battery->rate_now > 0) in acpi_sbs_battery_get_property()200 val->intval = abs(battery->rate_now) * in acpi_sbs_battery_get_property()323 {0x0a, SMBUS_READ_WORD, offsetof(struct acpi_battery, rate_now)},