/linux-4.1.27/drivers/acpi/ |
D | battery.c | 155 static inline int acpi_battery_present(struct acpi_battery *battery) in acpi_battery_present() argument 157 return battery->device->status.battery_present; in acpi_battery_present() 160 static int acpi_battery_technology(struct acpi_battery *battery) in acpi_battery_technology() argument 162 if (!strcasecmp("NiCd", battery->type)) in acpi_battery_technology() 164 if (!strcasecmp("NiMH", battery->type)) in acpi_battery_technology() 166 if (!strcasecmp("LION", battery->type)) in acpi_battery_technology() 168 if (!strncasecmp("LI-ION", battery->type, 6)) in acpi_battery_technology() 170 if (!strcasecmp("LiP", battery->type)) in acpi_battery_technology() 175 static int acpi_battery_get_state(struct acpi_battery *battery); 177 static int acpi_battery_is_charged(struct acpi_battery *battery) in acpi_battery_is_charged() argument [all …]
|
D | sbs.c | 112 struct acpi_battery battery[MAX_SBS_BAT]; member 122 static int acpi_battery_get_state(struct acpi_battery *battery); 132 static inline int acpi_battery_vscale(struct acpi_battery *battery) in acpi_battery_vscale() argument 134 return battery_scale((battery->spec & 0x0f00) >> 8); in acpi_battery_vscale() 137 static inline int acpi_battery_ipscale(struct acpi_battery *battery) in acpi_battery_ipscale() argument 139 return battery_scale((battery->spec & 0xf000) >> 12); in acpi_battery_ipscale() 142 static inline int acpi_battery_mode(struct acpi_battery *battery) in acpi_battery_mode() argument 144 return (battery->mode & 0x8000); in acpi_battery_mode() 147 static inline int acpi_battery_scale(struct acpi_battery *battery) in acpi_battery_scale() argument 149 return (acpi_battery_mode(battery) ? 10 : 1) * in acpi_battery_scale() [all …]
|
D | Kconfig | 71 /proc/acpi/battery/* (/sys/class/power_supply/*) 88 have to power off your system, and remove the laptop battery for 91 sensor values like battery state and temperature. 106 switch between A/C and battery, say Y. 117 This driver adds support for battery information through 118 /proc/acpi/battery. If you have a mobile system with a battery, 122 the module will be called battery. 338 type of access to battery information, found on some laptops.
|
D | Makefile | 76 obj-$(CONFIG_ACPI_BATTERY) += battery.o
|
/linux-4.1.27/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 | max8998_charger.c | 33 struct power_supply *battery; member 174 max8998->battery = power_supply_register(max8998->dev, in max8998_battery_probe() 177 if (IS_ERR(max8998->battery)) { in max8998_battery_probe() 178 ret = PTR_ERR(max8998->battery); in max8998_battery_probe() 193 power_supply_unregister(max8998->battery); in max8998_battery_remove()
|
D | Makefile | 8 obj-$(CONFIG_GENERIC_ADC_BATTERY) += generic-adc-battery.o 23 obj-$(CONFIG_BATTERY_GAUGE_LTC2941) += ltc2941-battery-gauge.o 31 obj-$(CONFIG_BATTERY_SBS) += sbs-battery.o 34 obj-$(CONFIG_BATTERY_DA9052) += da9052-battery.o 44 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 | 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() 564 power->battery = power_supply_register(&pdev->dev, in wm831x_power_probe() 567 if (IS_ERR(power->battery)) { in wm831x_power_probe() 568 ret = PTR_ERR(power->battery); in wm831x_power_probe() 623 power_supply_unregister(power->battery); in wm831x_power_probe() 653 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 | max17042_battery.c | 69 struct power_supply *battery; member 604 power_supply_changed(chip->battery); in max17042_thread_handler() 735 chip->battery = power_supply_register(&client->dev, max17042_desc, in max17042_probe() 737 if (IS_ERR(chip->battery)) { in max17042_probe() 739 return PTR_ERR(chip->battery); in max17042_probe() 746 chip->battery->desc->name, chip); in max17042_probe() 776 power_supply_unregister(chip->battery); in max17042_remove()
|
D | 88pm860x_battery.c | 101 struct power_supply *battery; member 957 info->battery = power_supply_register(&pdev->dev, &pm860x_battery_desc, in pm860x_battery_probe() 959 if (IS_ERR(info->battery)) in pm860x_battery_probe() 960 return PTR_ERR(info->battery); in pm860x_battery_probe() 961 info->battery->dev.parent = &pdev->dev; in pm860x_battery_probe() 986 power_supply_unregister(info->battery); in pm860x_battery_probe() 996 power_supply_unregister(info->battery); in pm860x_battery_remove()
|
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 1263 power_supply_changed(bdi->battery); in bq24190_irq_handler_thread() 1422 bdi->battery = power_supply_register(dev, &bq24190_battery_desc, in bq24190_probe() 1424 if (IS_ERR(bdi->battery)) { in bq24190_probe() 1426 ret = PTR_ERR(bdi->battery); in bq24190_probe() 1439 power_supply_unregister(bdi->battery); in bq24190_probe() 1460 power_supply_unregister(bdi->battery); in bq24190_remove() 1498 power_supply_changed(bdi->battery); in bq24190_pm_resume()
|
D | sbs-battery.c | 664 struct power_supply *battery = devid; in sbs_irq() local 666 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.1.27/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.1.27/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.1.27/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 | 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 | gpio-charger.txt | 9 battery 25 battery {
|
D | max17042_battery.txt | 14 battery-charger@36 {
|
/linux-4.1.27/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 | 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 | 10 - ti,bb-uvolt: microvolts for charging the backup battery. 11 - ti,bb-uamp: microamps for charging the backup battery.
|
/linux-4.1.27/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 | 85 each read. Default is 0. On some boards the battery voltage is provided 86 by either the battery or the onboard power supply. Only the first reading 87 at power on will be the actual battery voltage (which the chip does 88 automatically). On other boards the battery voltage is always fed to 90 battery life but no information is given in the datasheet. 179 battery voltage in8 does not have limit registers.
|
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.1.27/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.1.27/drivers/block/ |
D | umem.c | 133 } battery[2]; member 657 if (card->battery[0].good && card->battery[1].good) in set_fault_to_battery_status() 659 else if (card->battery[0].warned || card->battery[1].warned) in set_fault_to_battery_status() 661 else if (!card->battery[0].good && !card->battery[1].good) in set_fault_to_battery_status() 669 static int check_battery(struct cardinfo *card, int battery, int status) in check_battery() argument 671 if (status != card->battery[battery].good) { in check_battery() 672 card->battery[battery].good = !card->battery[battery].good; in check_battery() 673 card->battery[battery].last_change = jiffies; in check_battery() 675 if (card->battery[battery].good) { in check_battery() 677 "Battery %d now good\n", battery + 1); in check_battery() [all …]
|
D | Kconfig | 166 battery backed (Non-volatile) RAM cards.
|
/linux-4.1.27/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.1.27/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.1.27/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
|
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-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.1.27/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.1.27/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.1.27/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 | 14 - 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.1.27/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.1.27/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 | 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). 118 maxim,battery-overcurrent-microamp = <3000000>;
|
D | atmel-gpbr.txt | 3 The GPBR are a set of battery-backed registers.
|
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 | cros-ec.txt | 4 implements various function such as keyboard and battery charging.
|
D | tps6507x.txt | 19 If some of input supply is powered through battery or always-on
|
D | axp20x.txt | 36 applications that aren't battery constrained.
|
D | as3711.txt | 2 supplies, a battery charger and an RTC. So far only bindings for the two stepup
|
/linux-4.1.27/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.1.27/include/linux/ |
D | pm2301_charger.h | 58 struct pm2xxx_bm_data *battery; member
|
D | hid.h | 522 struct power_supply *battery; member
|
/linux-4.1.27/drivers/hid/ |
D | wacom_sys.c | 1047 wacom->battery = power_supply_register(&wacom->hdev->dev, in wacom_initialize_battery() 1049 if (IS_ERR(wacom->battery)) in wacom_initialize_battery() 1050 return PTR_ERR(wacom->battery); in wacom_initialize_battery() 1052 power_supply_powers(wacom->battery, &wacom->hdev->dev); in wacom_initialize_battery() 1058 power_supply_unregister(wacom->battery); in wacom_initialize_battery() 1070 if (wacom->battery) { in wacom_destroy_battery() 1071 power_supply_unregister(wacom->battery); in wacom_destroy_battery() 1072 wacom->battery = NULL; in wacom_destroy_battery() 1346 !wacom->battery) { in wacom_battery_work() 1350 wacom->battery) { in wacom_battery_work()
|
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 | hid-sony.c | 819 struct power_supply *battery; member 1745 sc->battery = power_supply_register(&hdev->dev, &sc->battery_desc, in sony_battery_probe() 1747 if (IS_ERR(sc->battery)) { in sony_battery_probe() 1748 ret = PTR_ERR(sc->battery); in sony_battery_probe() 1753 power_supply_powers(sc->battery, &hdev->dev); in sony_battery_probe() 1767 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() 1942 int pid, battery, charging; in wacom_wireless_irq() local 1953 battery = (data[5] & 0x3f) * 100 / 31; in wacom_wireless_irq() 1961 wacom_notify_battery(wacom, battery, charging, 1, 0); in wacom_wireless_irq() 1991 int battery = (data[8] & 0x3f) * 100 / 31; in wacom_status_irq() local 1994 wacom_notify_battery(wacom_wac, battery, charging, in wacom_status_irq() 1995 battery || charging, 1); in wacom_status_irq() 1997 if (!wacom->battery && in wacom_status_irq() 2005 wacom->battery) { in wacom_status_irq()
|
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.1.27/include/linux/mfd/wm8350/ |
D | supply.h | 126 struct power_supply *battery; member
|
/linux-4.1.27/include/linux/mfd/wm831x/ |
D | pdata.h | 134 struct wm831x_battery_pdata *battery; member
|
/linux-4.1.27/drivers/mtd/lpddr/ |
D | Kconfig | 10 DDR memories, intended for battery-operated systems.
|
/linux-4.1.27/Documentation/cpuidle/ |
D | driver.txt | 21 It can also support the dynamic changes (like battery <-> AC), by using
|
/linux-4.1.27/kernel/power/ |
D | Kconfig | 231 techniques. This is mostly useful for battery powered laptops with 234 battery status information, and user-space programs will receive 235 notification of APM "events" (e.g. battery status change). 246 Generally, if you don't have a battery in your machine, there isn't
|
/linux-4.1.27/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.1.27/arch/arm/boot/dts/ |
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 | ste-dbx5x0.dtsi | 458 stericsson,battery-type = "LIPO"; 464 battery = <&ab8500_battery>; 469 battery = <&ab8500_battery>; 474 battery = <&ab8500_battery>; 480 battery = <&ab8500_battery>;
|
D | tegra124-nyan.dtsi | 330 battery: sbs-battery@b { label 331 compatible = "sbs,sbs-battery";
|
D | exynos5250-snow.dts | 85 battery: sbs-battery@b { label 86 compatible = "sbs,sbs-battery";
|
D | tegra114-dalmore.dts | 765 battery: smart-battery@b { label 766 compatible = "ti,bq20z45", "sbs,sbs-battery"; 768 battery-name = "battery";
|
D | kirkwood-dir665.dts | 274 /* There is no battery on the boards, so the RTC does not keep time
|
D | exynos5420-peach-pit.dts | 954 battery: sbs-battery@b { label 955 compatible = "sbs,sbs-battery";
|
D | exynos5800-peach-pi.dts | 917 battery: sbs-battery@b { label 918 compatible = "sbs,sbs-battery";
|
D | exynos3250-monk.dts | 134 thermistor-battery { 386 compatible = "maxim,max77836-battery";
|
D | tegra124-venice2.dts | 855 battery: sbs-battery@b { label 856 compatible = "sbs,sbs-battery";
|
D | exynos3250-rinato.dts | 125 thermistor-battery { 555 compatible = "maxim,max77836-battery";
|
D | tegra20-seaboard.dts | 390 smart-battery@b { 391 compatible = "ti,bq20z75", "smart-battery-1.1";
|
D | omap3-pandora-common.dtsi | 395 /* backup battery charger */
|
D | exynos4412-trats2.dts | 578 maxim,battery-overcurrent-microamp = <3500000>; 923 thermistor-battery@1 {
|
/linux-4.1.27/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.1.27/sound/soc/ |
D | Kconfig | 18 ASoC provides power efficient ALSA support for embedded battery powered
|
/linux-4.1.27/drivers/mfd/ |
D | Kconfig | 39 controllers, 11 LDOs, RTC, automatic battery, temperature and 99 Controller (EC) providing keyboard, battery and power services. 140 LEDs and battery-charger under the corresponding menus. 334 Passage) chip. This chip embeds audio, battery, GPIO, etc. 364 This driver is necessary for jz4740-battery and jz4740-hwmon driver. 403 battery-charger under the corresponding menus. 426 battery-charger under the corresponding menus. 437 MAX77836 Micro-USB ICs with battery charger. 839 of the AB3100 such as battery-backed RTC, charging control, 878 AB8500 GPADC driver used to convert Acc and battery/ac/usb voltage [all …]
|
/linux-4.1.27/Documentation/w1/masters/ |
D | omap-hdq | 20 A typical application of the HDQ/1-Wire module is the communication with battery
|
/linux-4.1.27/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.1.27/kernel/time/ |
D | Kconfig | 171 numbers of CPUs, and (3) are suffering from battery-lifetime 177 battery-powered systems.
|
/linux-4.1.27/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.1.27/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.1.27/include/linux/mfd/ |
D | max8997-private.h | 391 struct platform_device *battery; /* battery control (not fuel gauge) */ member
|
/linux-4.1.27/Documentation/spi/ |
D | butterfly | 7 battery powered card with an AVR microcontroller and lots of goodies:
|
/linux-4.1.27/net/irda/ |
D | Kconfig | 67 necessary, thus reduce your battery life (but not that much).
|
/linux-4.1.27/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.1.27/Documentation/usb/ |
D | rio.txt | 37 changing them. It appears RIO 500 firmware does not handle low battery
|
/linux-4.1.27/arch/arm/mach-sa1100/ |
D | Kconfig | 105 keyboard, touchscreen, backlight and battery. This driver also activates
|
/linux-4.1.27/drivers/iio/adc/ |
D | Kconfig | 321 Purpose A/D Converter. This will add support for battery type 322 detection, battery voltage and temperature measurement, die
|
/linux-4.1.27/Documentation/i2c/busses/ |
D | i2c-parport | 171 jumper in the battery compartment. More details can be found at:
|
/linux-4.1.27/drivers/rtc/ |
D | Kconfig | 50 This clock should be battery-backed, so that it reads the correct 54 If the clock you specify here is not battery backed, it may still 171 families of ultra-low-power battery- and capacitor-backed real-time 191 chips (often with battery backup) connected with I2C. This driver 1083 support. This chip contains a battery- and capacitor-backed RTC. 1092 support. This chip contains a battery- and capacitor-backed RTC. 1258 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.1.27/drivers/parisc/ |
D | Kconfig | 167 This includes NVRAM battery level, overtemp or failures such as
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | Kconfig | 94 on the AMD LANCE chipset: RieblCard (with or without battery), or
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o.h | 557 unsigned int battery:1; /* Has a battery backup */ member
|
/linux-4.1.27/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.1.27/Documentation/leds/ |
D | ledtrig-transient.txt | 23 permanently causing the battery to drain.
|
/linux-4.1.27/drivers/cpufreq/ |
D | Kconfig | 169 its optimisation for better suitability in a battery powered
|
/linux-4.1.27/drivers/mtd/devices/ |
D | Kconfig | 43 This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery
|
/linux-4.1.27/Documentation/filesystems/ |
D | ext3.txt | 71 your disks are battery-backed in one way or another,
|
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.1.27/drivers/input/serio/ |
D | Kconfig | 141 The SDC may also be connected to a battery-backed real-time
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | em-x270.c | 1206 DA9030_SUBDEV(battery, BAT, &em_x270_batterty_info),
|
/linux-4.1.27/drivers/macintosh/ |
D | Kconfig | 83 control system power, and battery charging on the portable models.
|
/linux-4.1.27/drivers/regulator/ |
D | Kconfig | 13 output in order to save power and prolong battery life. This applies 630 for battery-powered portable applications.
|
/linux-4.1.27/drivers/platform/x86/ |
D | Kconfig | 407 firmware alerts (like critical battery condition), or misled 861 timeout or when the system battery reaches a critical state,
|
/linux-4.1.27/scripts/ |
D | spelling.txt | 160 batery||battery
|
/linux-4.1.27/arch/x86/ |
D | Kconfig | 2094 techniques. This is mostly useful for battery powered laptops with 2097 battery status information, and user-space programs will receive 2098 notification of APM "events" (e.g. battery status change). 2120 Generally, if you don't have a battery in your machine, there isn't 2166 should always save battery power, but more complicated APM features
|
/linux-4.1.27/drivers/scsi/aacraid/ |
D | aacraid.h | 974 __le32 battery; member
|
/linux-4.1.27/drivers/spi/ |
D | Kconfig | 158 inexpensive battery powered microcontroller evaluation board.
|
/linux-4.1.27/Documentation/arm64/ |
D | acpi_object_usage.txt | 556 -- Section 9.3: battery devices
|
/linux-4.1.27/Documentation/scsi/ |
D | ChangeLog.megaraid_sas | 502 mode only when the controller has battery backup. At this time
|
/linux-4.1.27/Documentation/virtual/kvm/ |
D | timekeeping.txt | 197 The RTC will update the current time fields by battery power even while the
|
/linux-4.1.27/init/ |
D | Kconfig | 727 callback invocation to energy-efficient CPUs in battery-powered
|
/linux-4.1.27/ |
D | CREDITS | 1962 D: Various ACPI fixes, keeping correct battery state through suspend
|
D | MAINTAINERS | 3176 F: drivers/power/da9052-battery.c 7789 T: git git://git.infradead.org/battery-2.6.git
|