Searched refs:acpi_battery_hook (Results 1 – 9 of 9) sorted by relevance
/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; 230 static int cros_chctl_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in cros_chctl_add_battery() 241 static int cros_chctl_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in cros_chctl_remove_battery()
|
/linux/drivers/platform/x86/dell/ |
H A 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()
|
/linux/drivers/platform/x86/ |
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 | 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 = {
|
H A 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 = {
|
H A 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 = {
|
H A D | thinkpad_acpi.c | 9945 static int tpacpi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_add() 9956 static int tpacpi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in tpacpi_battery_remove() 9962 static struct acpi_battery_hook battery_hook = {
|