| /linux-4.4.14/drivers/acpi/ |
| D | battery.c | 152 static inline int acpi_battery_present(struct acpi_battery *battery) in acpi_battery_present() argument 154 return battery->device->status.battery_present; in acpi_battery_present() 157 static int acpi_battery_technology(struct acpi_battery *battery) in acpi_battery_technology() argument 159 if (!strcasecmp("NiCd", battery->type)) in acpi_battery_technology() 161 if (!strcasecmp("NiMH", battery->type)) in acpi_battery_technology() 163 if (!strcasecmp("LION", battery->type)) in acpi_battery_technology() 165 if (!strncasecmp("LI-ION", battery->type, 6)) in acpi_battery_technology() 167 if (!strcasecmp("LiP", battery->type)) in acpi_battery_technology() 172 static int acpi_battery_get_state(struct acpi_battery *battery); 174 static int acpi_battery_is_charged(struct acpi_battery *battery) in acpi_battery_is_charged() argument [all …]
|
| D | sbs.c | 108 struct acpi_battery battery[MAX_SBS_BAT]; member 118 static int acpi_battery_get_state(struct acpi_battery *battery); 128 static inline int acpi_battery_vscale(struct acpi_battery *battery) in acpi_battery_vscale() argument 130 return battery_scale((battery->spec & 0x0f00) >> 8); in acpi_battery_vscale() 133 static inline int acpi_battery_ipscale(struct acpi_battery *battery) in acpi_battery_ipscale() argument 135 return battery_scale((battery->spec & 0xf000) >> 12); in acpi_battery_ipscale() 138 static inline int acpi_battery_mode(struct acpi_battery *battery) in acpi_battery_mode() argument 140 return (battery->mode & 0x8000); in acpi_battery_mode() 143 static inline int acpi_battery_scale(struct acpi_battery *battery) in acpi_battery_scale() argument 145 return (acpi_battery_mode(battery) ? 10 : 1) * in acpi_battery_scale() [all …]
|
| D | Kconfig | 83 /proc/acpi/battery/* (/sys/class/power_supply/*) 120 have to power off your system, and remove the laptop battery for 123 sensor values like battery state and temperature. 138 switch between A/C and battery, say Y. 149 This driver adds support for battery information through 150 /proc/acpi/battery. If you have a mobile system with a battery, 154 the module will be called battery. 391 type of access to battery information, found on some laptops.
|
| D | Makefile | 74 obj-$(CONFIG_ACPI_BATTERY) += battery.o
|
| /linux-4.4.14/drivers/power/ |
| D | rt5033_battery.c | 20 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_capacity() local 23 regmap_read(battery->regmap, RT5033_FUEL_REG_SOC_H, &msb); in rt5033_battery_get_capacity() 30 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_present() local 33 regmap_read(battery->regmap, RT5033_FUEL_REG_CONFIG_L, &val); in rt5033_battery_get_present() 41 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_watt_prop() local 63 regmap_read(battery->regmap, regh, &msb); in rt5033_battery_get_watt_prop() 64 regmap_read(battery->regmap, regl, &lsb); in rt5033_battery_get_watt_prop() 75 struct rt5033_battery *battery = power_supply_get_drvdata(psy); in rt5033_battery_get_property() local 81 val->intval = rt5033_battery_get_watt_prop(battery->client, in rt5033_battery_get_property() 85 val->intval = rt5033_battery_get_present(battery->client); in rt5033_battery_get_property() [all …]
|
| D | Kconfig | 30 battery class devices. 33 tristate "Generic battery support using IIO" 36 Say Y here to enable support for the generic battery driver 40 tristate "MAX8925 battery charger support" 43 Say Y here to enable support for the battery charger in the Maxim 47 tristate "WM831X backup battery charger support" 50 Say Y here to enable support for the backup battery charger 73 tristate "Marvell 88PM860x battery driver" 76 Say Y here to enable battery monitor for Marvell 88PM860x chip. 79 tristate "DS2760 battery driver (HP iPAQ & others)" [all …]
|
| D | jz4740-battery.c | 49 struct power_supply *battery; member 63 struct jz_battery *battery = devid; in jz_battery_irq_handler() local 65 complete(&battery->read_completion); in jz_battery_irq_handler() 69 static long jz_battery_read_voltage(struct jz_battery *battery) in jz_battery_read_voltage() argument 75 mutex_lock(&battery->lock); in jz_battery_read_voltage() 77 reinit_completion(&battery->read_completion); in jz_battery_read_voltage() 79 enable_irq(battery->irq); in jz_battery_read_voltage() 80 battery->cell->enable(battery->pdev); in jz_battery_read_voltage() 82 t = wait_for_completion_interruptible_timeout(&battery->read_completion, in jz_battery_read_voltage() 86 val = readw(battery->base) & 0xfff; in jz_battery_read_voltage() [all …]
|
| D | ds2782_battery.c | 60 struct power_supply *battery; member 289 power_supply_changed(info->battery); in ds278x_bat_update() 310 static void ds278x_power_supply_init(struct power_supply_desc *battery) in ds278x_power_supply_init() argument 312 battery->type = POWER_SUPPLY_TYPE_BATTERY; in ds278x_power_supply_init() 313 battery->properties = ds278x_battery_props; in ds278x_power_supply_init() 314 battery->num_properties = ARRAY_SIZE(ds278x_battery_props); in ds278x_power_supply_init() 315 battery->get_property = ds278x_battery_get_property; in ds278x_power_supply_init() 316 battery->external_power_changed = NULL; in ds278x_power_supply_init() 323 power_supply_unregister(info->battery); in ds278x_battery_remove() 431 info->battery = power_supply_register(&client->dev, in ds278x_battery_probe() [all …]
|
| D | goldfish_battery.c | 33 struct power_supply *battery; member 140 power_supply_changed(data->battery); in goldfish_battery_interrupt() 206 data->battery = power_supply_register(&pdev->dev, &battery_desc, in goldfish_battery_probe() 208 if (IS_ERR(data->battery)) { in goldfish_battery_probe() 210 return PTR_ERR(data->battery); in goldfish_battery_probe() 224 power_supply_unregister(data->battery); in goldfish_battery_remove()
|
| D | max8997_charger.c | 33 struct power_supply *battery; member 164 charger->battery = power_supply_register(&pdev->dev, in max8997_battery_probe() 167 if (IS_ERR(charger->battery)) { in max8997_battery_probe() 169 return PTR_ERR(charger->battery); in max8997_battery_probe() 179 power_supply_unregister(charger->battery); in max8997_battery_remove()
|
| D | Makefile | 8 obj-$(CONFIG_GENERIC_ADC_BATTERY) += generic-adc-battery.o 24 obj-$(CONFIG_BATTERY_GAUGE_LTC2941) += ltc2941-battery-gauge.o 32 obj-$(CONFIG_BATTERY_SBS) += sbs-battery.o 35 obj-$(CONFIG_BATTERY_DA9052) += da9052-battery.o 47 obj-$(CONFIG_BATTERY_JZ4740) += jz4740-battery.o
|
| D | da9150-charger.c | 34 struct power_supply *battery; member 372 power_supply_changed(charger->battery); in da9150_charger_chg_irq() 395 power_supply_changed(charger->battery); in da9150_charger_vfault_irq() 411 charger->supply_online = charger->battery; in da9150_charger_vbus_irq() 424 power_supply_changed(charger->battery); in da9150_charger_vbus_irq() 443 power_supply_changed(charger->battery); in da9150_charger_otg_work() 566 charger->battery = power_supply_register(dev, &battery_desc, NULL); in da9150_charger_probe() 567 if (IS_ERR(charger->battery)) { in da9150_charger_probe() 568 ret = PTR_ERR(charger->battery); in da9150_charger_probe() 578 charger->supply_online = charger->battery; in da9150_charger_probe() [all …]
|
| D | max8998_charger.c | 33 struct power_supply *battery; member 171 max8998->battery = devm_power_supply_register(max8998->dev, in max8998_battery_probe() 174 if (IS_ERR(max8998->battery)) { in max8998_battery_probe() 175 ret = PTR_ERR(max8998->battery); in max8998_battery_probe()
|
| D | wm831x_power.c | 26 struct power_supply *battery; member 225 if (!wm831x_pdata || !wm831x_pdata->battery) { in wm831x_config_battery() 231 pdata = wm831x_pdata->battery; in wm831x_config_battery() 457 power_supply_changed(wm831x_power->battery); in wm831x_bat_irq() 488 power_supply_changed(wm831x_power->battery); in wm831x_pwr_src_irq() 565 power->battery = power_supply_register(&pdev->dev, in wm831x_power_probe() 568 if (IS_ERR(power->battery)) { in wm831x_power_probe() 569 ret = PTR_ERR(power->battery); in wm831x_power_probe() 625 power_supply_unregister(power->battery); in wm831x_power_probe() 654 power_supply_unregister(wm831x_power->battery); in wm831x_power_remove()
|
| D | wm8350_power.c | 199 power_supply_changed(power->battery); in wm8350_charger_handler() 206 power_supply_changed(power->battery); in wm8350_charger_handler() 234 power_supply_changed(power->battery); in wm8350_charger_handler() 480 power->battery = power_supply_register(&pdev->dev, &wm8350_battery_desc, in wm8350_power_probe() 482 if (IS_ERR(power->battery)) { in wm8350_power_probe() 483 ret = PTR_ERR(power->battery); in wm8350_power_probe() 508 power_supply_unregister(power->battery); in wm8350_power_probe() 522 power_supply_unregister(power->battery); in wm8350_power_remove()
|
| D | max17040_battery.c | 43 struct power_supply *battery; member 229 chip->battery = power_supply_register(&client->dev, in max17040_probe() 231 if (IS_ERR(chip->battery)) { in max17040_probe() 233 return PTR_ERR(chip->battery); in max17040_probe() 250 power_supply_unregister(chip->battery); in max17040_remove()
|
| D | max8925_power.c | 73 struct power_supply *battery; member 547 info->battery = power_supply_register(&pdev->dev, &battery_desc, NULL); in max8925_power_probe() 548 if (IS_ERR(info->battery)) { in max8925_power_probe() 549 ret = PTR_ERR(info->battery); in max8925_power_probe() 552 info->battery->dev.parent = &pdev->dev; in max8925_power_probe() 564 power_supply_unregister(info->battery); in max8925_power_probe() 578 power_supply_unregister(info->battery); in max8925_power_remove()
|
| D | smb347-charger.c | 144 struct power_supply *battery; member 744 power_supply_changed(smb->battery); in smb347_interrupt() 755 power_supply_changed(smb->battery); in smb347_interrupt() 769 power_supply_changed(smb->battery); in smb347_interrupt() 1216 static char *battery[] = { "smb347-battery" }; in smb347_probe() local 1248 mains_usb_cfg.supplied_to = battery; in smb347_probe() 1249 mains_usb_cfg.num_supplicants = ARRAY_SIZE(battery); in smb347_probe() 1269 smb->battery = power_supply_register(dev, &smb347_battery_desc, in smb347_probe() 1271 if (IS_ERR(smb->battery)) { in smb347_probe() 1276 return PTR_ERR(smb->battery); in smb347_probe() [all …]
|
| D | da9150-fg.c | 82 struct power_supply *battery; member 364 power_supply_changed(fg->battery); in da9150_fg_work() 471 fg->battery = devm_power_supply_register(dev, &fg_desc, NULL); in da9150_fg_probe() 472 if (IS_ERR(fg->battery)) { in da9150_fg_probe() 473 ret = PTR_ERR(fg->battery); in da9150_fg_probe()
|
| D | lp8788-charger.c | 109 struct power_supply *battery; member 430 pchg->battery = power_supply_register(&pdev->dev, in lp8788_psy_register() 432 if (IS_ERR(pchg->battery)) { in lp8788_psy_register() 442 power_supply_unregister(pchg->battery); in lp8788_psy_unregister() 488 power_supply_changed(pchg->battery); in lp8788_charger_irq_thread()
|
| D | bq24190_charger.c | 156 struct power_supply *battery; member 1264 power_supply_changed(bdi->battery); in bq24190_irq_handler_thread() 1425 bdi->battery = power_supply_register(dev, &bq24190_battery_desc, in bq24190_probe() 1427 if (IS_ERR(bdi->battery)) { in bq24190_probe() 1429 ret = PTR_ERR(bdi->battery); in bq24190_probe() 1442 power_supply_unregister(bdi->battery); in bq24190_probe() 1463 power_supply_unregister(bdi->battery); in bq24190_remove() 1501 power_supply_changed(bdi->battery); in bq24190_pm_resume()
|
| D | max17042_battery.c | 71 struct power_supply *battery; member 768 power_supply_changed(chip->battery); in max17042_thread_handler() 912 chip->battery = devm_power_supply_register(&client->dev, max17042_desc, in max17042_probe() 914 if (IS_ERR(chip->battery)) { in max17042_probe() 916 return PTR_ERR(chip->battery); in max17042_probe() 925 chip->battery->desc->name, in max17042_probe()
|
| D | 88pm860x_battery.c | 101 struct power_supply *battery; member 957 info->battery = devm_power_supply_register(&pdev->dev, in pm860x_battery_probe() 960 if (IS_ERR(info->battery)) in pm860x_battery_probe() 961 return PTR_ERR(info->battery); in pm860x_battery_probe() 962 info->battery->dev.parent = &pdev->dev; in pm860x_battery_probe()
|
| D | sbs-battery.c | 666 struct power_supply *battery = devid; in sbs_irq() local 668 power_supply_changed(battery); in sbs_irq()
|
| D | pm2301_charger.c | 1024 if (!pl_data->battery) { in pm2xxx_wall_charger_probe() 1030 pm2->bat = pl_data->battery; in pm2xxx_wall_charger_probe()
|
| /linux-4.4.14/Documentation/devicetree/bindings/power_supply/ab8500/ |
| D | fg.txt | 10 main-charger, usb-combo-charger and battery-temperature-monitoring. 16 - battery = Shall be battery specific information 20 battery = <&ab8500_battery>; 27 'battery technology type' used. 31 A boolean value indicating thermistor interface to battery 34 'btemp' and 'batctrl' are the pins interfaced for battery temperature 36 coefficient) resister is interfaced external to battery whereas 37 'batctrl' pin is used when NTC resister is internal to battery. 43 indicates: NTC resister is internal to battery, 'batctrl' is used 47 NTC resister is external to battery and 'btemp' signal is used [all …]
|
| D | chargalg.txt | 7 - battery = Shall be battery specific information 12 battery = <&ab8500_battery>; 15 For information on battery specific node, Ref:
|
| D | btemp.txt | 7 - battery = Shall be battery specific information 12 battery = <&ab8500_battery>; 15 For information on battery specific node, Ref:
|
| D | charger.txt | 5 - battery = Shall be battery specific information 9 battery = <&ab8500_battery>; 24 For information on battery specific node, Ref:
|
| /linux-4.4.14/Documentation/devicetree/bindings/rtc/ |
| D | rtc-palmas.txt | 11 - ti,backup-battery-chargeable: The Palmas series device like TPS65913 or 12 TPS80036 supports the backup battery for powering the RTC when main 13 battery is removed or in very low power state. The backup battery 15 battery is chargeable or not. If charging battery then driver can 17 - ti,backup-battery-charge-high-current: Enable high current charging in 18 backup battery. Device supports the < 100mA and > 100mA charging. 20 charge battery to lower current i.e. < 100mA. 29 ti,backup-battery-chargeable; 30 ti,backup-battery-charge-high-current;
|
| D | abracon,abx80x.txt | 25 connected battery or supercap. Both the following properties have to be defined
|
| /linux-4.4.14/Documentation/devicetree/bindings/power_supply/ |
| D | charger-manager.txt | 9 - cm-fuel-gauge : name of battery fuel gauge 19 - cm-name : charger manager's name (default : "battery") 22 - cm-battery-stat : battery status (enum data_source) 23 - cm-fullbatt-* : data for full battery checking 25 - cm-battery-* : threshold battery temperature for charging 26 -cold : critical cold temperature of battery for charging 28 -hot : critical hot temperature of battery for charging 37 cm-name = "battery"; 46 cm-battery-stat = <3>; 55 cm-battery-cold = <50>; [all …]
|
| D | sbs_sbs-battery.txt | 1 SBS sbs-battery 5 - compatible : "sbs,sbs-battery" 12 - sbs,battery-detect-gpios : The gpio which signals battery detection and 18 compatible = "sbs,sbs-battery"; 22 sbs,battery-detect-gpios = <&gpio-controller 122 1>;
|
| D | max17042_battery.txt | 14 - maxim,cold-temp : Temperature threshold to report battery 16 - maxim,over-heat-temp : Temperature threshold to report battery 18 - maxim,dead-volt : Voltage threshold to report battery 20 - maxim,over-volt : Voltage threshold to report battery 25 battery-charger@36 {
|
| D | olpc_battery.txt | 1 OLPC battery 5 - compatible : "olpc,xo1-battery"
|
| D | max8925_batter.txt | 1 max8925-battery bindings 5 - batt-detect: whether support battery detect
|
| D | power_supply.txt | 19 battery@b { 20 compatible = "some,battery";
|
| D | qcom_smbb.txt | 24 - battery temperature ok 25 - battery present 59 The fast charger will attempt to charge the battery to this 65 Description: Maximum safe battery voltage; May be pre-set by bootloader, in 72 Description: Maximum safe battery charge current; May pre-set by bootloader, 103 temperature range. It only allows charging when the battery
|
| D | gpio-charger.txt | 9 battery 25 battery {
|
| /linux-4.4.14/Documentation/hwmon/ |
| D | da9052 | 19 Channel 1: ICH - internal battery charger current measurement 20 Channel 2: TBAT - output from the battery NTC 21 Channel 3: VBAT - measurement of the battery voltage 28 Channel 9: VBBAT - measurement of the backup battery voltage 30 By using sysfs attributes we can measure the system voltage VDDOUT, the battery 31 charging current ICH, battery temperature TBAT, battery junction temperature 32 TJUNC, battery voltage VBAT and the back up battery voltage VBBAT. 39 The battery voltage is calculated as: 42 The backup battery voltage is calculated as: 51 Temperatures are sampled by a 10 bit ADC. Junction and battery temperatures [all …]
|
| D | wm831x | 31 Temperatures are sampled by a 12 bit ADC. Chip and battery temperatures 36 while the battery temperature calculation will depend on the NTC
|
| D | twl4030-madc-hwmon | 36 12 BCI: Main battery voltage (VBAT) 45 battery charging current in mA.
|
| D | ab8500 | 20 Currently only the AB8500 internal sensor and one external sensor for battery
|
| D | it87 | 89 each read. Default is 0. On some boards the battery voltage is provided 90 by either the battery or the onboard power supply. Only the first reading 91 at power on will be the actual battery voltage (which the chip does 92 automatically). On other boards the battery voltage is always fed to 94 battery life but no information is given in the datasheet. 187 2.8 volts with a resolution of 0.0109 volt. The battery voltage in8 does not
|
| D | menf21bmc | 41 in4_input VBAT (on board battery)
|
| D | acpi_power_meter | 26 The power[1-*]_is_battery knob indicates if the power supply is a battery.
|
| D | f71805f | 42 additional internal voltages monitored (VSB and battery). It also features 59 factor 2. For the F71872F/FG, in9 (VSB) and in10 (battery) are also
|
| D | pc87360 | 172 channel measures the battery voltage (Vbat). It is a known fact that 173 repeatedly sampling the battery voltage reduces its lifetime. National
|
| D | adm1026 | 61 higher voltages directly. 3.3V, 5V, 12V, -12V and battery voltage all have
|
| /linux-4.4.14/Documentation/devicetree/bindings/power/ |
| D | rx51-battery.txt | 1 Binding for Nokia N900 battery 3 The Nokia N900 battery status can be read via the TWL4030's A/D converter. 7 * "nokia,n900-battery" 12 * "bsi" - The ADC channel for battery size identification 13 * "vbat" - The ADC channel to measure the battery voltage 17 battery: n900-battery { 18 compatible = "nokia,n900-battery";
|
| D | bq2415x.txt | 20 - ti,weak-battery-voltage: integer, weak battery voltage threshold in mV. 21 The chip will use slow precharge if battery voltage 23 - ti,battery-regulation-voltage: integer, maximum charging voltage in mV. 40 ti,weak-battery-voltage = <3400>; 41 ti,battery-regulation-voltage = <4200>;
|
| D | rt9455_charger.txt | 1 Binding for Richtek rt9455 battery charger 12 battery, in uA. 17 - richtek,battery-regulation-voltage: integer, maximum battery voltage in uV. 43 richtek,battery-regulation-voltage = <4200000>;
|
| D | ltc2941.txt | 1 binding for LTC2941 and LTC2943 battery gauges 3 Both the LTC2941 and LTC2943 measure battery capacity. 13 negative value when the battery has been connected to the wrong end of the 18 lost when the battery is disconnected.
|
| D | twl-charger.txt | 3 The battery charger needs to interact with the USB phy in order 20 - ti,bb-uvolt: microvolts for charging the backup battery. 21 - ti,bb-uamp: microamps for charging the backup battery.
|
| D | bq25890.txt | 7 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); 13 - ti,minimum-sys-voltage: integer, when battery is charging and it is below 36 ti,battery-regulation-voltage = <4200000>;
|
| D | bq24257.txt | 13 - ti,battery-regulation-voltage: integer, maximum charging voltage in uV. 45 ti,battery-regulation-voltage = <4200000>; 58 ti,battery-regulation-voltage = <4200000>;
|
| D | da9150-fg.txt | 7 - dlg,update-interval: Interval time (milliseconds) between battery level checks.
|
| /linux-4.4.14/Documentation/power/ |
| D | charger-manager.txt | 4 Charger Manager provides in-kernel battery charger management that 6 and where each battery may have multiple chargers attached and the userland 11 represents an independent battery with chargers. If there are multiple 24 different information about the battery status. This framework 29 While the battery is being charged and the system is in suspend-to-RAM, 30 we may need to monitor the battery health by looking at the ambient or 31 battery temperature. We can accomplish this by waking up the system 33 monitoring the battery health and tasks, and user processes that are 38 only affects the charging time, but the lifespan of the battery. 47 * Support for premature full-battery event handling [all …]
|
| D | power_supply_class.txt | 6 Power supply class used to represent battery, UPS, AC or DC power supply 24 typically expected feedback of battery charging/fully charged status and 62 ~ of battery, this class distinguish these terms. Don't mix them! ~ 77 BATTERY_STATUS_* values, as defined in battery.h. 84 AUTHENTIC - indicates the power supply (battery or charger) connected 87 HEALTH - represents health of the battery, values corresponds to 88 POWER_SUPPLY_HEALTH_*, defined in battery.h. 90 VOLTAGE_OCV - open circuit voltage of the battery. 94 when battery considered "full"/"empty" at normal conditions. Yes, there is 95 no direct relation between voltage and battery capacity, but some dumb [all …]
|
| D | 00-INDEX | 26 - Tells userspace about battery, UPS, AC or DC power supply properties
|
| D | userland-swsusp.txt | 96 to resume the system from RAM if there's enough battery power or restore
|
| /linux-4.4.14/drivers/block/ |
| D | umem.c | 133 } battery[2]; member 659 if (card->battery[0].good && card->battery[1].good) in set_fault_to_battery_status() 661 else if (card->battery[0].warned || card->battery[1].warned) in set_fault_to_battery_status() 663 else if (!card->battery[0].good && !card->battery[1].good) in set_fault_to_battery_status() 671 static int check_battery(struct cardinfo *card, int battery, int status) in check_battery() argument 673 if (status != card->battery[battery].good) { in check_battery() 674 card->battery[battery].good = !card->battery[battery].good; in check_battery() 675 card->battery[battery].last_change = jiffies; in check_battery() 677 if (card->battery[battery].good) { in check_battery() 679 "Battery %d now good\n", battery + 1); in check_battery() [all …]
|
| D | Kconfig | 166 battery backed (Non-volatile) RAM cards.
|
| /linux-4.4.14/arch/sh/boards/mach-hp6xx/ |
| D | hp6xx_apm.c | 34 int battery, backup, charging, percentage; in hp6x0_apm_get_power_status() local 37 battery = adc_single(ADC_CHANNEL_BATTERY); in hp6x0_apm_get_power_status() 41 percentage = 100 * (battery - HP680_BATTERY_MIN) / in hp6x0_apm_get_power_status() 51 info->time = (2 * battery); in hp6x0_apm_get_power_status() 53 info->ac_line_status = (battery > HP680_BATTERY_AC_ON) ? in hp6x0_apm_get_power_status()
|
| /linux-4.4.14/drivers/w1/slaves/ |
| D | Kconfig | 82 tristate "Dallas 2760 battery monitor chip (HP iPAQ & others)" 84 If you enable this you will have the DS2760 battery monitor 87 The battery monitor chip is used in many batteries/devices 94 tristate "Dallas 2780 battery monitor chip" 96 If you enable this you will have the DS2780 battery monitor 99 The battery monitor chip is used in many batteries/devices 106 tristate "Dallas 2781 battery monitor chip" 108 If you enable this you will have the DS2781 battery monitor 111 The battery monitor chip is used in many batteries/devices
|
| /linux-4.4.14/Documentation/ABI/testing/ |
| D | sysfs-driver-samsung-laptop | 25 Description: Max battery charge level can be modified, battery cycle 26 life can be extended by reducing the max battery charge 28 0 means normal battery mode (100% charge) 29 1 means battery life extender mode (80% charge)
|
| D | sysfs-class-power | 1 What: /sys/class/power/ds2760-battery.*/charge_now 7 coloumb counter value inside the battery monitor chip. This 9 A userspace daemon can monitor the battery charging logic 13 What: /sys/class/power/ds2760-battery.*/charge_full 19 battery 'full level'. As batteries age, this value has to be 127 devices. If enabled and the input is removed, the internal battery FET 129 than 1uA. Note that on some devices/systems this disconnects the battery
|
| D | sysfs-class-power-twl4030 | 25 power source and battery status. 35 be taken that battery is not over-charged. 44 power source and battery status.
|
| D | sysfs-driver-intel-rapid-start | 7 2: Wake to enter hibernation when the battery reaches a 12 either the wakeup timer expires or the battery reaches a
|
| D | sysfs-bus-iio-meas-spec | 6 battery level supplied to sensor is below 2.25V.
|
| D | sysfs-driver-toshiba_acpi | 85 you want to use it under battery, see the entry named 93 Description: This file controls the USB Sleep Functions under battery, and 100 current battery level set. 124 you want to use it under battery, see the entry named
|
| D | sysfs-platform-msi-laptop | 61 powersaving actions. ECO mode is available only on battery
|
| D | sysfs-firmware-acpi | 79 such as a battery, or a processor.
|
| D | sysfs-devices-system-cpu | 135 CPUs on the fly. This is a nice method to save battery
|
| /linux-4.4.14/Documentation/devicetree/bindings/i2c/ |
| D | i2c-cros-ec-tunnel.txt | 5 the EC (like a battery and PMIC). To get access to those devices we need 33 battery: sbs-battery@b { 34 compatible = "sbs,sbs-battery";
|
| /linux-4.4.14/Documentation/devicetree/bindings/sound/ |
| D | cs35l32.txt | 39 - cirrus,battery-recovery : Low battery nominal recovery threshold, rising VP. 45 - cirrus,battery-threshold : Low battery nominal threshold, falling VP.
|
| D | tas2552.txt | 10 "vbat" battery voltage
|
| /linux-4.4.14/Documentation/laptops/ |
| D | laptop-mode.txt | 1 How to conserve battery power using laptop-mode 12 to conserve battery power on laptops. It has been reported to cause significant 33 laptop mode will automatically be started when you're on battery. For 54 scripts automatically turn off laptop mode when the battery almost runs out, 55 so that you won't lose any data at the end of your battery life. 106 needs to spin up, and to increase battery life even more. The output of 125 amount of work if your battery fails while you're in laptop mode. 130 battery power is less than this value. Default is 10 minutes. 191 When on battery, what is the maximum CPU speed that the system should use? Legal 199 * Bartek Kania reports getting up to 50 minutes of extra battery life (on top [all …]
|
| D | 00-INDEX | 12 - how to conserve battery power using laptop-mode.
|
| D | thinkpad-acpi.txt | 387 0x1002 0x01 FN+F2 IBM: battery (rare) 396 Lenovo: battery 526 the battery is nearly empty 528 the battery is nearly empty 537 0x6011 ALARM: battery is too hot 538 0x6012 ALARM: battery is extremely hot 550 should suspend or hibernate the laptop (and in the case of battery 736 empty battery, or a broken battery), access to most LEDs is 760 1 - battery (orange) 761 2 - battery (green) [all …]
|
| /linux-4.4.14/arch/arm/boot/dts/ |
| D | cros-ec-sbs.dtsi | 2 * Smart battery dts fragment for devices that use cros-ec-sbs 46 battery: sbs-battery@b { label 47 compatible = "sbs,sbs-battery";
|
| D | omap3-n900.dts | 140 battery: n900-battery { label 141 compatible = "nokia,n900-battery"; 331 regulator-always-on; /* due to battery cover sensor */ 615 ti,weak-battery-voltage = <3400>; 616 ti,battery-regulation-voltage = <4200>;
|
| D | tegra124-nyan.dtsi | 330 battery: sbs-battery@b { label 331 compatible = "sbs,sbs-battery";
|
| D | exynos5250-snow-common.dtsi | 81 battery: sbs-battery@b { label 82 compatible = "sbs,sbs-battery";
|
| D | ste-dbx5x0.dtsi | 644 stericsson,battery-type = "LIPO"; 650 battery = <&ab8500_battery>; 655 battery = <&ab8500_battery>; 660 battery = <&ab8500_battery>; 666 battery = <&ab8500_battery>;
|
| D | tegra114-dalmore.dts | 765 battery: smart-battery@b { label 766 compatible = "ti,bq20z45", "sbs,sbs-battery"; 768 battery-name = "battery";
|
| D | sun4i-a10-gemei-g9.dts | 69 * AXP battery management
|
| D | kirkwood-dir665.dts | 274 /* There is no battery on the boards, so the RTC does not keep time
|
| D | omap5-board-common.dtsi | 390 ti,backup-battery-chargeable; 391 ti,backup-battery-charge-high-current;
|
| D | exynos5420-peach-pit.dts | 955 battery: sbs-battery@b { label 956 compatible = "sbs,sbs-battery";
|
| D | exynos5800-peach-pi.dts | 918 battery: sbs-battery@b { label 919 compatible = "sbs,sbs-battery";
|
| D | rk3288-veyron-minnie.dts | 112 battery: bq27500@55 { label
|
| D | exynos3250-monk.dts | 150 thermistor-battery { 407 compatible = "maxim,max77836-battery";
|
| D | tegra124-venice2.dts | 863 battery: sbs-battery@b { label 864 compatible = "sbs,sbs-battery";
|
| D | rk3288-veyron-chromebook.dtsi | 65 /* A non-regulated voltage from power supply or battery */
|
| D | exynos3250-rinato.dts | 141 thermistor-battery { 576 compatible = "maxim,max77836-battery";
|
| D | tegra20-seaboard.dts | 391 smart-battery@b { 392 compatible = "ti,bq20z75", "smart-battery-1.1";
|
| D | exynos4412-trats2.dts | 174 maxim,battery-overcurrent-microamp = <3500000>; 262 thermistor-battery@1 {
|
| D | omap3-pandora-common.dtsi | 427 /* backup battery charger */
|
| /linux-4.4.14/drivers/staging/iio/ |
| D | TODO | 20 - battery voltage monitor (power subsystem related device) 23 At least the battery voltage and die temperature feature is required in-kernel 24 by a driver of the SoC's battery charging unit to avoid any damage to the 25 silicon and the battery.
|
| /linux-4.4.14/Documentation/devicetree/bindings/mfd/ |
| D | ab8500.txt | 27 : LOW_BAT_F : : LOW threshold battery voltage 32 …: BTEMP_LOW : : Btemp < BtempLow, if battery temperature is lower than -10… 33 …: BTEMP_LOW_MEDIUM : : BtempLow < Btemp < BtempMedium,if battery temperature is b… 34 …: BTEMP_MEDIUM_HIGH : : BtempMedium < Btemp < BtempHigh,if battery temperature is betwee… 35 …: BTEMP_HIGH : : Btemp > BtempHigh, if battery temperature is higher than “…
|
| D | atmel-gpbr.txt | 3 The GPBR are a set of battery-backed registers.
|
| D | max77693.txt | 50 will operate in fast charge constant current mode till battery voltage 67 - maxim,battery-overcurrent-microamp : Overcurrent protection threshold 68 in uA (current from battery to system). 171 maxim,battery-overcurrent-microamp = <3000000>;
|
| D | tps65910.txt | 31 If some of input supply is powered through battery or always-on supply then 54 - ti,vmbch-threshold: (tps65911) main battery charged threshold 56 - ti,vmbch2-threshold: (tps65911) main battery discharged threshold
|
| D | rn5t618.txt | 4 DCDC converters, 7 low-dropout regulators, a Li-ion battery charger,
|
| D | max8998.txt | 4 regulators, real time clock, battery charging controller and several 13 In addition, it includes a real time clock and battery charging controller
|
| D | tps6507x.txt | 19 If some of input supply is powered through battery or always-on
|
| D | cros-ec.txt | 4 implements various function such as keyboard and battery charging.
|
| D | as3711.txt | 2 supplies, a battery charger and an RTC. So far only bindings for the two stepup
|
| D | axp20x.txt | 39 applications that aren't battery constrained.
|
| /linux-4.4.14/drivers/staging/nvec/ |
| D | Kconfig | 34 tristate "NVEC charger and battery" 37 Say Y to enable support for battery and charger interface for
|
| /linux-4.4.14/include/linux/ |
| D | pm2301_charger.h | 58 struct pm2xxx_bm_data *battery; member
|
| D | hid.h | 522 struct power_supply *battery; member
|
| /linux-4.4.14/drivers/hid/ |
| D | hid-input.c | 408 if (dev->battery != NULL) in hidinput_setup_battery() 448 dev->battery = power_supply_register(&dev->dev, psy_desc, &psy_cfg); in hidinput_setup_battery() 449 if (IS_ERR(dev->battery)) { in hidinput_setup_battery() 451 PTR_ERR(dev->battery)); in hidinput_setup_battery() 454 dev->battery = NULL; in hidinput_setup_battery() 456 power_supply_powers(dev->battery, &dev->dev); in hidinput_setup_battery() 467 if (!dev->battery) in hidinput_cleanup_battery() 470 psy_desc = dev->battery->desc; in hidinput_cleanup_battery() 471 power_supply_unregister(dev->battery); in hidinput_cleanup_battery() 474 dev->battery = NULL; in hidinput_cleanup_battery()
|
| D | wacom.h | 122 struct power_supply *battery; member
|
| D | wacom_sys.c | 1065 wacom->battery = power_supply_register(&wacom->hdev->dev, in wacom_initialize_battery() 1067 if (IS_ERR(wacom->battery)) in wacom_initialize_battery() 1068 return PTR_ERR(wacom->battery); in wacom_initialize_battery() 1070 power_supply_powers(wacom->battery, &wacom->hdev->dev); in wacom_initialize_battery() 1076 power_supply_unregister(wacom->battery); in wacom_initialize_battery() 1088 if (wacom->battery) { in wacom_destroy_battery() 1089 power_supply_unregister(wacom->battery); in wacom_destroy_battery() 1090 wacom->battery = NULL; in wacom_destroy_battery() 1620 !wacom->battery) { in wacom_battery_work() 1624 wacom->battery) { in wacom_battery_work()
|
| D | hid-sony.c | 1031 struct power_supply *battery; member 2041 sc->battery = power_supply_register(&hdev->dev, &sc->battery_desc, in sony_battery_probe() 2043 if (IS_ERR(sc->battery)) { in sony_battery_probe() 2044 ret = PTR_ERR(sc->battery); in sony_battery_probe() 2049 power_supply_powers(sc->battery, &hdev->dev); in sony_battery_probe() 2063 power_supply_unregister(sc->battery); in sony_battery_remove()
|
| D | wacom_wac.c | 64 if (wacom->battery) in wacom_notify_battery() 65 power_supply_changed(wacom->battery); in wacom_notify_battery() 697 if (!wacom->battery && in wacom_remote_irq() 2202 int pid, battery, charging; in wacom_wireless_irq() local 2214 battery = (data[5] & 0x3f) * 100 / 31; in wacom_wireless_irq() 2222 wacom_notify_battery(wacom, battery, charging, 1, 0); in wacom_wireless_irq() 2253 int battery = (data[8] & 0x3f) * 100 / 31; in wacom_status_irq() local 2256 wacom_notify_battery(wacom_wac, battery, charging, in wacom_status_irq() 2257 battery || charging, 1); in wacom_status_irq() 2259 if (!wacom->battery && in wacom_status_irq() [all …]
|
| D | hid-wiimote.h | 150 struct power_supply *battery; member
|
| 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.4.14/include/linux/mfd/wm8350/ |
| D | supply.h | 126 struct power_supply *battery; member
|
| /linux-4.4.14/include/linux/mfd/wm831x/ |
| D | pdata.h | 134 struct wm831x_battery_pdata *battery; member
|
| /linux-4.4.14/drivers/mtd/lpddr/ |
| D | Kconfig | 10 DDR memories, intended for battery-operated systems.
|
| /linux-4.4.14/Documentation/cpuidle/ |
| D | driver.txt | 21 It can also support the dynamic changes (like battery <-> AC), by using
|
| /linux-4.4.14/Documentation/cpu-freq/ |
| D | index.txt | 14 fly. This is a nice method to save battery power, because the lower
|
| D | core.txt | 15 fly. This is a nice method to save battery power, because the lower
|
| D | governors.txt | 17 fly. This is a nice method to save battery power, because the lower 199 CPU. This behaviour more suitable in a battery powered environment.
|
| D | user-guide.txt | 14 fly. This is a nice method to save battery power, because the lower
|
| D | cpu-drivers.txt | 16 fly. This is a nice method to save battery power, because the lower
|
| /linux-4.4.14/Documentation/devicetree/bindings/regulator/ |
| D | max8997-regulator.txt | 83 - CHARGER_CV: main battery charger voltage control 84 - CHARGER: main battery charger current control
|
| /linux-4.4.14/kernel/power/ |
| D | Kconfig | 241 techniques. This is mostly useful for battery powered laptops with 244 battery status information, and user-space programs will receive 245 notification of APM "events" (e.g. battery status change). 256 Generally, if you don't have a battery in your machine, there isn't
|
| /linux-4.4.14/sound/soc/ |
| D | Kconfig | 17 ASoC provides power efficient ALSA support for embedded battery powered
|
| /linux-4.4.14/drivers/mfd/ |
| D | Kconfig | 39 controllers, 11 LDOs, RTC, automatic battery, temperature and 114 Controller (EC) providing keyboard, battery and power services. 155 LEDs and battery-charger under the corresponding menus. 385 Passage) chip. This chip embeds audio, battery, GPIO, etc. 415 This driver is necessary for jz4740-battery and jz4740-hwmon driver. 456 battery-charger under the corresponding menus. 479 battery-charger under the corresponding menus. 490 MAX77836 Micro-USB ICs with battery charger. 893 of the AB3100 such as battery-backed RTC, charging control, 932 AB8500 GPADC driver used to convert Acc and battery/ac/usb voltage [all …]
|
| /linux-4.4.14/Documentation/power/regulator/ |
| D | overview.txt | 11 in order to save power and prolong battery life. This applies to both voltage 119 battery power, USB power)
|
| /linux-4.4.14/kernel/time/ |
| D | Kconfig | 169 numbers of CPUs, and (3) are suffering from battery-lifetime 175 battery-powered systems.
|
| /linux-4.4.14/Documentation/w1/masters/ |
| D | omap-hdq | 20 A typical application of the HDQ/1-Wire module is the communication with battery
|
| /linux-4.4.14/Documentation/timers/ |
| D | NO_HZ.txt | 51 excessive power consumption. This is especially bad on battery-powered 52 devices, where it results in extremely short battery lifetimes. If you 71 both to battery-powered devices and to highly virtualized mainframes. 72 A battery-powered device running a CONFIG_HZ_PERIODIC=y kernel would 73 drain its battery very quickly, easily 2-3 times as fast as would the
|
| /linux-4.4.14/Documentation/ |
| D | rtc.txt | 6 something that tracks wall clock time and is battery backed so that it 113 than expecting a single battery-backed MC146818 clone on every system. 134 example, maybe the low-power battery-backed RTC is a discrete I2C chip, but
|
| D | devices.txt | 2001 116 block MicroMemory battery backed RAM adapter (NVRAM)
|
| /linux-4.4.14/include/linux/mfd/ |
| D | max8997-private.h | 391 struct platform_device *battery; /* battery control (not fuel gauge) */ member
|
| /linux-4.4.14/Documentation/spi/ |
| D | butterfly | 7 battery powered card with an AVR microcontroller and lots of goodies:
|
| /linux-4.4.14/net/irda/ |
| D | Kconfig | 67 necessary, thus reduce your battery life (but not that much).
|
| /linux-4.4.14/Documentation/acpi/ |
| D | video_extension.txt | 56 The first two levels are for when laptop are on AC or on battery and are
|
| /linux-4.4.14/Documentation/usb/ |
| D | rio.txt | 37 changing them. It appears RIO 500 firmware does not handle low battery
|
| /linux-4.4.14/arch/arm/mach-sa1100/ |
| D | Kconfig | 105 keyboard, touchscreen, backlight and battery. This driver also activates
|
| /linux-4.4.14/Documentation/i2c/busses/ |
| D | i2c-parport | 172 jumper in the battery compartment. More details can be found at:
|
| /linux-4.4.14/drivers/iio/adc/ |
| D | Kconfig | 364 Purpose A/D Converter. This will add support for battery type 365 detection, battery voltage and temperature measurement, die
|
| /linux-4.4.14/drivers/net/ethernet/amd/ |
| D | Kconfig | 90 on the AMD LANCE chipset: RieblCard (with or without battery), or
|
| /linux-4.4.14/drivers/rtc/ |
| D | Kconfig | 42 This clock should be battery-backed, so that it reads the correct 46 If the clock you specify here is not battery backed, it may still 181 families of ultra-low-power battery- and capacitor-backed real-time 201 chips (often with battery backup) connected with I2C. This driver 1099 support. This chip contains a battery- and capacitor-backed RTC. 1108 support. This chip contains a battery- and capacitor-backed RTC. 1281 small coin cell battery) which keeps this block and the GPBR
|
| D | rtc-ds1685.c | 1120 static DEVICE_ATTR(battery, S_IRUGO, ds1685_rtc_sysfs_battery_show, NULL);
|
| /linux-4.4.14/drivers/parisc/ |
| D | Kconfig | 167 This includes NVRAM battery level, overtemp or failures such as
|
| /linux-4.4.14/Documentation/hid/ |
| D | hid-transport.txt | 114 data may include button events, axis events, battery status or more. This 126 data like battery-state or device-settings.
|
| /linux-4.4.14/Documentation/leds/ |
| D | ledtrig-transient.txt | 23 permanently causing the battery to drain.
|
| /linux-4.4.14/drivers/cpufreq/ |
| D | Kconfig | 169 its optimisation for better suitability in a battery powered
|
| /linux-4.4.14/drivers/platform/x86/ |
| D | Kconfig | 313 and battery charging level control. 432 firmware alerts (like critical battery condition), or misled 907 timeout or when the system battery reaches a critical state,
|
| /linux-4.4.14/Documentation/filesystems/ |
| D | btrfs.txt | 154 (non-battery-backed) write-back cache, nobarrier option will lead to
|
| D | ext4.txt | 193 your disks are battery-backed in one way or another,
|
| /linux-4.4.14/arch/arm/mach-pxa/ |
| D | em-x270.c | 1206 DA9030_SUBDEV(battery, BAT, &em_x270_batterty_info),
|
| /linux-4.4.14/drivers/mtd/devices/ |
| D | Kconfig | 43 This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery
|
| /linux-4.4.14/drivers/input/serio/ |
| D | Kconfig | 141 The SDC may also be connected to a battery-backed real-time
|
| /linux-4.4.14/drivers/macintosh/ |
| D | Kconfig | 83 control system power, and battery charging on the portable models.
|
| /linux-4.4.14/drivers/regulator/ |
| D | Kconfig | 13 output in order to save power and prolong battery life. This applies 665 for battery-powered portable applications.
|
| /linux-4.4.14/scripts/ |
| D | spelling.txt | 166 batery||battery
|
| /linux-4.4.14/arch/x86/ |
| D | Kconfig | 2184 techniques. This is mostly useful for battery powered laptops with 2187 battery status information, and user-space programs will receive 2188 notification of APM "events" (e.g. battery status change). 2210 Generally, if you don't have a battery in your machine, there isn't 2256 should always save battery power, but more complicated APM features
|
| /linux-4.4.14/drivers/scsi/aacraid/ |
| D | aacraid.h | 979 __le32 battery; member
|
| /linux-4.4.14/drivers/misc/ |
| D | Kconfig | 280 charge a coincell battery or backup capacitor which is used
|
| /linux-4.4.14/drivers/spi/ |
| D | Kconfig | 170 inexpensive battery powered microcontroller evaluation board.
|
| /linux-4.4.14/Documentation/arm64/ |
| D | acpi_object_usage.txt | 556 -- Section 9.3: battery devices
|
| /linux-4.4.14/Documentation/scsi/ |
| D | ChangeLog.megaraid_sas | 502 mode only when the controller has battery backup. At this time
|
| /linux-4.4.14/Documentation/virtual/kvm/ |
| D | timekeeping.txt | 197 The RTC will update the current time fields by battery power even while the
|
| /linux-4.4.14/init/ |
| D | Kconfig | 706 callback invocation to energy-efficient CPUs in battery-powered
|
| /linux-4.4.14/ |
| D | CREDITS | 1966 D: Various ACPI fixes, keeping correct battery state through suspend
|
| D | MAINTAINERS | 3446 F: drivers/power/da9052-battery.c 8455 T: git git://git.infradead.org/battery-2.6.git
|