/drivers/acpi/ |
D | battery.c | 134 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 …]
|
D | sbs.c | 89 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/ |
D | rt5033_battery.c | 24 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
|
D | ds2782_battery.c | 56 struct power_supply *battery; member 306 static void ds278x_power_supply_init(struct power_supply_desc *battery) in ds278x_power_supply_init()
|
D | max8998_charger.c | 20 struct power_supply *battery; member
|
D | ingenic-battery.c | 20 struct power_supply *battery; member
|
D | max8997_charger.c | 36 struct power_supply *battery; member
|
D | goldfish_battery.c | 26 struct power_supply *battery; member
|
D | max77650-charger.c | 281 struct power_supply *battery; in max77650_charger_probe() local
|
D | cpcap-charger.c | 275 struct power_supply *battery; in cpcap_charger_get_bat_const_charge_voltage() local 689 struct power_supply *battery; in cpcap_usb_detect() local
|
D | wm831x_power.c | 24 struct power_supply *battery; member
|
D | da9150-fg.c | 78 struct power_supply *battery; member
|
D | da9150-charger.c | 28 struct power_supply *battery; member
|
D | max8925_power.c | 70 struct power_supply *battery; member
|
D | max17040_battery.c | 143 struct power_supply *battery; member
|
/drivers/hid/ |
D | wacom.h | 134 struct power_supply *battery; member 152 struct wacom_battery battery; member 180 struct wacom_battery battery; member
|
D | hid-steam.c | 134 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
|
D | hid-steelseries.c | 32 struct power_supply *battery; member
|
D | hid-nvidia-shield.c | 158 struct thunderstrike_hostcmd_battery battery; member 609 struct thunderstrike_hostcmd_battery *battery) in thunderstrike_parse_battery_payload()
|
/drivers/platform/x86/ |
D | msi-ec.c | 801 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()
|
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()
|
D | lg-laptop.c | 525 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()
|
D | huawei-wmi.c | 472 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/ |
D | apple-mfi-fastcharge.c | 46 struct power_supply *battery; member
|
/drivers/platform/x86/dell/ |
D | dell-wmi-ddv.c | 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()
|