Home
last modified time | relevance | path

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

/openbmc/linux/drivers/acpi/
H A Dbattery.c95 struct acpi_battery { struct
400 {offsetof(struct acpi_battery, type), 1},
482 struct acpi_battery *battery, in extract_battery_info()
691 ATTRIBUTE_GROUPS(acpi_battery);
708 struct acpi_battery *battery; in battery_hook_unregister_unlocked()
740 struct acpi_battery *battery; in battery_hook_register()
904 struct acpi_battery *battery = (struct acpi_battery *)private; in find_battery()
1083 struct acpi_battery *battery = container_of(nb, struct acpi_battery, in battery_notify()
1198 struct acpi_battery *battery = NULL; in acpi_battery_add()
1251 struct acpi_battery *battery = NULL; in acpi_battery_remove()
[all …]
H A Dsbs.c54 struct acpi_battery { struct
89 struct acpi_battery battery[MAX_SBS_BAT]; argument
99 static int acpi_battery_get_state(struct acpi_battery *battery);
145 static int acpi_battery_technology(struct acpi_battery *battery) in acpi_battery_technology()
162 struct acpi_battery *battery = to_acpi_battery(psy); in acpi_sbs_battery_get_property()
304 {0x03, SMBUS_READ_WORD, offsetof(struct acpi_battery, mode)},
474 ATTRIBUTE_GROUPS(acpi_battery);
479 static int acpi_battery_read(struct acpi_battery *battery) in acpi_battery_read()
525 struct acpi_battery *battery = &sbs->battery[id]; in acpi_battery_add()
568 struct acpi_battery *battery = &sbs->battery[id]; in acpi_battery_remove()
[all …]