/linux-4.19.296/drivers/hid/ |
D | hid-logitech-hidpp.c | 151 struct hidpp_battery battery; member 504 hidpp->battery.level = in hidpp10_query_battery_status() 507 hidpp->battery.status = status; in hidpp10_query_battery_status() 509 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp10_query_battery_status() 556 hidpp->battery.capacity = response.rap.params[0]; in hidpp10_query_battery_mileage() 558 hidpp->battery.status = status; in hidpp10_query_battery_mileage() 560 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp10_query_battery_mileage() 577 capacity = hidpp->battery.capacity; in hidpp10_battery_event() 583 level = hidpp->battery.level; in hidpp10_battery_event() 590 changed = capacity != hidpp->battery.capacity || in hidpp10_battery_event() [all …]
|
D | hid-steam.c | 124 struct power_supply __rcu *battery; member 358 struct power_supply *battery; in steam_battery_register() local 379 battery = power_supply_register(&steam->hdev->dev, in steam_battery_register() 381 if (IS_ERR(battery)) { in steam_battery_register() 382 ret = PTR_ERR(battery); in steam_battery_register() 388 rcu_assign_pointer(steam->battery, battery); in steam_battery_register() 389 power_supply_powers(battery, &steam->hdev->dev); in steam_battery_register() 496 struct power_supply *battery; in steam_battery_unregister() local 499 battery = rcu_dereference(steam->battery); in steam_battery_unregister() 502 if (!battery) in steam_battery_unregister() [all …]
|
D | wacom_sys.c | 1697 struct wacom_battery *battery = power_supply_get_drvdata(psy); in wacom_battery_get_property() local 1702 val->strval = battery->wacom->wacom_wac.name; in wacom_battery_get_property() 1705 val->intval = battery->bat_connected; in wacom_battery_get_property() 1711 val->intval = battery->battery_capacity; in wacom_battery_get_property() 1714 if (battery->bat_status != WACOM_POWER_SUPPLY_STATUS_AUTO) in wacom_battery_get_property() 1715 val->intval = battery->bat_status; in wacom_battery_get_property() 1716 else if (battery->bat_charging) in wacom_battery_get_property() 1718 else if (battery->battery_capacity == 100 && in wacom_battery_get_property() 1719 battery->ps_connected) in wacom_battery_get_property() 1721 else if (battery->ps_connected) in wacom_battery_get_property() [all …]
|
D | wacom.h | 140 struct power_supply *battery; member 158 struct wacom_battery battery; member 186 struct wacom_battery battery; member
|
D | hid-input.c | 454 if (dev->battery) in hidinput_setup_battery() 507 dev->battery = power_supply_register(&dev->dev, psy_desc, &psy_cfg); in hidinput_setup_battery() 508 if (IS_ERR(dev->battery)) { in hidinput_setup_battery() 509 error = PTR_ERR(dev->battery); in hidinput_setup_battery() 514 power_supply_powers(dev->battery, &dev->dev); in hidinput_setup_battery() 521 dev->battery = NULL; in hidinput_setup_battery() 529 if (!dev->battery) in hidinput_cleanup_battery() 532 psy_desc = dev->battery->desc; in hidinput_cleanup_battery() 533 power_supply_unregister(dev->battery); in hidinput_cleanup_battery() 536 dev->battery = NULL; in hidinput_cleanup_battery() [all …]
|
D | wacom_wac.c | 97 static void __wacom_notify_battery(struct wacom_battery *battery, in __wacom_notify_battery() argument 102 bool changed = battery->bat_status != bat_status || in __wacom_notify_battery() 103 battery->battery_capacity != bat_capacity || in __wacom_notify_battery() 104 battery->bat_charging != bat_charging || in __wacom_notify_battery() 105 battery->bat_connected != bat_connected || in __wacom_notify_battery() 106 battery->ps_connected != ps_connected; in __wacom_notify_battery() 109 battery->bat_status = bat_status; in __wacom_notify_battery() 110 battery->battery_capacity = bat_capacity; in __wacom_notify_battery() 111 battery->bat_charging = bat_charging; in __wacom_notify_battery() 112 battery->bat_connected = bat_connected; in __wacom_notify_battery() [all …]
|
D | hid-wiimote.h | 153 struct power_supply *battery; member
|
D | hid-sony.c | 551 struct power_supply *battery; member 2357 sc->battery = devm_power_supply_register(&hdev->dev, &sc->battery_desc, in sony_battery_probe() 2359 if (IS_ERR(sc->battery)) { in sony_battery_probe() 2360 ret = PTR_ERR(sc->battery); in sony_battery_probe() 2365 power_supply_powers(sc->battery, &hdev->dev); in sony_battery_probe()
|
D | hid-wiimote-modules.c | 253 wdata->battery = power_supply_register(&wdata->hdev->dev, in wiimod_battery_probe() 256 if (IS_ERR(wdata->battery)) { in wiimod_battery_probe() 258 ret = PTR_ERR(wdata->battery); in wiimod_battery_probe() 262 power_supply_powers(wdata->battery, &wdata->hdev->dev); in wiimod_battery_probe() 277 power_supply_unregister(wdata->battery); in wiimod_battery_remove()
|
D | Kconfig | 34 This option adds support of reporting battery strength (for HID devices
|
/linux-4.19.296/include/acpi/ |
D | battery.h | 13 int (*add_battery)(struct power_supply *battery); 14 int (*remove_battery)(struct power_supply *battery);
|
/linux-4.19.296/include/linux/ |
D | pm2301_charger.h | 58 struct pm2xxx_bm_data *battery; member
|
D | hid.h | 585 struct power_supply *battery; member
|
/linux-4.19.296/include/linux/mfd/wm8350/ |
D | supply.h | 126 struct power_supply *battery; member
|
/linux-4.19.296/drivers/hid/intel-ish-hid/ |
D | Kconfig | 12 low power modes more often, resulting in the increased battery life.
|
/linux-4.19.296/include/linux/mfd/wm831x/ |
D | pdata.h | 134 struct wm831x_battery_pdata *battery; member
|
/linux-4.19.296/include/linux/mfd/ |
D | max8997-private.h | 391 struct platform_device *battery; /* battery control (not fuel gauge) */ member
|
/linux-4.19.296/drivers/parisc/ |
D | Kconfig | 160 This includes NVRAM battery level, overtemp or failures such as
|
/linux-4.19.296/drivers/rtc/ |
D | Kconfig | 46 This clock should be battery-backed, so that it reads the correct 50 If the clock you specify here is not battery backed, it may still 85 Say yes here to add support for the non volatile (often battery 192 families of ultra-low-power battery- and capacitor-backed real-time 233 chips (often with battery backup) connected with I2C. This driver 1213 support. This chip contains a battery- and capacitor-backed RTC. 1222 support. This chip contains a battery- and capacitor-backed RTC. 1412 small coin cell battery) which keeps this block and the GPBR
|
D | rtc-ds1685.c | 1126 static DEVICE_ATTR(battery, S_IRUGO, ds1685_rtc_sysfs_battery_show, NULL);
|
/linux-4.19.296/drivers/iio/adc/ |
D | Kconfig | 295 battery voltage measurement, and die temperature measurement. 902 Purpose A/D Converter. This will add support for battery type 903 detection, battery voltage and temperature measurement, die
|
/linux-4.19.296/drivers/regulator/ |
D | Kconfig | 13 output in order to save power and prolong battery life. This applies 97 battery charger. 859 for battery-powered portable applications.
|
/linux-4.19.296/drivers/cpufreq/ |
D | Kconfig | 171 its optimisation for better suitability in a battery powered
|
/linux-4.19.296/drivers/misc/ |
D | Kconfig | 294 charge a coincell battery or backup capacitor which is used
|
/linux-4.19.296/ |
D | MAINTAINERS | 4344 F: drivers/power/supply/da9052-battery.c
|