Home
last modified time | relevance | path

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

/openbmc/linux/drivers/acpi/
H A Dac.c69 struct notifier_block battery_nb; member
167 struct acpi_ac *ac = container_of(nb, struct acpi_ac, battery_nb); in acpi_ac_battery_notify()
256 ac->battery_nb.notifier_call = acpi_ac_battery_notify; in acpi_ac_add()
257 register_acpi_notifier(&ac->battery_nb); in acpi_ac_add()
268 unregister_acpi_notifier(&ac->battery_nb); in acpi_ac_add()
312 unregister_acpi_notifier(&ac->battery_nb); in acpi_ac_remove()