Searched refs:acpi_battery_hook (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/include/acpi/ |
A D | battery.h | 13 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-6.3-rc2/drivers/acpi/ |
A D | battery.c | 700 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-6.3-rc2/drivers/platform/x86/dell/ |
A D | dell-wmi-ddv.c | 106 struct acpi_battery_hook hook; 697 static int dell_wmi_ddv_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_add_battery() 722 static int dell_wmi_ddv_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_remove_battery() 734 struct acpi_battery_hook *hook = data; in dell_wmi_ddv_battery_remove()
|
/linux-6.3-rc2/drivers/platform/x86/ |
A D | system76_acpi.c | 257 static int system76_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in system76_battery_add() 269 static int system76_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in system76_battery_remove() 275 static struct acpi_battery_hook system76_battery_hook = {
|
A D | lg-laptop.c | 549 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 = {
|
A D | huawei-wmi.c | 470 static int huawei_wmi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_add() 485 static int huawei_wmi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_remove() 493 static struct acpi_battery_hook huawei_wmi_battery_hook = {
|
A D | toshiba_acpi.c | 3116 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 = {
|
A D | asus-wmi.c | 893 static int asus_wmi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in asus_wmi_battery_add() 920 static int asus_wmi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in asus_wmi_battery_remove() 927 static struct acpi_battery_hook battery_hook = {
|
A D | thinkpad_acpi.c | 9907 static int tpacpi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_add() 9918 static int tpacpi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_remove() 9924 static struct acpi_battery_hook battery_hook = {
|
Completed in 60 milliseconds