Home
last modified time | relevance | path

Searched defs:battery (Results 1 – 25 of 50) sorted by relevance

12

/drivers/acpi/
Dbattery.c134 static inline int acpi_battery_present(struct acpi_battery *battery) in acpi_battery_present()
139 static int acpi_battery_technology(struct acpi_battery *battery) in acpi_battery_technology()
156 static int acpi_battery_is_charged(struct acpi_battery *battery) in acpi_battery_is_charged()
179 static bool acpi_battery_is_degraded(struct acpi_battery *battery) in acpi_battery_is_degraded()
186 static int acpi_battery_handle_discharging(struct acpi_battery *battery) in acpi_battery_handle_discharging()
205 struct acpi_battery *battery = to_acpi_battery(psy); in acpi_battery_get_property() local
427 static int extract_package(struct acpi_battery *battery, in extract_package()
470 static int acpi_battery_get_status(struct acpi_battery *battery) in acpi_battery_get_status()
482 struct acpi_battery *battery, in extract_battery_info()
524 static int acpi_battery_get_info(struct acpi_battery *battery) in acpi_battery_get_info()
[all …]
Dsbs.c89 struct acpi_battery battery[MAX_SBS_BAT]; member
109 static inline int acpi_battery_vscale(struct acpi_battery *battery) in acpi_battery_vscale()
114 static inline int acpi_battery_ipscale(struct acpi_battery *battery) in acpi_battery_ipscale()
119 static inline int acpi_battery_mode(struct acpi_battery *battery) in acpi_battery_mode()
124 static inline int acpi_battery_scale(struct acpi_battery *battery) in acpi_battery_scale()
145 static int acpi_battery_technology(struct acpi_battery *battery) in acpi_battery_technology()
162 struct acpi_battery *battery = to_acpi_battery(psy); in acpi_sbs_battery_get_property() local
338 static int acpi_battery_get_info(struct acpi_battery *battery) in acpi_battery_get_info()
355 static int acpi_battery_get_state(struct acpi_battery *battery) in acpi_battery_get_state()
378 static int acpi_battery_get_alarm(struct acpi_battery *battery) in acpi_battery_get_alarm()
[all …]
/drivers/power/supply/
Drt5033_battery.c24 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_status() local
39 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_capacity() local
49 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_present() local
60 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_watt_prop() local
94 struct rt5033_battery *battery = power_supply_get_drvdata(psy); in rt5033_battery_get_property() local
145 struct rt5033_battery *battery; in rt5033_battery_probe() local
177 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_remove() local
Dds2782_battery.c56 struct power_supply *battery; member
306 static void ds278x_power_supply_init(struct power_supply_desc *battery) in ds278x_power_supply_init()
Dmax8998_charger.c20 struct power_supply *battery; member
Dingenic-battery.c20 struct power_supply *battery; member
Dmax8997_charger.c36 struct power_supply *battery; member
Dgoldfish_battery.c26 struct power_supply *battery; member
Dmax77650-charger.c281 struct power_supply *battery; in max77650_charger_probe() local
Dcpcap-charger.c275 struct power_supply *battery; in cpcap_charger_get_bat_const_charge_voltage() local
689 struct power_supply *battery; in cpcap_usb_detect() local
Dwm831x_power.c24 struct power_supply *battery; member
Dda9150-fg.c78 struct power_supply *battery; member
Dda9150-charger.c28 struct power_supply *battery; member
Dmax8925_power.c70 struct power_supply *battery; member
Dmax17040_battery.c143 struct power_supply *battery; member
/drivers/hid/
Dwacom.h134 struct power_supply *battery; member
152 struct wacom_battery battery; member
180 struct wacom_battery battery; member
Dhid-steam.c134 struct power_supply __rcu *battery; member
441 struct power_supply *battery; in steam_battery_register() local
622 struct power_supply *battery; in steam_battery_unregister() local
1323 struct power_supply *battery, u8 *data) in steam_do_battery_event()
1349 struct power_supply *battery; in steam_raw_event() local
Dhid-steelseries.c32 struct power_supply *battery; member
Dhid-nvidia-shield.c158 struct thunderstrike_hostcmd_battery battery; member
609 struct thunderstrike_hostcmd_battery *battery) in thunderstrike_parse_battery_payload()
/drivers/platform/x86/
Dmsi-ec.c801 static int msi_battery_add(struct power_supply *battery, in msi_battery_add()
807 static int msi_battery_remove(struct power_supply *battery, in msi_battery_remove()
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()
Dlg-laptop.c525 static int lg_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_add()
534 static int lg_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_remove()
Dhuawei-wmi.c472 static int huawei_wmi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_add()
487 static int huawei_wmi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_remove()
/drivers/usb/misc/
Dapple-mfi-fastcharge.c46 struct power_supply *battery; member
/drivers/platform/x86/dell/
Ddell-wmi-ddv.c698 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()

12