Home
last modified time | relevance | path

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

/linux/include/acpi/
H A Dbattery.h14 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 Dcros_charge-control.c36 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 Dayaneo-ec.c55 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 Doxpec.c585 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 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 = {
H A Dmsi-ec.c1269 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 Dhuawei-wmi.c475 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 Dlg-laptop.c533 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 Dfujitsu-laptop.c229 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 Dsamsung-galaxybook.c58 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 Dsamsung-laptop.c353 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 Dasus-wmi.c1565 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 Ddell-wmi-ddv.c134 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 Duniwill-acpi.c330 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 Dideapad-laptop.c184 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 Dthinkpad_acpi.c9986 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 = {