Home
last modified time | relevance | path

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

/openbmc/linux/include/acpi/
H A Dbattery.h13 struct acpi_battery_hook { struct
15 int (*add_battery)(struct power_supply *battery, struct acpi_battery_hook *hook); argument
16 int (*remove_battery)(struct power_supply *battery, struct acpi_battery_hook *hook); argument
20 void battery_hook_register(struct acpi_battery_hook *hook); argument
21 void battery_hook_unregister(struct acpi_battery_hook *hook);
/openbmc/linux/drivers/acpi/
H A Dbattery.c706 static void battery_hook_unregister_unlocked(struct acpi_battery_hook *hook) in battery_hook_unregister_unlocked()
723 void battery_hook_unregister(struct acpi_battery_hook *hook) in battery_hook_unregister()
738 void battery_hook_register(struct acpi_battery_hook *hook) in battery_hook_register()
778 struct acpi_battery_hook *hook_node, *tmp; in battery_hook_add_battery()
806 struct acpi_battery_hook *hook; in battery_hook_remove_battery()
823 struct acpi_battery_hook *hook; in battery_hook_exit()
824 struct acpi_battery_hook *ptr; in battery_hook_exit()
/openbmc/linux/drivers/platform/x86/
H A Dmsi-ec.c802 struct acpi_battery_hook *hook) in msi_battery_add()
808 struct acpi_battery_hook *hook) in msi_battery_remove()
814 static struct acpi_battery_hook battery_hook = {
H A Dsystem76_acpi.c264 static int system76_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in system76_battery_add()
276 static int system76_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in system76_battery_remove()
282 static struct acpi_battery_hook system76_battery_hook = {
H A Dlg-laptop.c525 static int lg_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_add()
534 static int lg_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_remove()
541 static struct acpi_battery_hook battery_hook = {
H A Dhuawei-wmi.c472 static int huawei_wmi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_add()
487 static int huawei_wmi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_remove()
495 static struct acpi_battery_hook huawei_wmi_battery_hook = {
H A Dtoshiba_acpi.c3127 static int toshiba_acpi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in toshiba_acpi_battery_add()
3140 static int toshiba_acpi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in toshiba_acpi_battery_remove()
3146 static struct acpi_battery_hook battery_hook = {
H A Dasus-wmi.c1256 static int asus_wmi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in asus_wmi_battery_add()
1283 static int asus_wmi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in asus_wmi_battery_remove()
1290 static struct acpi_battery_hook battery_hook = {
H A Dthinkpad_acpi.c9862 static int tpacpi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_add()
9873 static int tpacpi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_remove()
9879 static struct acpi_battery_hook battery_hook = {
/openbmc/linux/drivers/platform/x86/dell/
H A Ddell-wmi-ddv.c106 struct acpi_battery_hook hook;
698 static int dell_wmi_ddv_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_add_battery()
723 static int dell_wmi_ddv_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_remove_battery()
735 struct acpi_battery_hook *hook = data; in dell_wmi_ddv_battery_remove()