Searched refs:acpi_battery_hook (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/include/acpi/ |
D | battery.h | 14 struct acpi_battery_hook { struct 16 int (*add_battery)(struct power_supply *battery, struct acpi_battery_hook *hook); argument 17 int (*remove_battery)(struct power_supply *battery, struct acpi_battery_hook *hook); argument 21 void battery_hook_register(struct acpi_battery_hook *hook); argument 22 void battery_hook_unregister(struct acpi_battery_hook *hook); 23 int devm_battery_hook_register(struct device *dev, struct acpi_battery_hook *hook);
|
/linux-6.12.1/drivers/acpi/ |
D | battery.c | 706 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() 773 struct acpi_battery_hook *hook = data; in devm_battery_hook_unregister() 778 int devm_battery_hook_register(struct device *dev, struct acpi_battery_hook *hook) in devm_battery_hook_register() 793 struct acpi_battery_hook *hook_node, *tmp; in battery_hook_add_battery() 821 struct acpi_battery_hook *hook; in battery_hook_remove_battery() 838 struct acpi_battery_hook *hook; in battery_hook_exit() 839 struct acpi_battery_hook *ptr; in battery_hook_exit()
|
/linux-6.12.1/drivers/power/supply/ |
D | cros_charge-control.c | 40 struct acpi_battery_hook battery_hook; 236 static int cros_chctl_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in cros_chctl_add_battery() 247 static int cros_chctl_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in cros_chctl_remove_battery()
|
/linux-6.12.1/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()
|
D | dell-laptop.c | 2401 struct acpi_battery_hook *hook) in dell_battery_add() 2411 struct acpi_battery_hook *hook) in dell_battery_remove() 2420 static struct acpi_battery_hook dell_battery_hook = {
|
/linux-6.12.1/drivers/platform/x86/ |
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 | 537 static int lg_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_add() 546 static int lg_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_remove() 553 static struct acpi_battery_hook battery_hook = {
|
D | huawei-wmi.c | 471 static int huawei_wmi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_add() 486 static int huawei_wmi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_remove() 494 static struct acpi_battery_hook huawei_wmi_battery_hook = {
|
D | msi-ec.c | 1269 struct acpi_battery_hook *hook) in msi_battery_add() 1275 struct acpi_battery_hook *hook) in msi_battery_remove() 1281 static struct acpi_battery_hook battery_hook = {
|
D | fujitsu-laptop.c | 221 struct acpi_battery_hook *hook) in fujitsu_battery_add_hook() 228 struct acpi_battery_hook *hook) in fujitsu_battery_remove_hook() 236 static struct acpi_battery_hook battery_hook = {
|
D | toshiba_acpi.c | 3123 static int toshiba_acpi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in toshiba_acpi_battery_add() 3136 static int toshiba_acpi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in toshiba_acpi_battery_remove() 3142 static struct acpi_battery_hook battery_hook = {
|
D | asus-wmi.c | 1433 static int asus_wmi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in asus_wmi_battery_add() 1460 static int asus_wmi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in asus_wmi_battery_remove() 1467 static struct acpi_battery_hook battery_hook = {
|
D | thinkpad_acpi.c | 9930 static int tpacpi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_add() 9941 static int tpacpi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_remove() 9947 static struct acpi_battery_hook battery_hook = {
|