| /linux/include/acpi/ |
| H A 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/drivers/power/supply/ |
| H A D | cros_charge-control.c | 36 struct acpi_battery_hook battery_hook; 221 static int cros_chctl_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in cros_chctl_add_battery() 232 static int cros_chctl_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in cros_chctl_remove_battery()
|
| /linux/drivers/platform/x86/ |
| H A D | ayaneo-ec.c | 55 struct acpi_battery_hook battery_hook; 353 struct acpi_battery_hook *hook) in ayaneo_add_battery() 363 struct acpi_battery_hook *hook) in ayaneo_remove_battery()
|
| H A D | oxpec.c | 585 static int oxp_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in oxp_add_battery() 590 static int oxp_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in oxp_remove_battery() 596 static struct acpi_battery_hook battery_hook = {
|
| H A 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 = {
|
| H A 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 = {
|
| H A D | huawei-wmi.c | 475 static int huawei_wmi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_add() 490 static int huawei_wmi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_remove() 498 static struct acpi_battery_hook huawei_wmi_battery_hook = {
|
| H A D | lg-laptop.c | 533 static int lg_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_add() 542 static int lg_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_remove() 549 static struct acpi_battery_hook battery_hook = {
|
| H A D | fujitsu-laptop.c | 229 struct acpi_battery_hook *hook) in fujitsu_battery_add_hook() 236 struct acpi_battery_hook *hook) in fujitsu_battery_remove_hook() 244 static struct acpi_battery_hook battery_hook = {
|
| H A D | samsung-galaxybook.c | 58 struct acpi_battery_hook battery_hook; 518 static int galaxybook_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in galaxybook_battery_add() 527 static int galaxybook_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in galaxybook_battery_remove()
|
| H A D | samsung-laptop.c | 353 struct acpi_battery_hook battery_hook; 844 static int samsung_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in samsung_battery_add() 853 struct acpi_battery_hook *hook) in samsung_battery_remove()
|
| H A D | asus-wmi.c | 1565 static int asus_wmi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in asus_wmi_battery_add() 1592 static int asus_wmi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in asus_wmi_battery_remove() 1599 static struct acpi_battery_hook battery_hook = {
|
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-wmi-ddv.c | 134 struct acpi_battery_hook hook; 936 static int dell_wmi_ddv_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_add_battery() 961 static int dell_wmi_ddv_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_remove_battery()
|
| /linux/drivers/platform/x86/uniwill/ |
| H A D | uniwill-acpi.c | 330 struct acpi_battery_hook hook; 1290 static int uniwill_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in uniwill_input_init() 1314 static int uniwill_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in uniwill_ec_init()
|
| /linux/drivers/platform/x86/lenovo/ |
| H A D | ideapad-laptop.c | 184 struct acpi_battery_hook battery_hook; 2148 static int ideapad_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) 2157 struct acpi_battery_hook *hook) in ideapad_battery_add()
|
| H A D | thinkpad_acpi.c | 9986 static int tpacpi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_add() 9997 static int tpacpi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_remove() 10003 static struct acpi_battery_hook battery_hook = {
|