Searched refs:acpi_battery_hook (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/include/acpi/ |
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-v6.6/drivers/acpi/ |
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-v6.6/drivers/platform/x86/ |
D | msi-ec.c | 802 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 = {
|
D | system76_acpi.c | 264 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 = {
|
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 = {
|
D | huawei-wmi.c | 472 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 = {
|
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 = {
|
D | asus-wmi.c | 1256 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 = {
|
D | thinkpad_acpi.c | 9789 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/ |
D | dell-wmi-ddv.c | 106 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()
|