Home
last modified time | relevance | path

Searched refs:remove_battery (Results 1 – 17 of 17) sorted by relevance

/linux/include/acpi/
H A Dbattery.h17 int (*remove_battery)(struct power_supply *battery, struct acpi_battery_hook *hook); member
/linux/drivers/hid/
H A Dhid-corsair-void.c576 bool remove_battery = test_and_clear_bit(CORSAIR_VOID_REMOVE_BATTERY, in corsair_void_battery_work_handler() local
581 if (add_battery && !remove_battery) { in corsair_void_battery_work_handler()
583 } else if (remove_battery && !add_battery && drvdata->battery) { in corsair_void_battery_work_handler()
/linux/drivers/power/supply/
H A Dcros_charge-control.c307 priv->battery_hook.remove_battery = cros_chctl_remove_battery; in cros_chctl_probe()
/linux/drivers/platform/x86/
H A Dayaneo-ec.c494 data->battery_hook.remove_battery = ayaneo_remove_battery; in ayaneo_ec_probe()
H A Doxpec.c633 .remove_battery = oxp_remove_battery, in oxp_pwm_enable()
H A Dmsi-ec.c1284 .remove_battery = msi_battery_remove,
H A Dhuawei-wmi.c500 .remove_battery = huawei_wmi_battery_remove,
H A Dlg-laptop.c546 .remove_battery = lg_battery_remove,
H A Dsystem76_acpi.c285 .remove_battery = system76_battery_remove,
H A Dfujitsu-laptop.c245 .remove_battery = fujitsu_battery_remove_hook,
H A Dsamsung-galaxybook.c549 galaxybook->battery_hook.remove_battery = galaxybook_battery_remove; in galaxybook_battery_threshold_init()
H A Dsamsung-laptop.c1143 samsung->battery_hook.remove_battery = samsung_battery_remove; in samsung_battery_hook_init()
H A Dtoshiba_acpi.c3146 .remove_battery = toshiba_acpi_battery_remove,
/linux/drivers/acpi/
H A Dbattery.c713 if (!hook->remove_battery(battery->bat, hook)) in battery_hook_unregister_unlocked()
827 hook->remove_battery(battery->bat, hook); in battery_hook_remove_battery()
/linux/drivers/platform/x86/dell/
H A Ddell-wmi-ddv.c978 data->hook.remove_battery = dell_wmi_ddv_remove_battery; in dell_wmi_ddv_battery_add()
/linux/drivers/platform/x86/uniwill/
H A Duniwill-acpi.c1741 data->hook.remove_battery = uniwill_remove_battery; in uniwill_suspend_super_key()
/linux/drivers/platform/x86/lenovo/
H A Dthinkpad_acpi.c9989 .remove_battery = tpacpi_battery_remove,