Home
last modified time | relevance | path

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

/Linux-v6.6/include/acpi/
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);
/Linux-v6.6/drivers/acpi/
Dbattery.c700 static void __battery_hook_unregister(struct acpi_battery_hook *hook, int lock) in __battery_hook_unregister()
719 void battery_hook_unregister(struct acpi_battery_hook *hook) in battery_hook_unregister()
725 void battery_hook_register(struct acpi_battery_hook *hook) in battery_hook_register()
766 struct acpi_battery_hook *hook_node, *tmp; in battery_hook_add_battery()
794 struct acpi_battery_hook *hook; in battery_hook_remove_battery()
811 struct acpi_battery_hook *hook; in battery_hook_exit()
812 struct acpi_battery_hook *ptr; in battery_hook_exit()
/Linux-v6.6/drivers/platform/x86/
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 = {
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 = {
Dlg-laptop.c549 static int lg_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_add()
558 static int lg_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_remove()
565 static struct acpi_battery_hook battery_hook = {
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 = {
Dtoshiba_acpi.c3116 static int toshiba_acpi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in toshiba_acpi_battery_add()
3129 static int toshiba_acpi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in toshiba_acpi_battery_remove()
3135 static struct acpi_battery_hook battery_hook = {
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 = {
Dthinkpad_acpi.c9789 static int tpacpi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_add()
9800 static int tpacpi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_remove()
9806 static struct acpi_battery_hook battery_hook = {
/Linux-v6.6/drivers/platform/x86/dell/
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()