Home
last modified time | relevance | path

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

/openbmc/linux/drivers/acpi/
H A Dsbs.c119 static inline int acpi_battery_mode(struct acpi_battery *battery) in acpi_battery_mode() function
126 return (acpi_battery_mode(battery) ? 10 : 1) * in acpi_battery_scale()
198 val->intval *= (acpi_battery_mode(battery)) ? in acpi_sbs_battery_get_property()
206 val->intval *= (acpi_battery_mode(battery)) ? in acpi_sbs_battery_get_property()
541 if (!acpi_battery_mode(battery)) { in acpi_battery_add()