linux/drivers/acpi/sbs.c
<<
alue2.1/spav2. 2.1/form2. 2.1a alue2. href="../linux+v13" .2/drivers/acpi/sbs.c">alue2.1img src="../.static/gfx/right.png" alt=">>">al1/spav2.al1spav class="lxr_search">aluealue2.1input typ hidden" nam navtarget" on> ">alue2.1input typ text" nam search" id search">alue2.1buttptityp submit">Searchalue2.Prefs. 2.1/a>al1/spav2.ue2. .1/div2.ue2. .1form ac v="ajax+*" method="post" onsubmit="return false;">al1input typ hidden" nam ajax_lookup" id ajax_lookup" on> ">aue2. .1/form2.aue2. .1div class="headingbottpm">. 1div id file_contents"2
. .11/a>1spav class="comment">/*1/spav2.. .21/a>1spav class="comment"> *  sbs.c - ACPI Smart Battery System Driver ($Revis  v: 2.0 $)1/spav2.. .31/a>1spav class="comment"> *1/spav2.. .41/a>1spav class="comment"> *  Copyright (c) 2007 Alexey Starikovskiy <astarikovskiy@suse.de>1/spav2.. .51/a>1spav class="comment"> *  Copyright (c) 2005-2007 Vladimir Lebedev <vladimir.p.lebedev@intel.com>1/spav2.. .61/a>1spav class="comment"> *  Copyright (c) 2005 Rich Townsend <rhdt@bartol.udel.edu>1/spav2.. .71/a>1spav class="comment"> *1/spav2.. .81/a>1spav class="comment"> * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1/spav2.. .91/a>1spav class="comment"> *1/spav2.. v2.6a>1spav class="comment"> *  This program is free software; you cav redistribute it and/or modify1/spav2.. 111/a>1spav class="comment"> *  it under the terms of the GNU General Public License as published by1/spav2.. 121/a>1spav class="comment"> *  the Free Software Founda
  v; either versopti2 of the License, or (at1/spav2.. 131/a>1spav class="comment"> *  your  >
  v) any later versopt.1/spav2.. 141/a>1spav class="comment"> *1/spav2.. 151/a>1spav class="comment"> *  This program is distributed in the hope that it will be useful, but1/spav2.. 161/a>1spav class="comment"> *  WITHOUT ANY WARRANTY; without even the implied warranty of1/spav2.. 171/a>1spav class="comment"> *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU1/spav2.. 181/a>1spav class="comment"> *  General Public License for more details.1/spav2.. 191/a>1spav class="comment"> *1/spav2.. 22.6a>1spav class="comment"> *  You should have received a copy of the GNU General Public License along1/spav2.. 211/a>1spav class="comment"> *  with this program; if not, write to the Free Software Founda
  v, Inc.,1/spav2.. 221/a>1spav class="comment"> *  59 Temple Place, Suite 330, Bost v, MA 02111-1307 USA.1/spav2.. 231/a>1spav class="comment"> *1/spav2.. 241/a>1spav class="comment"> * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1/spav2.. 251/a>1spav class="comment"> */1/spav2.. 261/a>.. 271/a>#include <linux/init.h1/a>>.. 281/a>#include <linux/slab.h1/a>>.. 291/a>#include <linux/module.h1/a>>.. 301/a>#include <linux/moduleparam.h1/a>>.. 311/a>#include <linux/kernel.h1/a>>.. 321/a>.. 331/a>#ifdef.1a href="+code=CONFIG_ACPI_PROCFS_POWER" class="sref">CONFIG_ACPI_PROCFS_POWER1/a>.. 341/a>#include <linux/proc_fs.h1/a>>.. 351/a>#include <linux/seq_file.h1/a>>.. 361/a>#include <asm/uaccess.h1/a>>.. 371/a>#endif.. 381/a>.. 391/a>#include <linux/acpi.h1/a>>.. 401/a>#include <linux/timer.h1/a>>.. 411/a>#include <linux/jiffies.h1/a>>.. 421/a>#include <linux/delay.h1/a>>.. 431/a>#include <linux/power_supply.h1/a>>.. 441/a>.. 451/a>#include "sbshc.h1/a>".. 461/a>.. 471/a>#define.1a href="+code=PREFIX" class="sref">PREFIX1/a> 1spav class="string">"ACPI: ". 481/a>.. 491/a>#define.1a href="+code=ACPI_SBS_CLASS" class="sref">ACPI_SBS_CLASS1/a>                  1spav class="string">"sbs". 501/a>#define.1a href="+code=ACPI_AC_CLASS" class="sref">ACPI_AC_CLASS1/a>                   1spav class="string">"ac_adapter". 511/a>#define.1a href="+code=ACPI_BATTERY_CLASS" class="sref">ACPI_BATTERY_CLASS1/a>              1spav class="string">"battery". 521/a>#define.1a href="+code=ACPI_SBS_DEVICE_NAME" class="sref">ACPI_SBS_DEVICE_NAME1/a>            1spav class="string">"Smart Battery System". 531/a>#define.1a href="+code=ACPI_SBS_FILE_INFO" class="sref">ACPI_SBS_FILE_INFO1/a>              1spav class="string">"info". 541/a>#define.1a href="+code=ACPI_SBS_FILE_STATE" class="sref">ACPI_SBS_FILE_STATE1/a>             1spav class="string">"state". 551/a>#define.1a href="+code=ACPI_SBS_FILE_ALARM" class="sref">ACPI_SBS_FILE_ALARM1/a>             1spav class="string">"alarm". 561/a>#define.1a href="+code=ACPI_BATTERY_DIR_NAME" class="sref">ACPI_BATTERY_DIR_NAME1/a>           1spav class="string">"BAT%i". 571/a>#define.1a href="+code=ACPI_AC_DIR_NAME" class="sref">ACPI_AC_DIR_NAME1/a>                1spav class="string">"AC0". 581/a>.. 591/a>#define.1a href="+code=ACPI_SBS_NOTIFY_STATUS" class="sref">ACPI_SBS_NOTIFY_STATUS1/a>          0x80.. 601/a>#define.1a href="+code=ACPI_SBS_NOTIFY_INFO" class="sref">ACPI_SBS_NOTIFY_INFO1/a>            0x81.. 611/a>.. 621/a>1a href="+code=MODULE_AUTHOR" class="sref">MODULE_AUTHOR1/a>(1spav class="string">"Alexey Starikovskiy <astarikovskiy@suse.de>". 631/a>1a href="+code=MODULE_DESCRIPTION" class="sref">MODULE_DESCRIPTION1/a>(1spav class="string">"Smart Battery System ACPI interface driver". 641/a>1a href="+code=MODULE_LICENSE" class="sref">MODULE_LICENSE1/a>(1spav class="string">"GPL". 651/a>.. 661/a>static unsigned int.1a href="+code=cache_time" class="sref">cache_time1/a> = 1000;.. 671/a>1a href="+code=module_param" class="sref">module_param1/a>(1a href="+code=cache_time" class="sref">cache_time1/a>,.1a href="+code=uint" class="sref">uint1/a>,.0644);.. 681/a>1a href="+code=MODULE_PARM_DESC" class="sref">MODULE_PARM_DESC1/a>(1a href="+code=cache_time" class="sref">cache_time1/a>,.1spav class="string">"cache time in milliseconds". 691/a>.. 701/a>extern struct.1a href="+code=proc_dir_entry" class="sref">proc_dir_entry1/a> *1a href="+code=acpi_lock_ac_dir" class="sref">acpi_lock_ac_dir1/a>(void);.. 711/a>extern struct.1a href="+code=proc_dir_entry" class="sref">proc_dir_entry1/a> *1a href="+code=acpi_lock_battery_dir" class="sref">acpi_lock_battery_dir1/a>(void);.. 721/a>extern void.1a href="+code=acpi_unlock_ac_dir" class="sref">acpi_unlock_ac_dir1/a>(struct.1a href="+code=proc_dir_entry" class="sref">proc_dir_entry1/a> *1a href="+code=acpi_ac_dir" class="sref">acpi_ac_dir1/a>);.. 731/a>extern void.1a href="+code=acpi_unlock_battery_dir" class="sref">acpi_unlock_battery_dir1/a>(struct.1a href="+code=proc_dir_entry" class="sref">proc_dir_entry1/a> *1a href="+code=acpi_battery_dir" class="sref">acpi_battery_dir1/a>);.. 741/a>.. 751/a>#define.1a href="+code=MAX_SBS_BAT" class="sref">MAX_SBS_BAT1/a>                     4.. 761/a>#define.1a href="+code=ACPI_SBS_BLOCK_MAX" class="sref">ACPI_SBS_BLOCK_MAX1/a>              32.. 771/a>.. 781/a>static const struct.1a href="+code=acpi_device_id" class="sref">acpi_device_id1/a> 1a href="+code=sbs_device_ids" class="sref">sbs_device_ids1/a>[] = {.. 791/a>        {1spav class="string">"ACPI0002". 801/a>        {1spav class="string">"". 811/a>};.. 821/a>1a href="+code=MODULE_DEVICE_TABLE" class="sref">MODULE_DEVICE_TABLE1/a>(1a href="+code=acpi" class="sref">acpi1/a>,.1a href="+code=sbs_device_ids" class="sref">sbs_device_ids1/a>);.. 831/a>.. 841/a>struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a> {.. 851/a>        struct.1a href="+code=power_supply" class="sref">power_supply1/a> 1a href="+code=bat" class="sref">bat1/a>;.. 861/a>        struct.1a href="+code=acpi_sbs" class="sref">acpi_sbs1/a> *1a href="+code=sbs" class="sref">sbs1/a>;.. 871/a>#ifdef.1a href="+code=CONFIG_ACPI_PROCFS_POWER" class="sref">CONFIG_ACPI_PROCFS_POWER1/a>.. 881/a>        struct.1a href="+code=proc_dir_entry" class="sref">proc_dir_entry1/a> *1a href="+code=proc_entry" class="sref">proc_entry1/a>;.. 891/a>#endif.. 901/a>        unsigned long.1a href="+code=update_time" class="sref">update_time1/a>;.. 911/a>        char.1a href="+code=nam " class="sref">nam 1/a>[8];.. 921/a>        char.1a href="+code=manufacturer_nam " class="sref">manufacturer_nam 1/a>[1a href="+code=ACPI_SBS_BLOCK_MAX" class="sref">ACPI_SBS_BLOCK_MAX1/a>];.. 931/a>        char.1a href="+code=device_nam " class="sref">device_nam 1/a>[1a href="+code=ACPI_SBS_BLOCK_MAX" class="sref">ACPI_SBS_BLOCK_MAX1/a>];.. 941/a>        char.1a href="+code=device_chemistry" class="sref">device_chemistry1/a>[1a href="+code=ACPI_SBS_BLOCK_MAX" class="sref">ACPI_SBS_BLOCK_MAX1/a>];.. 951/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=alarm_capacity" class="sref">alarm_capacity1/a>;.. 961/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=full_charge_capacity" class="sref">full_charge_capacity1/a>;.. 971/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=design_capacity" class="sref">design_capacity1/a>;.. 981/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=design_voltag " class="sref">design_voltag 1/a>;.. 991/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=serial_number" class="sref">serial_number1/a>;..1001/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=cycle_count" class="sref">cycle_count1/a>;..1011/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=temp_now" class="sref">temp_now1/a>;..1021/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=voltag _now" class="sref">voltag _now1/a>;..1031/a>        1a href="+code=s16" class="sref">s161/a>.1a href="+code=rate_now" class="sref">rate_now1/a>;..1041/a>        1a href="+code=s16" class="sref">s161/a>.1a href="+code=rate_avg" class="sref">rate_avg1/a>;..1051/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=capacity_now" class="sref">capacity_now1/a>;..1061/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=state_of_charge" class="sref">state_of_charge1/a>;..1071/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=state" class="sref">state1/a>;..1081/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=mode" class="sref">mode1/a>;..1091/a>        1a href="+code=u16" class="sref">u161/a>.1a href="+code=spec" class="sref">spec1/a>;..1101/a>        1a href="+code=u8" class="sref">u81/a>.1a href="+code=id" class="sref">id1/a>;..1111/a>        1a href="+code=u8" class="sref">u81/a>.1a href="+code=present" class="sref">present1/a>:1;..1121/a>        1a href="+code=u8" class="sref">u81/a>.1a href="+code=have_sysfs_alarm" class="sref">have_sysfs_alarm1/a>:1;..1131/a>};..1141/a>..1151/a>#define.1a href="+code=to_acpi_battery" class="sref">to_acpi_battery1/a>(1a href="+code=x" class="sref">x1/a>).1a href="+code=container_of" class="sref">container_of1/a>(1a href="+code=x" class="sref">x1/a>, struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=bat" class="sref">bat1/a>)..1161/a>..1171/a>struct.1a href="+code=acpi_sbs" class="sref">acpi_sbs1/a> {..1181/a>        struct.1a href="+code=power_supply" class="sref">power_supply1/a> 1a href="+code=charger" class="sref">charger1/a>;..1191/a>        struct.1a href="+code=acpi_device" class="sref">acpi_device1/a> *1a href="+code=device" class="sref">device1/a>;..1201/a>        struct.1a href="+code=acpi_smb_hc" class="sref">acpi_smb_hc1/a> *1a href="+code=hc" class="sref">hc1/a>;..1211/a>        struct.1a href="+code=mutex" class="sref">mutex1/a> 1a href="+code=lock" class="sref">lock1/a>;..1221/a>#ifdef.1a href="+code=CONFIG_ACPI_PROCFS_POWER" class="sref">CONFIG_ACPI_PROCFS_POWER1/a>..1231/a>        struct.1a href="+code=proc_dir_entry" class="sref">proc_dir_entry1/a> *1a href="+code=charger_entry" class="sref">charger_entry1/a>;..1241/a>#endif..1251/a>        struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a> 1a href="+code=battery" class="sref">battery1/a>[1a href="+code=MAX_SBS_BAT" class="sref">MAX_SBS_BAT1/a>];..1261/a>        1a href="+code=u8" class="sref">u81/a>.1a href="+code=batteries_supported" class="sref">batteries_supported1/a>:4;..1271/a>        1a href="+code=u8" class="sref">u81/a>.1a href="+code=manager_present" class="sref">manager_present1/a>:1;..1281/a>        1a href="+code=u8" class="sref">u81/a>.1a href="+code=charger_present" class="sref">charger_present1/a>:1;..1291/a>};..1301/a>..1311/a>#define.1a href="+code=to_acpi_sbs" class="sref">to_acpi_sbs1/a>(1a href="+code=x" class="sref">x1/a>).1a href="+code=container_of" class="sref">container_of1/a>(1a href="+code=x" class="sref">x1/a>, struct.1a href="+code=acpi_sbs" class="sref">acpi_sbs1/a>,.1a href="+code=charger" class="sref">charger1/a>)..1321/a>..1331/a>static int.1a href="+code=acpi_sbs_remove" class="sref">acpi_sbs_remove1/a>(struct.1a href="+code=acpi_device" class="sref">acpi_device1/a> *1a href="+code=device" class="sref">device1/a>);..1341/a>static int.1a href="+code=acpi_battery_get_state" class="sref">acpi_battery_get_state1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a> *1a href="+code=battery" class="sref">battery1/a>);..1351/a>..1361/a>static 1a href="+code=inline" class="sref">inline1/a> int.1a href="+code=battery_scale" class="sref">battery_scale1/a>(int.1a href="+code=log" class="sref">log1/a>)..1371/a>{..1381/a>        int.1a href="+code=scale" class="sref">scale1/a> = 1;..1391/a>        while (1a href="+code=log" class="sref">log1/a>--)..1401/a>                1a href="+code=scale" class="sref">scale1/a> *= 10;..1411/a>        return 1a href="+code=scale" class="sref">scale1/a>;..1421/a>}..1431/a>..1441/a>static 1a href="+code=inline" class="sref">inline1/a> int.1a href="+code=acpi_battery_vscale" class="sref">acpi_battery_vscale1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a> *1a href="+code=battery" class="sref">battery1/a>)..1451/a>{..1461/a>        return 1a href="+code=battery_scale" class="sref">battery_scale1/a>((1a href="+code=battery" class="sref">battery1/a>->1a href="+code=spec" class="sref">spec1/a> & 0x0f00) >> 8);..1471/a>}..1481/a>..1491/a>static 1a href="+code=inline" class="sref">inline1/a> int.1a href="+code=acpi_battery_ipscale" class="sref">acpi_battery_ipscale1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a> *1a href="+code=battery" class="sref">battery1/a>)..1501/a>{..1511/a>        return 1a href="+code=battery_scale" class="sref">battery_scale1/a>((1a href="+code=battery" class="sref">battery1/a>->1a href="+code=spec" class="sref">spec1/a> & 0xf000) >> 12);..1521/a>}..1531/a>..1541/a>static 1a href="+code=inline" class="sref">inline1/a> int.1a href="+code=acpi_battery_mode" class="sref">acpi_battery_mode1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a> *1a href="+code=battery" class="sref">battery1/a>)..1551/a>{..1561/a>        return (1a href="+code=battery" class="sref">battery1/a>->1a href="+code=mode" class="sref">mode1/a> & 0x8000);..1571/a>}..1581/a>..1591/a>static 1a href="+code=inline" class="sref">inline1/a> int.1a href="+code=acpi_battery_scale" class="sref">acpi_battery_scale1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a> *1a href="+code=battery" class="sref">battery1/a>)..1601/a>{..1611/a>        return (1a href="+code=acpi_battery_mode" class="sref">acpi_battery_mode1/a>(1a href="+code=battery" class="sref">battery1/a>) ? 10 : 1) *..1621/a>            1a href="+code=acpi_battery_ipscale" class="sref">acpi_battery_ipscale1/a>(1a href="+code=battery" class="sref">battery1/a>);..1631/a>}..1641/a>..1651/a>static int.1a href="+code=sbs_get_ac_property" class="sref">sbs_get_ac_property1/a>(struct.1a href="+code=power_supply" class="sref">power_supply1/a> *1a href="+code=psy" class="sref">psy1/a>,..1661/a>                               enum.1a href="+code=power_supply_property" class="sref">power_supply_property1/a>.1a href="+code=psp" class="sref">psp1/a>,..1671/a>                               unopti1a href="+code=power_supply_propval" class="sref">power_supply_propval1/a> *1a href="+code=val" class="sref">val1/a>)..1681/a>{..1691/a>        struct.1a href="+code=acpi_sbs" class="sref">acpi_sbs1/a> *1a href="+code=sbs" class="sref">sbs1/a> =.1a href="+code=to_acpi_sbs" class="sref">to_acpi_sbs1/a>(1a href="+code=psy" class="sref">psy1/a>);..1701/a>        switch (1a href="+code=psp" class="sref">psp1/a>) {..1711/a>        case.1a href="+code=POWER_SUPPLY_PROP_ONLINE" class="sref">POWER_SUPPLY_PROP_ONLINE1/a>:..1721/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=sbs" class="sref">sbs1/a>->1a href="+code=charger_present" class="sref">charger_present1/a>;..1731/a>                break;..1741/a>        default:..1751/a>                return -1a href="+code=EINVAL" class="sref">EINVAL1/a>;..1761/a>        }..1771/a>        return 0;..1781/a>}..1791/a>..1801/a>static int.1a href="+code=acpi_battery_technology" class="sref">acpi_battery_technology1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a> *1a href="+code=battery" class="sref">battery1/a>)..1811/a>{..1821/a>        if (!1a href="+code=strcasecmp" class="sref">strcasecmp1/a>(1spav class="string">"NiCd"battery1/a>->1a href="+code=device_chemistry" class="sref">device_chemistry1/a>))..1831/a>                return 1a href="+code=POWER_SUPPLY_TECHNOLOGY_NiCd" class="sref">POWER_SUPPLY_TECHNOLOGY_NiCd1/a>;..1841/a>        if (!1a href="+code=strcasecmp" class="sref">strcasecmp1/a>(1spav class="string">"NiMH"battery1/a>->1a href="+code=device_chemistry" class="sref">device_chemistry1/a>))..1851/a>                return 1a href="+code=POWER_SUPPLY_TECHNOLOGY_NiMH" class="sref">POWER_SUPPLY_TECHNOLOGY_NiMH1/a>;..1861/a>        if (!1a href="+code=strcasecmp" class="sref">strcasecmp1/a>(1spav class="string">"LION"battery1/a>->1a href="+code=device_chemistry" class="sref">device_chemistry1/a>))..1871/a>                return 1a href="+code=POWER_SUPPLY_TECHNOLOGY_LION" class="sref">POWER_SUPPLY_TECHNOLOGY_LION1/a>;..1881/a>        if (!1a href="+code=strcasecmp" class="sref">strcasecmp1/a>(1spav class="string">"LiP"battery1/a>->1a href="+code=device_chemistry" class="sref">device_chemistry1/a>))..1891/a>                return 1a href="+code=POWER_SUPPLY_TECHNOLOGY_LIPO" class="sref">POWER_SUPPLY_TECHNOLOGY_LIPO1/a>;..1901/a>        return 1a href="+code=POWER_SUPPLY_TECHNOLOGY_UNKNOWN" class="sref">POWER_SUPPLY_TECHNOLOGY_UNKNOWN1/a>;..1911/a>}..1921/a>..1931/a>static int.1a href="+code=acpi_sbs_battery_get_property" class="sref">acpi_sbs_battery_get_property1/a>(struct.1a href="+code=power_supply" class="sref">power_supply1/a> *1a href="+code=psy" class="sref">psy1/a>,..1941/a>                                         enum.1a href="+code=power_supply_property" class="sref">power_supply_property1/a>.1a href="+code=psp" class="sref">psp1/a>,..1951/a>                                         unopti1a href="+code=power_supply_propval" class="sref">power_supply_propval1/a> *1a href="+code=val" class="sref">val1/a>)..1961/a>{..1971/a>        struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a> *1a href="+code=battery" class="sref">battery1/a> =.1a href="+code=to_acpi_battery" class="sref">to_acpi_battery1/a>(1a href="+code=psy" class="sref">psy1/a>);..1981/a>..1991/a>        if ((!1a href="+code=battery" class="sref">battery1/a>->1a href="+code=present" class="sref">present1/a>) && 1a href="+code=psp" class="sref">psp1/a> !=.1a href="+code=POWER_SUPPLY_PROP_PRESENT" class="sref">POWER_SUPPLY_PROP_PRESENT1/a>)..2001/a>                return -1a href="+code=ENODEV" class="sref">ENODEV1/a>;..2011/a>..2021/a>        1a href="+code=acpi_battery_get_state" class="sref">acpi_battery_get_state1/a>(1a href="+code=battery" class="sref">battery1/a>);..2031/a>        switch (1a href="+code=psp" class="sref">psp1/a>) {..2041/a>        case.1a href="+code=POWER_SUPPLY_PROP_STATUS" class="sref">POWER_SUPPLY_PROP_STATUS1/a>:..2051/a>                if (1a href="+code=battery" class="sref">battery1/a>->1a href="+code=rate_now" class="sref">rate_now1/a> < 0)..2061/a>                        1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=POWER_SUPPLY_STATUS_DISCHARGING" class="sref">POWER_SUPPLY_STATUS_DISCHARGING1/a>;..2071/a>                else.if (1a href="+code=battery" class="sref">battery1/a>->1a href="+code=rate_now" class="sref">rate_now1/a> > 0)..2081/a>                        1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=POWER_SUPPLY_STATUS_CHARGING" class="sref">POWER_SUPPLY_STATUS_CHARGING1/a>;..2091/a>                else..2101/a>                        1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=POWER_SUPPLY_STATUS_FULL" class="sref">POWER_SUPPLY_STATUS_FULL1/a>;..2111/a>                break;..2121/a>        case.1a href="+code=POWER_SUPPLY_PROP_PRESENT" class="sref">POWER_SUPPLY_PROP_PRESENT1/a>:..2131/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=present" class="sref">present1/a>;..2141/a>                break;..2151/a>        case.1a href="+code=POWER_SUPPLY_PROP_TECHNOLOGY" class="sref">POWER_SUPPLY_PROP_TECHNOLOGY1/a>:..2161/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=acpi_battery_technology" class="sref">acpi_battery_technology1/a>(1a href="+code=battery" class="sref">battery1/a>);..2171/a>                break;..2181/a>        case.1a href="+code=POWER_SUPPLY_PROP_CYCLE_COUNT" class="sref">POWER_SUPPLY_PROP_CYCLE_COUNT1/a>:..2191/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=cycle_count" class="sref">cycle_count1/a>;..2201/a>                break;..2211/a>        case.1a href="+code=POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN" class="sref">POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN1/a>:..2221/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=design_voltag " class="sref">design_voltag 1/a> *..2231/a>                        1a href="+code=acpi_battery_vscale" class="sref">acpi_battery_vscale1/a>(1a href="+code=battery" class="sref">battery1/a>) * 1000;..2241/a>                break;..2251/a>        case.1a href="+code=POWER_SUPPLY_PROP_VOLTAGE_NOW" class="sref">POWER_SUPPLY_PROP_VOLTAGE_NOW1/a>:..2261/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=voltag _now" class="sref">voltag _now1/a> *..2271/a>                                1a href="+code=acpi_battery_vscale" class="sref">acpi_battery_vscale1/a>(1a href="+code=battery" class="sref">battery1/a>) * 1000;..2281/a>                break;..2291/a>        case.1a href="+code=POWER_SUPPLY_PROP_CURRENT_NOW" class="sref">POWER_SUPPLY_PROP_CURRENT_NOW1/a>:..2301/a>        case.1a href="+code=POWER_SUPPLY_PROP_POWER_NOW" class="sref">POWER_SUPPLY_PROP_POWER_NOW1/a>:..2311/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=abs" class="sref">abs1/a>(1a href="+code=battery" class="sref">battery1/a>->1a href="+code=rate_now" class="sref">rate_now1/a>) *..2321/a>                                1a href="+code=acpi_battery_ipscale" class="sref">acpi_battery_ipscale1/a>(1a href="+code=battery" class="sref">battery1/a>) * 1000;..2331/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> *= (1a href="+code=acpi_battery_mode" class="sref">acpi_battery_mode1/a>(1a href="+code=battery" class="sref">battery1/a>)) ?..2341/a>                                (1a href="+code=battery" class="sref">battery1/a>->1a href="+code=voltag _now" class="sref">voltag _now1/a> *..2351/a>                                1a href="+code=acpi_battery_vscale" class="sref">acpi_battery_vscale1/a>(1a href="+code=battery" class="sref">battery1/a>) / 1000) : 1;..2361/a>                break;..2371/a>        case.1a href="+code=POWER_SUPPLY_PROP_CURRENT_AVG" class="sref">POWER_SUPPLY_PROP_CURRENT_AVG1/a>:..2381/a>        case.1a href="+code=POWER_SUPPLY_PROP_POWER_AVG" class="sref">POWER_SUPPLY_PROP_POWER_AVG1/a>:..2391/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=abs" class="sref">abs1/a>(1a href="+code=battery" class="sref">battery1/a>->1a href="+code=rate_avg" class="sref">rate_avg1/a>) *..2401/a>                                1a href="+code=acpi_battery_ipscale" class="sref">acpi_battery_ipscale1/a>(1a href="+code=battery" class="sref">battery1/a>) * 1000;..2411/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> *= (1a href="+code=acpi_battery_mode" class="sref">acpi_battery_mode1/a>(1a href="+code=battery" class="sref">battery1/a>)) ?..2421/a>                                (1a href="+code=battery" class="sref">battery1/a>->1a href="+code=voltag _now" class="sref">voltag _now1/a> *..2431/a>                                1a href="+code=acpi_battery_vscale" class="sref">acpi_battery_vscale1/a>(1a href="+code=battery" class="sref">battery1/a>) / 1000) : 1;..2441/a>                break;..2451/a>        case.1a href="+code=POWER_SUPPLY_PROP_CAPACITY" class="sref">POWER_SUPPLY_PROP_CAPACITY1/a>:..2461/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=state_of_charge" class="sref">state_of_charge1/a>;..2471/a>                break;..2481/a>        case.1a href="+code=POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN" class="sref">POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN1/a>:..2491/a>        case.1a href="+code=POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN" class="sref">POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN1/a>:..2501/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=design_capacity" class="sref">design_capacity1/a> *..2511/a>                        1a href="+code=acpi_battery_scale" class="sref">acpi_battery_scale1/a>(1a href="+code=battery" class="sref">battery1/a>) * 1000;..2521/a>                break;..2531/a>        case.1a href="+code=POWER_SUPPLY_PROP_CHARGE_FULL" class="sref">POWER_SUPPLY_PROP_CHARGE_FULL1/a>:..2541/a>        case.1a href="+code=POWER_SUPPLY_PROP_ENERGY_FULL" class="sref">POWER_SUPPLY_PROP_ENERGY_FULL1/a>:..2551/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=full_charge_capacity" class="sref">full_charge_capacity1/a> *..2561/a>                        1a href="+code=acpi_battery_scale" class="sref">acpi_battery_scale1/a>(1a href="+code=battery" class="sref">battery1/a>) * 1000;..2571/a>                break;..2581/a>        case.1a href="+code=POWER_SUPPLY_PROP_CHARGE_NOW" class="sref">POWER_SUPPLY_PROP_CHARGE_NOW1/a>:..2591/a>        case.1a href="+code=POWER_SUPPLY_PROP_ENERGY_NOW" class="sref">POWER_SUPPLY_PROP_ENERGY_NOW1/a>:..2601/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=capacity_now" class="sref">capacity_now1/a> *..2611/a>                                1a href="+code=acpi_battery_scale" class="sref">acpi_battery_scale1/a>(1a href="+code=battery" class="sref">battery1/a>) * 1000;..2621/a>                break;..2631/a>        case.1a href="+code=POWER_SUPPLY_PROP_TEMP" class="sref">POWER_SUPPLY_PROP_TEMP1/a>:..2641/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=intval" class="sref">intval1/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=temp_now" class="sref">temp_now1/a> - 2730; 1spav class="comment">// dK -> dC.2651/a>                break;..2661/a>        case.1a href="+code=POWER_SUPPLY_PROP_MODEL_NAME" class="sref">POWER_SUPPLY_PROP_MODEL_NAME1/a>:..2671/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=strval" class="sref">strval1/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=device_nam " class="sref">device_nam 1/a>;..2681/a>                break;..2691/a>        case.1a href="+code=POWER_SUPPLY_PROP_MANUFACTURER" class="sref">POWER_SUPPLY_PROP_MANUFACTURER1/a>:..2701/a>                1a href="+code=val" class="sref">val1/a>->1a href="+code=strval" class="sref">strval1/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=manufacturer_nam " class="sref">manufacturer_nam 1/a>;..2711/a>                break;..2721/a>        default:..2731/a>                return -1a href="+code=EINVAL" class="sref">EINVAL1/a>;..2741/a>        }..2751/a>        return 0;..2761/a>}..2771/a>..2781/a>static enum.1a href="+code=power_supply_property" class="sref">power_supply_property1/a>.1a href="+code=sbs_ac_props" class="sref">sbs_ac_props1/a>[] =.{..2791/a>        1a href="+code=POWER_SUPPLY_PROP_ONLINE" class="sref">POWER_SUPPLY_PROP_ONLINE1/a>,..2801/a>};..2811/a>..2821/a>static enum.1a href="+code=power_supply_property" class="sref">power_supply_property1/a>.1a href="+code=sbs_charge_battery_props" class="sref">sbs_charge_battery_props1/a>[] =.{..2831/a>        1a href="+code=POWER_SUPPLY_PROP_STATUS" class="sref">POWER_SUPPLY_PROP_STATUS1/a>,..2841/a>        1a href="+code=POWER_SUPPLY_PROP_PRESENT" class="sref">POWER_SUPPLY_PROP_PRESENT1/a>,..2851/a>        1a href="+code=POWER_SUPPLY_PROP_TECHNOLOGY" class="sref">POWER_SUPPLY_PROP_TECHNOLOGY1/a>,..2861/a>        1a href="+code=POWER_SUPPLY_PROP_CYCLE_COUNT" class="sref">POWER_SUPPLY_PROP_CYCLE_COUNT1/a>,..2871/a>        1a href="+code=POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN" class="sref">POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN1/a>,..2881/a>        1a href="+code=POWER_SUPPLY_PROP_VOLTAGE_NOW" class="sref">POWER_SUPPLY_PROP_VOLTAGE_NOW1/a>,..2891/a>        1a href="+code=POWER_SUPPLY_PROP_CURRENT_NOW" class="sref">POWER_SUPPLY_PROP_CURRENT_NOW1/a>,..2901/a>        1a href="+code=POWER_SUPPLY_PROP_CURRENT_AVG" class="sref">POWER_SUPPLY_PROP_CURRENT_AVG1/a>,..2911/a>        1a href="+code=POWER_SUPPLY_PROP_CAPACITY" class="sref">POWER_SUPPLY_PROP_CAPACITY1/a>,..2921/a>        1a href="+code=POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN" class="sref">POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN1/a>,..2931/a>        1a href="+code=POWER_SUPPLY_PROP_CHARGE_FULL" class="sref">POWER_SUPPLY_PROP_CHARGE_FULL1/a>,..2941/a>        1a href="+code=POWER_SUPPLY_PROP_CHARGE_NOW" class="sref">POWER_SUPPLY_PROP_CHARGE_NOW1/a>,..2951/a>        1a href="+code=POWER_SUPPLY_PROP_TEMP" class="sref">POWER_SUPPLY_PROP_TEMP1/a>,..2961/a>        1a href="+code=POWER_SUPPLY_PROP_MODEL_NAME" class="sref">POWER_SUPPLY_PROP_MODEL_NAME1/a>,..2971/a>        1a href="+code=POWER_SUPPLY_PROP_MANUFACTURER" class="sref">POWER_SUPPLY_PROP_MANUFACTURER1/a>,..2981/a>};..2991/a>..3001/a>static enum.1a href="+code=power_supply_property" class="sref">power_supply_property1/a>.1a href="+code=sbs_energy_battery_props" class="sref">sbs_energy_battery_props1/a>[] =.{..3011/a>        1a href="+code=POWER_SUPPLY_PROP_STATUS" class="sref">POWER_SUPPLY_PROP_STATUS1/a>,..3021/a>        1a href="+code=POWER_SUPPLY_PROP_PRESENT" class="sref">POWER_SUPPLY_PROP_PRESENT1/a>,..3031/a>        1a href="+code=POWER_SUPPLY_PROP_TECHNOLOGY" class="sref">POWER_SUPPLY_PROP_TECHNOLOGY1/a>,..3041/a>        1a href="+code=POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN" class="sref">POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN1/a>,..3051/a>        1a href="+code=POWER_SUPPLY_PROP_VOLTAGE_NOW" class="sref">POWER_SUPPLY_PROP_VOLTAGE_NOW1/a>,..3061/a>        1a href="+code=POWER_SUPPLY_PROP_CURRENT_NOW" class="sref">POWER_SUPPLY_PROP_CURRENT_NOW1/a>,..3071/a>        1a href="+code=POWER_SUPPLY_PROP_CURRENT_AVG" class="sref">POWER_SUPPLY_PROP_CURRENT_AVG1/a>,..3081/a>        1a href="+code=POWER_SUPPLY_PROP_POWER_NOW" class="sref">POWER_SUPPLY_PROP_POWER_NOW1/a>,..3091/a>        1a href="+code=POWER_SUPPLY_PROP_POWER_AVG" class="sref">POWER_SUPPLY_PROP_POWER_AVG1/a>,..3101/a>        1a href="+code=POWER_SUPPLY_PROP_CAPACITY" class="sref">POWER_SUPPLY_PROP_CAPACITY1/a>,..3111/a>        1a href="+code=POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN" class="sref">POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN1/a>,..3121/a>        1a href="+code=POWER_SUPPLY_PROP_ENERGY_FULL" class="sref">POWER_SUPPLY_PROP_ENERGY_FULL1/a>,..3131/a>        1a href="+code=POWER_SUPPLY_PROP_ENERGY_NOW" class="sref">POWER_SUPPLY_PROP_ENERGY_NOW1/a>,..3141/a>        1a href="+code=POWER_SUPPLY_PROP_TEMP" class="sref">POWER_SUPPLY_PROP_TEMP1/a>,..3151/a>        1a href="+code=POWER_SUPPLY_PROP_MODEL_NAME" class="sref">POWER_SUPPLY_PROP_MODEL_NAME1/a>,..3161/a>        1a href="+code=POWER_SUPPLY_PROP_MANUFACTURER" class="sref">POWER_SUPPLY_PROP_MANUFACTURER1/a>,..3171/a>};..3181/a>..3191/a>..3201/a>1spav class="comment">/* --------------------------------------------------------------------------.3211/a>1spav class="comment">                            Smart Battery System Management1/spav2..3221/a>1spav class="comment">   -------------------------------------------------------------------------- */1/spav2..3231/a>..3241/a>struct.1a href="+code=acpi_battery_reader" class="sref">acpi_battery_reader1/a> {..3251/a>        1a href="+code=u8" class="sref">u81/a>.1a href="+code=command" class="sref">command1/a>;             1spav class="comment">/* command for battery */1/spav2..3261/a>        1a href="+code=u8" class="sref">u81/a>.1a href="+code=mode" class="sref">mode1/a>;                1spav class="comment">/* word or block? */1/spav2..3271/a>        1a href="+code=size_t" class="sref">size_t1/a>.1a href="+code=offset" class="sref">offset1/a>;          1spav class="comment">/* offset inside struct.acpi_sbs_battery */1/spav2..3281/a>};..3291/a>..3301/a>static struct.1a href="+code=acpi_battery_reader" class="sref">acpi_battery_reader1/a> 1a href="+code=info_readers" class="sref">info_readers1/a>[] =.{..3311/a>        {0x01,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=alarm_capacity" class="sref">alarm_capacity1/a>)},.        {0x31,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=mode" class="sref">mode1/a>)},.32331/a>        {0101,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=full_charge_capacity" class="sref">full_charge_capacity1/a>)},.32341/a>        {0171,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=cycle_count" class="sref">cycle_count1/a>)},.32351/a>        {0181,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=design_capacity" class="sref">design_capacity1/a>)},.32361/a>        {0191,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=design_voltag " class="sref">design_voltag 1/a>)},.32371/a>        {01a1,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+codespect" class="sref">pec 1/a>)},.32381/a>        {01c1,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+codeserial_numbder" class="sref"serial_numbde 1/a>)},.32391/a>        {0201,.1a href="+code=SMBUS_READBLOCKD" class="sref">SMBUS_READBLOCKD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=manufacturer_nam " class="sref">manufacturer_nam 1/a>)},.32401/a>        {0201,.1a href="+code=SMBUS_READBLOCKD" class="sref">SMBUS_READBLOCKD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=device_nam " class="sref">device_nam 1/a>)},.34311/a>        {0221,.1a href="+code=SMBUS_READBLOCKD" class="sref">SMBUS_READBLOCKD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=device_chemistry" class="sref">device_chemistry1/a>)},.32421/a>};.34231/a>.34401/a>static struct.1a href="+code=acpi_battery_reader" class="sref">acpi_battery_reader1/a> 1a href="+code>state_readers" class="sref">state_readers1/a>[] =.{.34351/a>        {0081,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=temp_now" class="sref">temp_now1/a>)},.34361/a>        {0091,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=voltag _now" class="sref">voltag _now1/a>)},.34371/a>        {00a1,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=rate_now" class="sref">rate_now1/a>)},.34381/a>        {00b1,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=rate_avg" class="sref">rate_avg1/a>)},.34391/a>        {00f1,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=capacity_now" class="sref">capacity_now1/a>)},.35401/a>        {00e1,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=state_of_charge" class="sref">state_of_charge1/a>)},.35311/a>        {0161,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+code=offsetof" class="sref">offsetof1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>,.1a href="+code=state" class="sref">state1/a>)},.35421/a>};.35231/a>.35401/a>static int.1a href="+code=acpimManagry_get>infy" class="sref">acpimManagry_get>inff1/a>(struct.1a href="+code=acpisabs" class="sref">acpisab11/a>*.1a href="+code=abs" class="sref"sab11/a0).32551/a.{.32561/a>        int.1a href="+coderesulnt" class="sref"resuln61/a>=n 0;.35271/a>        1a href="+codeu316" class="sref">3161/a> 1a href="+code_battery_Systet>infy" class="sref"_battery_Systet>inft1/a>;.35181/a>.35091/a>        1a href="+coderesulnt" class="sref"resuln61/a>=n.1a href="+code=acpismbuse_reas" class="sref">acpismbuse_reaf1/a>.1a href="+code=abs" class="sref"sab11/a>->1a href="+codehct" class="sref"hcy1/a>,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+codeACPI_SBSP_MAAGRER" class="sref"ACPI_SBSP_MAAGRED1/a>>.32601/a>                                {004,  (1a href="+code=u8" class="sref">u81/a>*);& 1a href="+code_battery_Systet>infy" class="sref"_battery_Systet>inft1/a>);.32611/a>       .if ! 1a href="+coderesulnt" class="sref"resuln61/a0).32621/a>               .1a href="+code=abs" class="sref"sab11/a>->1a href="+code_batteiesr_suporteas" class="sref"_batteiesr_suportea61/a>=n.1a href="+code_battery_Systet>infy" class="sref"_battery_Systet>inft1/a ;& {0000f);.32631/a>        return 1a href="+coderesulnt" class="sref"resuln61/a);.32641/a>}.32651/a}.32661/a>static int.1a href="+code=acpi_battery_get>infy" class="sref">acpi_battery_get>inff1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>*.1a href="+code=battery" class="sref">battery1/a>}.32671/a.{.32681/a>        int.1a href="+codeiy" class="sref"iy1/a>,.1a href="+code=esulnt" class="sref"resuln61/a>=n 0;.36291/a>.32701/a>        for (1a href="+codeiy" class="sref"iy1/a>=n 0t.1a href="+codeiy" class="sref"iy1/a <0t.1a href="+codeARRAY_SIZME" class="sref"ARRAY_SIZMf1/a>.1a href="+code=info_readers" class="sref">info_readers1/a); ++.1a href="+codeiy" class="sref"iy1/a)=.{.32711/a>                1a href="+coderesulnt" class="sref"resuln61/a>=n.1a href="+code=acpismbuse_reas" class="sref">acpismbuse_reaf1/a>.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=abs" class="sref"sab11/a>->1a href="+codehct" class="sref"hcy1/a>{.37421/a>                                         1a href="+code=info_readers" class="sref">info_readers1/a>.1a href="+codeiy" class="sref"iy1/a]..1a href="+code=mode" class="sref">mode1/a>{.32731/a>                                         1a href="+codeACPI_SBSPBATTERTY" class="sref"ACPI_SBSPBATTERTe1/a>{.32741/a>                                         1a href="+code=info_readers" class="sref">info_readers1/a>.1a href="+codeiy" class="sref"iy1/a]..1a href="+code=command" class="sref">command1/a>{.32751/a>                                         (1a href="+code=u8" class="sref">u81/a>*)n.1a href="+code_battery" class="sref">battery1/a +{.37561/a>                                                1a href="+code=info_readers" class="sref">info_readers1/a>.1a href="+codeiy" class="sref"iy1/a]..1a href="+code=offset" class="sref">offset1/a>);.37671/a>               .if  1a href="+coderesulnt" class="sref"resuln61/a0).37681/a>                        break;.32791/a>       >}.38701/a>        return 1a href="+coderesulnt" class="sref"resuln61/a);.32811/a>}.32821/a}.32831/a>static int.1a href="+code=acpi_battery_get=state" class="sref"=acpi_battery_get=statf1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>*.1a href="+code=battery" class="sref">battery1/a>}.32841/a.{.32851/a>        int.1a href="+codeiy" class="sref"iy1/a>,.1a href="+code=esulnt" class="sref"resuln61/a>=n 0;.32861/a;.32871/a>       .if  1a href="+code=battery" class="sref">battery1/a>->1a href="+codeupdtatetiam " class="sref"updtatetiamt1/a ;&&.38681/a>           .1a href="+code=iam_be fom " class="sref"=iam_be fomf1/a>.1a href="+codejiffiers" class="sref"jiffiery1/a>,.1a href="+code=battery" class="sref">battery1/a>->1a href="+codeupdtatetiam " class="sref"updtatetiamt1/a +{.32891/a>                                1a href="+codemsecs_to_jiffiers" class="sref"msecs_to_jiffierf1/a>.1a href="+codecachtetiam " class="sref"cachtetiamy1/a>)>}.39601/a>                return 0;.32911/a>        for (1a href="+codeiy" class="sref"iy1/a>=n 0t.1a href="+codeiy" class="sref"iy1/a <0t.1a href="+codeARRAY_SIZME" class="sref"ARRAY_SIZMf1/a>.1a href="+code>state_readers" class="sref">state_readers1/a); ++.1a href="+codeiy" class="sref"iy1/a)=.{.39621/a>               .1a href="+coderesulnt" class="sref"resuln61/a>=n.1a href="+code=acpismbuse_reas" class="sref">acpismbuse_reaf1/a>.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=abs" class="sref"sab11/a>->1a href="+codehct" class="sref"hcy1/a>{.39731/a>                                         1a href="+code>state_readers" class="sref">state_readers1/a>.1a href="+codeiy" class="sref"iy1/a]..1a href="+code=mode" class="sref">mode1/a>{.39741/a>                                         1a href="+codeACPI_SBSPBATTERTY" class="sref"ACPI_SBSPBATTERTe1/a>{.39751/a>                                         1a href="+code>state_readers" class="sref">state_readers1/a>.1a href="+codeiy" class="sref"iy1/a]..1a href="+code=command" class="sref">command1/a>{.39561/a>                                         (1a href="+code=u8" class="sref">u81/a>*).1a href="+code_battery" class="sref">battery1/a +{.39671/a>                                                1a href="+code>state_readers" class="sref">state_readers1/a>.1a href="+codeiy" class="sref"iy1/a]..1a href="+code=offset" class="sref">offset1/a>);.39681/a>               .if  1a href="+coderesulnt" class="sref"resuln61/a0).39891/a>                       goto  1a href="+codeeand" class="sref"eand1/a>).40601/a>       >}.43011/a>      1a href="+codeeand" class="sref"eand1/at:.43021/a>        1a href="+code=battery" class="sref">battery1/a>->1a href="+codeupdtatetiam " class="sref"updtatetiamt1/a =n.1a href="+codejiffiers" class="sref"jiffiery1/a>).40631/a>        return 1a href="+coderesulnt" class="sref"resuln61/a);.40641/a>}.40651/a}.40661/a>static int.1a href="+code=acpi_battery_get>alare" class="sref"=acpi_battery_get>alarf1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>*.1a href="+code=battery" class="sref">battery1/a>}.40671/a.{.43081/a>        return 1a href="+code=acpismbuse_reas" class="sref">acpismbuse_reaf1/a>.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=abs" class="sref"sab11/a>->1a href="+codehct" class="sref"hcy1/a>,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>{.40891/a>                                 1a href="+codeACPI_SBSPBATTERTY" class="sref"ACPI_SBSPBATTERTe1/a> {0x01{.41601/a>                                 (1a href="+code=u8" class="sref">u81/a>*);& 1a href="+code_battery" class="sref">battery1/a>->1a href="+code=alarm_capacity" class="sref">alarm_capacity1/a>);.41811/a>}.41821/a}.41831/a>static int.1a href="+code=acpi_batterysget>alare" class="sref"=acpi_batterysget>alarf1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>*.1a href="+code=battery" class="sref">battery1/a>}.41841/a.{.43151/a>       (struct.1a href="+code=acpisabs" class="sref">acpisab11/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=abs" class="sref"sab11/a);.43161/a>        1a href="+codeu316" class="sref">3161/a> 1a href="+codevalum " class="sref"valumy1/a>,.1a href="+codeseal" class="sref">eal1/a> =1 <0<0t>.1a href="+code=battery" class="sref">battery1/a>->1a href="+codeias" class="sref"ia61/a>+ 12>);.41771/a>.41681/a>        int.1a href="+coderset" class="sref"ren61/a);.43191/a>.43201/a>.42611/a>       .if ;1a href="+code=abs" class="sref"sab11/a>->1a href="+codemManagrypreseunt" class="sref"mManagrypreseuny1/a)=.{.42621/a>               .1a href="+codereet" class="sref"ren61/a>=n.1a href="+code=acpismbuse_reas" class="sref">acpismbuse_reaf1/a>.1a href="+code=abs" class="sref"sab11/a>->1a href="+codehct" class="sref"hcy1/a>,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+codeACPI_SBSP_MAAGRER" class="sref"ACPI_SBSP_MAAGRED1/a>>.42731/a>                               {0x01, (1a href="+code=u8" class="sref">u81/a>*);& 1a href="+codevalum " class="sref"valumy1/a>);.42741/a>               .if  1a href="+codereet" class="sref"ren61/a>}.42751/a>                       goto  1a href="+codeeand" class="sref"eand1/a>).42561/a>               .if   1a href="+codevalum " class="sref"valumy1/a ;& {0f000) !=n.1a href="+codeseal" class="sref">eal1/a)=.{.42671/a>                        1a href="+codevalum " class="sref"valumy1/a ;&= {0xfff);.42681/a>                        1a href="+codevalum " class="sref"valumy1/a |=n.1a href="+codeseal" class="sref">eal1/a);.42891/a>               .1a href="+codereet" class="sref"ren61/a>=n.1a href="+code=acpismbusewriate" class="sref"=acpismbusewriatf1/a>.1a href="+code=abs" class="sref"sab11/a>->1a href="+codehct" class="sref"hcy1/a>,.1a href="+code=SMBUSWRITED_WORD" class="sref">SMBUSWRITED_WORD1/a>>.43601/a>                                        .1a href="+codeACPI_SBSP_MAAGRER" class="sref"ACPI_SBSP_MAAGRED1/a>>.43711/a>                                        {0x01, (1a href="+code=u8" class="sref">u81/a>*);& 1a href="+codevalum " class="sref"valumy1/a, 2>);.               .if  1a href="+codereet" class="sref"ren61/a>}.43731/a>                       goto  1a href="+codeeand" class="sref"eand1/a>).43741/a>               >}.42351/a>       >}.43161/a>        1a href="+codereet" class="sref"ren61/a>=n.1a href="+code=acpismbusewriate" class="sref"=acpismbusewriatf1/a>.1a href="+code=abs" class="sref"sab11/a>->1a href="+codehct" class="sref"hcy1/a>,.1a href="+code=SMBUSWRITED_WORD" class="sref">SMBUSWRITED_WORD1/a>  1a href="+codeACPI_SBSPBATTERTY" class="sref"ACPI_SBSPBATTERTe1/a>{.43671/a>                               {0x01, (1a href="+code=u8" class="sref">u81/a>*);& 1a href="+code_battery" class="sref">battery1/a>->1a href="+code=alarm_capacity" class="sref">alarm_capacity1/a, 2>);.42381/a>      1a href="+codeeand" class="sref"eand1/at:.42391/a>        return 1a href="+codereet" class="sref"ren61/a);.42401/a>}.44811/a>.44821/a>static int.1a href="+code=acpiacy_getpreseunt" class="sref"=acpiacy_getpreseunf1/a>(struct.1a href="+code=acpisabs" class="sref">acpisab11/a>*.1a href="+code=abs" class="sref"sab11/a0).44231/a.{.44741/a>        int.1a href="+coderesulnt" class="sref"resuln61/a);.44351/a>        1a href="+codeu316" class="sref">3161/a> 1a href="+code>staurs" class="sref">staub11/a);.44861/a;.44271/a>        1a href="+coderesulnt" class="sref"resuln61/a>=n.1a href="+code=acpismbuse_reas" class="sref">acpismbuse_reaf1/a>.1a href="+code=abs" class="sref"sab11/a>->1a href="+codehct" class="sref"hcy1/a>,.1a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD1/a>,.1a href="+codeACPI_SBSP_CHARGER" class="sref"ACPI_SBSP_CHARGEe1/a>{.44681/a>                                {0131, (1a href="+code=u8" class="sref">u81/a>*) ;&  1a href="+code>staurs" class="sref">staub11/a>);.44391/a>       .if ! 1a href="+coderesulnt" class="sref"resuln61/a0).45601/a>               .1a href="+code=abs" class="sref"sab11/a>->1a href="+code_chargrypreseunt" class="sref"_chargrypreseun61/a>=n>.1a href="+code>staurs" class="sref">staub11/a ->-> 15) ;& {01);.45311/a>        return 1a href="+coderesulnt" class="sref"resuln61/a);.45421/a>;.45231/a>.45401/a>static.1a href="+code>=size_t" class="sref">>size_t1/a>.1a href="+code=acpi_battery>alarmshnow" class="sref"=acpi_battery>alarmshnof1/a>(struct.1a href="+code>devicw" class="sref">devic11/a>*.1a href="+code>dew" class="sref">dee1/a>{.45751/a>                                       (struct.1a href="+code>devic_batribuate" class="sref">devic_batribuat11/a>*.1a href="+codebatrw" class="sref"=atre1/a>{.45561/a>                                       _cha>*.1a href="+code=uof" class="sref"=uo61/a0).45671/a.{.45681/a>       (struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>*.1a href="+code=battery" class="sref">battery1/a>=n.1a href="+codeto_=acpi_battery" class="sref"to_=acpi_batterf1/a>.1a href="+code>dey_getdrvdatae" class="sref">dey_getdrvdataf1/a>.1a href="+code>dew" class="sref">dee1/a)>);.45091/a>        1a href="+code=acpi_battery_get>alare" class="sref"=acpi_battery_get>alarf1/a>.1a href="+code=battery" class="sref">battery1/a>);.46701/a>        return 1a href="+codespr inof" class="sref"spr inof1/a>.1a href="+code=uof" class="sref"=uo61/a,  1spav class=(sting">&quogt-#37;d\n&quogt/1/spav>,.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=alarm_capacity" class="sref">alarm_capacity1/a *;.46711/a>                                1a href="+code=acpi_batteryscalte" class="sref"=acpi_batteryscaltf1/a>.1a href="+code=battery" class="sref">battery1/a> * 1000));.46421/a>;.46231/a>.46401/a>static.1a href="+code>=size_t" class="sref">>size_t1/a>.1a href="+code=acpi_battery>alarmstfom " class="sref"=acpi_battery>alarmstfomf1/a>(struct.1a href="+code>devicw" class="sref">devic11/a>*.1a href="+code>dew" class="sref">dee1/a>{.46751/a>                                       (struct.1a href="+code>devic_batribuate" class="sref">devic_batribuat11/a>*.1a href="+codebatrw" class="sref"=atre1/a>{.46561/a>                                       _onst _cha>*.1a href="+code=uof" class="sref"=uo61/a>,.1a href="+codessize_t" class="sref">size_t1/a>.1a href="+code_count" class="sref">count1/a>{.42671/a.{.42681/a>       unesiged long>.1a href="+codext" class="sref"x61/a);.46091/a>       (struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>*.1a href="+code=battery" class="sref">battery1/a>=n.1a href="+codeto_=acpi_battery" class="sref"to_=acpi_batterf1/a>.1a href="+code>dey_getdrvdatae" class="sref">dey_getdrvdataf1/a>.1a href="+code>dew" class="sref">dee1/a)>);.42701/a>       .if ;1a href="+code=scanof" class="sref"sscanof1/a>.1a href="+code=uof" class="sref"=uo61/a,  1spav class=(sting">&quogt-#37;ld\n&quogt/1/spav>,;& 1a href="+codext" class="sref"x61/a) == 1>{.42711/a>                1a href="+code=battery" class="sref">battery1/a>->1a href="+code=alarm_capacity" class="sref">alarm_capacity1/a =n.1a href="+codext" class="sref"x61/a /{.47421/a>                       (1000 *  1a href="+code=acpi_batteryscalte" class="sref"=acpi_batteryscaltf1/a>.1a href="+code=battery" class="sref">battery1/a>>);.42731/a>       .if  1a href="+code=battery" class="sref">battery1/a>->1a href="+codepreseunt" class="sref"preseuny1/a);.42741/a>                1a href="+code=acpi_batterysget>alare" class="sref"=acpi_batterysget>alarf1/a>.1a href="+code=battery" class="sref">battery1/a>);.42751/a>        return 1a href="+code_count" class="sref">count1/a);.47561/a>;.47771/a>.47681/a>static struct.1a href="+code>devic_batribuate" class="sref">devic_batribuat11/a>;1a href="+code=alarmbatrw" class="sref"=alarmbatry1/a =n.{.42791/a>       ..1a href="+codebatrw" class="sref"=atre1/a =n...1a href="+code namw" class="sref" namy1/a =n.1spav class=(sting">&quogt=alar&quogt/1/spav>,..1a href="+code=mode" class="sref">mode1/a>=n 644)},.48701/a>       ..1a href="+codeshnow" class="sref"shnof1/a>=n.1a href="+code=acpi_battery>alarmshnow" class="sref"=acpi_battery>alarmshnof1/a},.48101/a>       ..1a href="+codestfom " class="sref"stfomf1/a>=n.1a href="+code=acpi_battery>alarmstfom " class="sref"=acpi_battery>alarmstfomf1/a},.48421/a>};.48231/a>.42841/a 1spav class="comment">/*--------------------------------------------------------------------------/1/spav2.42851/a 1spav class="comment"                              FS Intteface (/procs/acp)/1/spav2.42861/a 1spav class="comment"   --------------------------------------------------------------------------y */1/spav2.48771/a>.48681/a#ifdefn.1a href="+codeCONFIG_ACPI_PROCFS_POWGER" class="sref"CONFIG_ACPI_PROCFS_POWGE71/a>.42891/a 1spav class="comment">/*GenerticRoutlinsy */1/spav2.49301/a>staticint2.42911/a.1a href="+code=acpisab_add_fbs" class="sref">acpisab_add_fbf1/a>(struct.1a href="+codeproc_dir_menery" class="sref"proc_dir_menery1/a>**.1a href="+code>irw" class="sref">irf1/a},.49621/a>               (struct.1a href="+codeproc_dir_menery" class="sref"proc_dir_menery1/a>*.1a href="+codeparmen_>irw" class="sref"parmen_>irf1/a},.49731/a>               _cha>*.1a href="+codedir_ namw" class="sref"dir_ namf1/a},.49741/a>               _onst (struct.1a href="+codefile_opertatonsw" class="sref"file_opertatonsy1/a>*.1a href="+code>infofoprs" class="sref">infofoprf1/a},.49751/a>               _onst (struct.1a href="+codefile_opertatonsw" class="sref"file_opertatonsy1/a>*.1a href="+code>statefoprs" class="sref">statefoprf1/a},.49561/a>               _onst (struct.1a href="+codefile_opertatonsw" class="sref"file_opertatonsy1/a>*.1a href="+code>alarmfoprs" class="sref">alarmfopr61/a, void>*.1a href="+codedatae" class="sref">ataf1/a);.49671/a.{.49681/a>       .1a href="+codeprintky" class="sref"printkf1/a>.1a href="+codeKERN_WARNINGy" class="sref"KERN_WARNING11/a>;1a href="+codePREFIXy" class="sref"PREFIX11/a>;1spav class=(sting">&quogtDeprectatd procfs I/F  forSBS is loaded,&quogt/1/spav{.49891/a>                       ;1spav class=(sting">&quogt please  rery with CONFIG_ACPI_PROCFS_POWGEv cearmd\n&quogt/1/spav>);.50701/a>       .if !*.1a href="+code>irw" class="sref">irf1/a)=.{.50711/a>               *.1a href="+code>irw" class="sref">irf1/a>=n.1a href="+codeproc_mk>irw" class="sref"proc_mk>irf1/a>.1a href="+code>ir_ namw" class="sref"dir_ namf1/a}n.1a href="+codeparmen_>irw" class="sref"parmen_>irf1/a>);.50621/a>               .if !*.1a href="+code>irw" class="sref">irf1/a)=.{.50731/a>                        return-.1a href="+codeENODEVw" class="sref"ENODEVt1/a);.50741/a>               >}.50351/a>       >}.50861/a;.50271/a>        1spav class="comment">/*'>inf' [R]y */1/spav2.53081/a>       .if  1a href="+code>infofoprs" class="sref">infofoprf1/a);.50891/a>               .1a href="+codeproc_cretatedatae" class="sref"proc_cretatedataf1/a>.1a href="+codeACPI_SBSPFILE_INFOe" class="sref"ACPI_SBSPFILE_INFOf1/a}n.1a href="+codeS_IRUGOe" class="sref"S_IRUGOf1/a}n*.1a href="+code>irw" class="sref">irf1/a},.51601/a>                                .1a href="+code>infofoprs" class="sref">infofoprf1/a}t.1a href="+code>atae" class="sref">ataf1/a));.51811/a>.51271/a>        1spav class="comment">/*'>stat' [R]y */1/spav2.51731/a>       .if  1a href="+code>statefoprs" class="sref">statefoprf1/a);.51741/a>                1a href="+codeproc_cretatedatae" class="sref"proc_cretatedataf1/a>.1a href="+codeACPI_SBSPFILE_STATEe" class="sref"ACPI_SBSPFILE_STATEf1/a}n.1a href="+codeS_IRUGOe" class="sref"S_IRUGOf1/a}n*.1a href="+code>irw" class="sref">irf1/a},.51751/a>                                .1a href="+code>statefoprs" class="sref">statefoprf1/a}t.1a href="+code>atae" class="sref">ataf1/a));.51861/a;.51271/a>        1spav class="comment">/*'=alar' [R/W]y */1/spav2.51081/a>       .if  1a href="+code>alarmfoprs" class="sref">alarmfopr61/a);.51891/a>               .1a href="+codeproc_cretatedatae" class="sref"proc_cretatedataf1/a>.1a href="+codeACPI_SBSPFILE_ALARMe" class="sref"ACPI_SBSPFILE_ALARMf1/a}n.1a href="+codeS_IRUGOe" class="sref"S_IRUGOf1/a}n*.1a href="+code>irw" class="sref">irf1/a},.52601/a>                                .1a href="+code>alarmfoprs" class="sref">alarmfopr61/a, .1a href="+code>atae" class="sref">ataf1/a));.52311/a>        return 0;.52421/a>;.52231/a>.52841/a 1spav class="comment">/*Smart Bbatter Intteface  */1/spav2.52751/a>static struct.1a href="+codeproc_dir_menery" class="sref"proc_dir_menery1/a>*.1a href="+code=acpi_battery>irw" class="sref"=acpi_battery>irf1/a>=n.1a href="+codeNULLw" class="sref"NULLt1/a);.52861/a;.52671/a>static.1a href="+codein"line" class="sref">i"linf1/a>_cha>*.1a href="+code=acpi_batteryunitbs" class="sref">acpi_batteryunitbf1/a>(struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>*.1a href="+code=battery" class="sref">battery1/a);.52681/a.{.52391/a>        return 1a href="+code>acpi_battery=mode" class="sref">acpi_battery=modf1/a>.1a href="+code=battery" class="sref">battery1/a> ? ;1spav class=(sting">&quogt mW&quogt/1/spav : ;1spav class=(sting">&quogt mA&quogt/1/spav);.53401/a>}.53811/a>.53831/a>static int.1a href="+code=acpi_battery_reat>infy" class="sref">acpi_battery_reat>inff1/a>(struct.1a href="+codeseq_files" class="sref">eq_filey1/a>*.1a href="+code>eqs" class="sref">eq61/a, void>*.1a href="+code=offset" class="sref">offset1/a>}.53841/a.{.52351/a>       (struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>*.1a href="+code=battery" class="sref">battery1/a>=n.1a href="+code>eqs" class="sref">eq61/a>->1a href="+codeprivtate" class="sref"privtatt1/a);.53161/a>       (struct.1a href="+code=acpisabs" class="sref">acpisab11/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=abs" class="sref"sab11/a);.53671/a>        int.1a href="+coderesulnt" class="sref"resuln61/a>=n 0;.52381/a;.53091/a>        1a href="+codemutex_locky" class="sref"mutex_lockf1/a>;& 1a href="+code=abs" class="sref"sab11/a>->1a href="+codelocky" class="sref"lockf1/a));.54201/a>.54191/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtpreseun:                 -#37;s\n&quogt/1/spav>>.54421/a>                    1a href="+code=battery" class="sref">battery1/a>->1a href="+codepreseunt" class="sref"preseuny1/a) ? ;1spav class=(sting">&quogtyes&quogt/1/spav : ;1spav class=(sting">&quogtno&quogt/1/spav>);.54731/a>       .if ! 1a href="+code=battery" class="sref">battery1/a>->1a href="+codepreseunt" class="sref"preseuny1/a);.54741/a>               goto  1a href="+codeeand" class="sref"eand1/a>).54651/a}.54161/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtdeesig _capacit:         -#37;i-#37;sh\n&quogt/1/spav>>.54671/a>                   1a href="+code=battery" class="sref">battery1/a>->1a href="+codedeesigm_capacity" class="sref"deesigm_capacit11/a>*  1a href="+code=acpi_batteryscalte" class="sref"=acpi_batteryscaltf1/a>.1a href="+code=battery" class="sref">battery1/a>>>.54681/a>                  .1a href="+code=acpi_batteryunitbs" class="sref">acpi_batteryunitbf1/a>.1a href="+code=battery" class="sref">battery1/a>>);.54091/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtclat full _capacit:      -#37;i-#37;sh\n&quogt/1/spav>>.55601/a>                   1a href="+code=battery" class="sref">battery1/a>->1a href="+codefull__chargm_capacity" class="sref"full__chargm_capacit11/a>*  1a href="+code=acpi_batteryscalte" class="sref"=acpi_batteryscaltf1/a>.1a href="+code=battery" class="sref">battery1/a>>>.55711/a>                  .1a href="+code=acpi_batteryunitbs" class="sref">acpi_batteryunitbf1/a>.1a href="+code=battery" class="sref">battery1/a>>);.55021/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogt>batter technologt:      re_chargable\n&quogt/1/spav>);.55321/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtdeesig voltage:          -#37;i mV\n&quogt/1/spav>>.55741/a>                   1a href="+code=battery" class="sref">battery1/a>->1a href="+codedeesigmvoltagey" class="sref"deesigmvoltage11/a>*  1a href="+code=acpi_batteryvscalte" class="sref"=acpi_batteryvscaltf1/a>.1a href="+code=battery" class="sref">battery1/a>>);.55751/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtdeesig _capacit warning: unknown\n&quogt/1/spav>);.55161/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtdeesig _capacit low:     unknown\n&quogt/1/spav>);.55271/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtcycle >coun:             -#37;i\n&quogt/1/spav>,.1a href="+code=battery" class="sref">battery1/a>->1a href="+codecycle__count" class="sref">ycle__counf1/a));.55681/a>       .1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtccapacit granularcit 1:  unknown\n&quogt/1/spav>);.55091/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtccapacit granularcit 2:  unknown\n&quogt/1/spav>);.56701/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogt=modl number:            -#37;s\n&quogt/1/spav>  1a href="+code=battery" class="sref">battery1/a>->1a href="+codedeevic_ namw" class="sref"deevic_ namf1/a));.56191/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtserial number:           -#37;i\n&quogt/1/spav>;.56421/a>                  .1a href="+code=battery" class="sref">battery1/a>->1a href="+code=erial_numbers" class="sref">erial_numberf1/a));.56321/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogt>batter type:            -#37;s\n&quogt/1/spav>;.56741/a>                   1a href="+code=battery" class="sref">battery1/a>->1a href="+codedeevic_chemisnery" class="sref"deevic_chemisnerf1/a));.56751/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtOEM >inf:                -#37;s\n&quogt/1/spav>;.56561/a>                   1a href="+code=battery" class="sref">battery1/a>->1a href="+codemanufacturer_ namw" class="sref"manufacturer_ namf1/a));.56271/a>      1a href="+codeeand" class="sref"eand1/at:.56681/a>       .1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;& 1a href="+code=abs" class="sref"sab11/a>->1a href="+codelocky" class="sref"lockf1/a));.56391/a>        return 1a href="+coderesulnt" class="sref"resuln61/a);.57401/a>}.57811/a>.57821/a>static int.1a href="+code=acpi_battery>infoopen_fbs" class="sref">acpi_battery>infoopen_fbf1/a>(struct.1a href="+codeinmode" class="sref"inmod11/a>*.1a href="+codeinmode" class="sref"inmod11/a, (struct.1a href="+codefiley" class="sref"filey1/a>*.1a href="+codefiley" class="sref"filey1/a);.57231/a.{.52741/a>        return 1a href="+codesingle_opens" class="sref"single_openf1/a>.1a href="+codefiley" class="sref"filey1/a>  1a href="+code=acpi_battery_reat>infy" class="sref">acpi_battery_reat>inff1/a>  1a href="+codePDE_DATAy" class="sref"PDE_DATAf1/a>.1a href="+codeinmode" class="sref"inmod11/a>>);.52751/a>}.57861/a;.57721/a>static int.1a href="+code=acpi_battery_reat>staty" class="sref">acpi_battery_reat>statf1/a>(struct.1a href="+codeseq_files" class="sref">eq_filey1/a>*.1a href="+code>eqs" class="sref">eq61/a, void>*.1a href="+code=offset" class="sref">offset1/a>}.57681/a.{.52791/a>       (struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>*.1a href="+code=battery" class="sref">battery1/a>=n.1a href="+code>eqs" class="sref">eq61/a>->1a href="+codeprivtate" class="sref"privtatt1/a);.58701/a>       (struct.1a href="+code=acpisabs" class="sref">acpisab11/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=abs" class="sref"sab11/a);.58101/a>        int.1a href="+codertate" class="sref"rtatt1/a);.58821/a}.58321/a>        1a href="+codemutex_locky" class="sref"mutex_lockf1/a>;& 1a href="+code=abs" class="sref"sab11/a>->1a href="+codelocky" class="sref"lockf1/a));.58421/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtpreseun:                 -#37;s\n&quogt/1/spav>>.58751/a>                    1a href="+code=battery" class="sref">battery1/a>->1a href="+codepreseunt" class="sref"preseuny1/a) ? ;1spav class=(sting">&quogtyes&quogt/1/spav : ;1spav class=(sting">&quogtno&quogt/1/spav>);.58561/a>       .if ! 1a href="+code=battery" class="sref">battery1/a>->1a href="+codepreseunt" class="sref"preseuny1/a);.58671/a>               goto  1a href="+codeeand" class="sref"eand1/a>).58381/a;.58091/a>        1a href="+code=acpi_battery_get>staty" class="sref">acpi_battery_get>statf1/a>.1a href="+code=battery" class="sref">battery1/a>>).59701/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtccapacit >stat:          -#37;s\n&quogt/1/spav>>.59711/a>                    1a href="+code=battery" class="sref">battery1/a>->1a href="+code>staty" class="sref">statf1/a ;& {00010) ? ;1spav class=(sting">&quogtcriatial&quogt/1/spav : ;1spav class=(sting">&quogtok&quogt/1/spav>);.59021/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogt_charing >stat:          -#37;s\n&quogt/1/spav>>.59731/a>                    1a href="+code=battery" class="sref">battery1/a>->1a href="+codertat_nnow" class="sref"rtat_nnof1/a ;ltp {) ? ;1spav class=(sting">&quogtdis_charing&quogt/1/spav :>.59741/a>                     1a href="+code=battery" class="sref">battery1/a>->1a href="+codertat_nnow" class="sref"rtat_nnof1/a ;gtp {) ? ;1spav class=(sting">&quogt_charing&quogt/1/spav : ;1spav class=(sting">&quogt_chared&quogt/1/spav>>);.59751/a>        1a href="+codertate" class="sref"rtatt1/a>=n.1a href="+code=abs" class="sref">bbf1/a>.1a href="+code=battery" class="sref">battery1/a>->1a href="+codertat_nnow" class="sref"rtat_nnof1/a)>*  1a href="+code=acpi_batteryipscalte" class="sref"=acpi_batteryipscaltf1/a>.1a href="+code=battery" class="sref">battery1/a>>).59161/a>        1a href="+codertate" class="sref"rtatt1/a>*=n>.1a href="+code>acpi_battery=mode" class="sref">acpi_battery=modf1/a>.1a href="+code=battery" class="sref">battery1/a>)?>.1a href="+code=battery" class="sref">battery1/a>->1a href="+codevoltage_nnow" class="sref"voltage_nnot1/a>*).59671/a>                       .1a href="+code>acpi_batteryvscalte" class="sref"=acpi_batteryvscaltf1/a>.1a href="+code=battery" class="sref">battery1/a>/1000):1);.59681/a>       .1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtpreseun rtat:            -#37;d-#37;s\n&quogt/1/spav>  1a href="+codertate" class="sref"rtatt1/a>>.59891/a>                  .1a href="+code>acpi_batteryunitbs" class="sref">acpi_batteryunitbf1/a>.1a href="+code=battery" class="sref">battery1/a>>);.60701/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtremaining _capacit:      -#37;i-#37;sh\n&quogt/1/spav>>.60711/a>                   1a href="+code=battery" class="sref">battery1/a>->1a href="+codeccapacit_nnow" class="sref"ccapacit_nnot1/a>*  1a href="+code=acpi_batteryscalte" class="sref"=acpi_batteryscaltf1/a>.1a href="+code=battery" class="sref">battery1/a>>>.60621/a>                  .1a href="+code>acpi_batteryunitbs" class="sref">acpi_batteryunitbf1/a>.1a href="+code=battery" class="sref">battery1/a>>);.60321/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtpreseun voltage:         -#37;i mV\n&quogt/1/spav>>.60741/a>                   1a href="+code=battery" class="sref">battery1/a>->1a href="+codevoltage_nnow" class="sref"voltage_nnot1/a>*  1a href="+code=acpi_batteryvscalte" class="sref"=acpi_batteryvscaltf1/a>.1a href="+code=battery" class="sref">battery1/a>>);.60651/a}.60161/a>      1a href="+codeeand" class="sref"eand1/at:.60271/a>        1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;& 1a href="+code=abs" class="sref"sab11/a>->1a href="+codelocky" class="sref"lockf1/a));.63081/a>        return 0;.60891/a>}.61201/a>.61811/a>static int.1a href="+code=acpi_battery>stateopen_fbs" class="sref">acpi_battery>stateopen_fbf1/a>(struct.1a href="+codeinmode" class="sref"inmod11/a>*.1a href="+codeinmode" class="sref"inmod11/a, (struct.1a href="+codefiley" class="sref"filey1/a>*.1a href="+codefiley" class="sref"filey1/a);.61271/a.{.61731/a>        return 1a href="+codesingle_opens" class="sref"single_openf1/a>.1a href="+codefiley" class="sref"filey1/a>  1a href="+code=acpi_battery_reat>staty" class="sref">acpi_battery_reat>statf1/a>  1a href="+codePDE_DATAy" class="sref"PDE_DATAf1/a>.1a href="+codeinmode" class="sref"inmod11/a>>);.61741/a>}.61651/a}.61861/a>static int.1a href="+code=acpi_battery_reat>alare" class="sref"=acpi_battery_reat>alarf1/a>(struct.1a href="+codeseq_files" class="sref">eq_filey1/a>*.1a href="+code>eqs" class="sref">eq61/a, void>*.1a href="+code=offset" class="sref">offset1/a>}.61671/a.{.61681/a>       (struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>*.1a href="+code=battery" class="sref">battery1/a>=n.1a href="+code>eqs" class="sref">eq61/a>->1a href="+codeprivtate" class="sref"privtatt1/a);.61791/a>       (struct.1a href="+code=acpisabs" class="sref">acpisab11/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a href="+code=battery" class="sref">battery1/a>->1a href="+code=abs" class="sref"sab11/a);.62601/a>        int.1a href="+coderesulnt" class="sref"resuln61/a>=n 0;.62811/a>.62021/a>        1a href="+codemutex_locky" class="sref"mutex_lockf1/a>;& 1a href="+code=abs" class="sref"sab11/a>->1a href="+codelocky" class="sref"lockf1/a));.62231/a>.62741/a>       .if ! 1a href="+code=battery" class="sref">battery1/a>->1a href="+codepreseunt" class="sref"preseuny1/a)=.{.62751/a>                1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtpreseun:                 no\n&quogt/1/spav>);.62561/a>               goto  1a href="+codeeand" class="sref"eand1/a>).62271/a>       >}.62381/a;.62091/a>        1a href="+code=acpi_battery_get>alare" class="sref"=acpi_batterygget>alarf1/a>.1a href="+code=battery" class="sref">battery1/a>);.63701/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogt>alar:                   &quogt/1/spav>);.63141/a>       .if  1a href="+code=battery" class="sref">battery1/a>->1a href="+code=alarm_capacity" class="sref">alarm_capacity1/a>}.                1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogt-#37;i-#37;sh\n&quogt/1/spav>>.63731/a>                           1a href="+code=battery" class="sref">battery1/a>->1a href="+code=alarm_capacity" class="sref">alarm_capacity1/a>*).63741/a>                  >        1a href="+code=acpi_batteryscalte" class="sref"=acpi_batteryscaltf1/a>.1a href="+code=battery" class="sref">battery1/a>>>.63751/a>                  >        1a href="+code=acpi_batteryunitbs" class="sref">acpi_batteryunitbf1/a>.1a href="+code=battery" class="sref">battery1/a>>);.63161/a>       else;.63671/a>                1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a href="+code>eqs" class="sref">eq61/a, ;1spav class=(sting">&quogtdisabled\n&quogt/1/spav>);.     j4s2238" clas6="line" nam  
5238">52386/a;.<6 href="drivers/acpi/sbs.c#5319" id 
6307" class="line" nam  
6307">60271/a>        1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;& 1a href="+code=abs" class="sref"sab11/a>->1a href="+codel6cky" class="sref"lockf1/6));.<64href="drivers/acpi/sbs.c#5269" id 
5269" class="line" nam  
5269">56391/a>        return 1a href=6240" clas6="line" nam  
5240">54206/a>.<6 href=/acpi/sbs.c#6307" id 
6327" clas         6     -#37;s\n&quogt/1/sp6v>>.<64href="drivers/acpi/sbs.c#52232" id 6class=(st6ng">&quogtno&quogt/1/spa6>);.<64href="driver     1a href="+csize_ class="line" nacsize_ ref="drivers/acpi/sbs.c#52232" id 6cty" classt" class="sref"preseuny16a);.<6 href=d 
6235" class="line" nam  
writess="line" nam  
6329">62091/a>    writess="li="+code=acpi_battery_reat>a.1a href="+codeinmode" class="sref"inmod11/a, (struct.1a href="+codefil,bs.c#42
5327"sref"inmod11/a__uscode=battery" cla__usco>battery1/a>->1a hrbuffcode=battery" clabuffco -#37;d-#37;s\n&quogt/1/spav>  1a h6href="+co6eeand" class="sref"eand16a>).<64href="drivers/acpi/sbs.c#6325"bs.c#6313" id 
63ze_ class="line" nacize_ ref="bs.c#6313" id 
ef="+code=battery" clref">batode=acpi_battery_loff_ class="line" naloff_ >battery1/a>->1a hrppodemutex_unlocky"ppodry1/a>->1a href="+code=alarm_capa245" clas6="line" nam  
5245">54656/a}.<6 href=f">battery1/a>->1a href="+cod        -637;i-#37;sh\n&quogt/1/sp6v>>.<6 href="driversde=acpi_battery_reat>alare" class="sref"=acpi_battery_reat>alarf1/a>(struct.1a href="+codeseq_files" class="sref">acp, (struct.1a href="+codefil" class="sref">battery1/a>="line" nam  
5319">5181/a>="line69">56391/a>        return 1a href=62ing">&quo" class="sref">battery1/6>>>.<64href="drivers/acpi/sbs.c#6308" id 
6318" class="line" nam  
6318">61681/a>       (struct.1a href="+code=acpi_battery" class="sref">acpi_battery1/a>*.1a href="+code=battery" class="sref">battery1/a>=n.1a href="+code>eqs" class="sref">eq61/a>->1a href="+ce=battery6 class="sref">battery1/a6>);.<64href="drivers/acpi/sbs.c#6398" id 
6319" class="line" nam  
6319">61791/a>       (struct.1a href="+code=acpisabs" class="sref">acpisab11/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a href="+code=battery" class="sref">battery1/a>->1a t:      -637;i-#37;sh\n&quogt/1/sp6v>>.<6 href="drivers
5327"sref"inmod11/as="sreq_pr in=battery" class="sreq_pr iref=[12]" c{class="sref"seq_pr inofine"\0fine"ref"rtat}class="sref">battery1/a>->1a t40" clas6" class="sref">battery1/6>>>.<65href="drivers/acpi/sbs.c#5271" id 
6320" class="line" nam  
6320">62601/a>        int.1a href="+code=battery6 class="sref">battery1/a6>);.<6 href="drivers/acpi/sbs.c#5222" id 
6322" class="line" nam  
6322">62021/a>        1a href="+codemutex_locky" class="sref"mutex_lockf1/a>;& 1a href="+code=abs" class="sref"sab11/a>->1a hret:      r6_chargable\n&quogt/1/spa6>);.<6 href="drivers/acpi/sbs.c#6324" id 
6324" class="line" nam  
6324">62741/a>       .if ! 1a href="+code=battery" class="sref">battery1/a>->1a href="+code:       6  -#37;i mV\n&quogt/1/sp6v>>.<6 href="drivers/acpi/sbi/sbs.c#5271" id 
6320" class="line" nam  
6320">393" class="line" nam  
5303">50731/a>                        return-.1a href=6e=battery6 class="sref">battery1/a6>);.<65href="drivers/acpi/sbs.c#6326" id 
6326" class="line" nam  
6326">62561/a>               goto  1a cit warni6g: unknown\n&quogt/1/spa6>);.<6 href="drivers/acpi/sbs.c#6307" id 
6327" clascit low: 6   unknown\n&quogt/1/spa6>);.<6 href="drivers/acpi/sbs.c#6331" ief="+code=battery" clref">batf">batcizeofpi/sbs.c#5308" id 
531q_pr in=battery" class="sreq_pr iref=) - 1ref">battery1/a>->1a href="+codeing">&quoass="sref">ycle__counf1/6));.<65href="drivers/acpi/sbi/sbs.c#5271" id 
6320" class="line" nam  
6320">393" class="line"INVAi_battery>irw" c"INVAi26">62561/a>               goto  1a c=battery6:  unknown\n&quogt/1/spa6>);.<65href="drivers/acpi/sbs.c#6326" id 
6326" class="line" nam  
6326">62561/a>               goto  1a nularcit 6:  unknown\n&quogt/1/spa6>);.<6 href="drivers/acpi/sbs.c#6307" id 
6327" clas_ namw" c6ass="sref"deevic_ namf1/6));.<66href="drivers/acpi/sbs.c#6331" icopy_foom_uscode=battery" cla">62741/a>       .if ! 1a26opy_foom_uscode=battery"" cla">62741/a>       .if ! 1a26s=(sting">&quogt=me=battery" clabuffco -#37;d-#376313" id 
ef="+code=battery" clref">batode=ac)attery1/a>->1a href="+codeing">         6#37;i\n&quogt/1/spav>;.<6 href6"drivers/acpi/sbs.c#52c#5271" id 
6320" class="line" nam  
6320">393" class="line"INVAi_FAULTry>irw" c"INVAi2FAULT561/a>               goto  1a nularci r6_chargf">erial_numberf1/a));.<6 href66drivers/acpi/sbs.c#6326" id 
6326" class="line" nam  
6326">62561/a>               goto  1a nularci  6  -#37#37;s\n&quogt/1/spav>;.<6 href6"drivers/acpi/sbs.c#6307" id 
6327" clas_ namw"ry6 classeevic_chemisnerf1/a));.<6 href6"drivers/acpi/sbs.c#5255" id q_pr in=battery" class="sreq_pr iref=[12]" c313" id 
ef="+code=battery" clref">batode=ac]01/a>        int.1a href="+code=batt         6#37;s\n&quogt/1/spav>;.<6 href66drivers/acpi/sbs.c#5256" id  nam  
6233">63731/a>                           1a href="+code=battery" class="sref">battery1/a>->_battery1/a>*.1a himpleireftoul"line" nacize_ rempleireftoul ! 1a26opy_foom_uscode=battery"" cla">62741/a>       .if ! 1a26s=(sting">&quogt=attery>irw" class="sref"=ac,/a>-/        int.1a href="+code=batt : 6   unknufacturer_ namf1/a));.<6 href66drivers/acpi/sbs.c#5277" id 
rs/acpi/sbs.c#52c#5271" id 
632 nam  
6234">63741/a>                  >        1a href="+code=acpi_batteryscalte" class="sref"=acpi_batt>        int.1a href="+code=batt quoass="s class="sref"eand1/at:.<6 href6"drivers/acpi/sbs.c#5268" id       >       line" nam  
6329">62091/a>        1ashref="+code=acpi_battery_get>alare" class="sref"=acpi_batterygget>alarf1/a>.1a href="+code=batdelocky" 6lass="sref"lockf1/a));.<6 href6"drivers/acpi/sbs.c#6328" id 
6238" class="line" nam  
6lass=63681/a>     j4s2238" cesulnt" c6ass="sref"resuln61/a);.<6 href67drivers/acpi/sbs.c#6330" id 
6307" class="line" nam  
6307">60271/a>        1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;& 1a href="+code=abs" class="sref"sab11/a>->1a href="+coass="line6 nam  
5270">57401/a>}.<6 href67drivers/acpi/sbs.c#6331" icopy_f0" class="line" nam  
6320">393;1a href="+code=alarm_capa245" class="lin6" nam  
5271">57811/a>.<6 href67drivers/acpi/sbs.c#52sbs.c#5269" id 
5269" class="line" nam  
5269">56391/a>        return 1a href=6240" codefiley"6class="sref"filey1/a);.<6 href67drivers/acpi/sbs.c#6313" id 
6313" ode=battery" clref">batode=aca>        return 1a href=6240" co  6  -#37 nam  
5273">57231/a.{.<6 href67drivers/acpi/sbs.c#6314" id 
6314" clnmode" cl6ss="sref"inmod11/a>>);.<6 href67drivers/acpi/sbs.c#6305" id 
6315" cass="line6 nam  
5275">52751/a>}.<6 href67drivers/acpi/sbs.c#6306" id 
6316" class="li      m  
6311">61811/a>static int.1a hre      m  
631e=acpi_battery_reat>a.1a hrss="sref">acpi_battery>stateopen_fbf1/a>(struct.1a href="+codeinmode" class="sref"inmod11/a>*.1a href="+codeinmode" class="sref"inmod11/a, (struct.1a href="+codefiley" class="sref"filey1/a>*.1a href="+class="lin6" nam  
5276">57861/a;.<6 href67drivers/acpi/sbs.c#6307" id 
6317" cloffset" c6ass="sref">offset1/a>}.<6 href67drivers/acpi/sbs.c#6attery1/a>*.1a hiass="line" nam  
6313">61731/a>        return 1a href="+codesingle_opens" class="sref"single_openf1/a>.1a href="+codeam  
6316">61861/a>static int.1a href="+code=acpi_battery_reat>staty" class="sref">acpi_battery_reat>statf1/a>  1a href="+codePDE_DATAy" class="sref"PDE_DATAf1/a>.1a href="+codeiass="line6 nam  
5278">57681/a.{.<6 href67drivers/acpi/sbs.c#6398" id 
6399" clvtate" cl6ss="sref"privtatt1/a);.<6 href68drivers/acpi/sbs.c#6310" id 
6310" c+code=abs6 class="sref"sab11/a);.<6 href68drivers/acpi
5327"sref"inmod11/a>*.1a href=">   r/ac532esingle_opens" clas>   r/ac532s.c#6313" id 
ef="+ctatic int.1a ef="+>52601/a>           atic int.1a ef="+>526->_brs/acpi/sbs.c#6307" id 
6317" clodertate"6class="sref"rtatt1/a);.<6 href68drivers/acpi/.313" id 
ef="+cline" nam  
6313">6        295">59751/a>      atic int.1a ef="+am  
5272">57821/a>static int.1a href="+code=acpi_b7;s\n&quogt/1/spav>  1a h6href="lass="lin6" nam  
5282">58821/a}.<6 href6"drivers/acpi/.313" id 
ef="+chref"line" nam  
5269ad>acpi_battery1/a>*.1a hre_href"line" nam  
52hre_hrefpi_b7;s\n&quogt/1/spav>  1a h6href="l  6  -#37lass="sref"lockf1/a));.<6 href6"drivers/acpi/.313" id 
ef="+cllsee1a href="+code=ablsee1>acpi_battery1/a>*.1a hre_lsee1a href="+code=ahre_lsee1pi_b7;s\n&quogt/1/spav>  1a h6href="lmode" cl6#37;s\n&quogt/1/spav>>.<6 href6"drivers/acpi/.313" id 
ef="+chrleas="+codePDE_DATAyhrleas=->_battery1/a>*.1a hi31/a>hrleas="+codePDE_DATAyhi31/a>hrleas=pi_b7;s\n&quogt/1/spav>  1a h6href="lss="line6uogtno&quogt/1/spav>);.<6 href6"drivers/acpi/.313" id 
ef="+clwnattery" clabuffcolwnat->_battery1/a>*.1a THIS_MODULEtery" clabuffcoTHIS_MODULEpi_b7;s\n&quogt/1/spav>  1a h6href="lass="lin6ss="sref"preseuny1/a);.<6 href6"drive="sref">battery1/a>->1a t40" c+codeeand6 class="sref"eand1/a>).<6 href6"drivers/acpi/sbs.c#5278" id 
5288" 6lass="lin6" nam  
5288">58381/a;.<6 href6"drivers/acpi
5327"sref"inmod11/a>*.1a href=">   r/ac532esingle_opens" clas>   r/ac532s.c#6313" id 
ef="+ctatic int.1a f="+co>52601/a>           atic int.1a f="+co>526->_brs/acpi/sbs.c#6307" id 
6317" cltery" cla6s="sref">battery1/a>>).<6 href6"drivers/acpi/.313" id 
ef="+cline" nam  
6313">6        295">59751/a>      atic int.1a ne" nam  
6311">61811/a>static int.1a href="+code=acpi_bat7;s\n&quogt/1/spav>  1a h6href="         6#37;s\n&quogt/1/spav>>.<6 href6"drivers/acpi/.313" id 
ef="+chref"line" nam  
5269ad>acpi_battery1/a>*.1a hre_href"line" nam  
52hre_hrefpi_b7;s\n&quogt/1/spav>  1a h6href="(sting">&6uogtok&quogt/1/spav>);.<6 href69drivers/acpi/.313" id 
ef="+cllsee1a href="+code=ablsee1>acpi_battery1/a>*.1a hre_lsee1a href="+code=ahre_lsee1pi_b7;s\n&quogt/1/spav>  1a h6href="         6#37;s\n&quogt/1/spav>>.<6 href69drivers/acpi/.313" id 
ef="+chrleas="+codePDE_DATAyhrleas=->_battery1/a>*.1a hi31/a>hrleas="+codePDE_DATAyhi31/a>hrleas=pi_b7;s\n&quogt/1/spav>  1a h6href="quogtdis_6haring&quogt/1/spav :>.<6 href69drivers/acpi/.313" id 
ef="+clwnattery" clabuffcolwnat->_battery1/a>*.1a THIS_MODULEtery" clabuffcoTHIS_MODULEpi_b7;s\n&quogt/1/spav>  1a h6href="">&quogt_6hared&quogt/1/spav>>);.<6 href6"drive="sref">battery1/a>->1a t40" ctery" cla6s="sref">battery1/a>>).<6 href69drivers/acpi/sbs.c#5226" id 
5276" 6" class="6ref"voltage_nnot1/a>*).<6 href697rivers/acpi
5327"sref"inmod11/a>*.1a href=">   r/ac532esingle_opens" clas>   r/ac532s.c#6313" id 
ef="+ctatic int.1a       >52601/a>           atic int.1a       >526->_brs/acpi/sbs.c#6307" id 
6317" cltcodeeand6>battery1/a>/1000):1);.<6 href6"drivers/acpi/.313" id 
ef="+cline" nam  
6313">6        295">59751/a>      atic int.1a       m  
6311">61811/a>static int.1a hre      m  
631e=ac7;s\n&quogt/1/spav>  1a h6href=""ass="lin6class="sref"rtatt1/a>>.<6 href6"drivers/acpi/.313" id 
ef="+chref"line" nam  
5269ad>acpi_battery1/a>*.1a hre_href"line" nam  
52hre_hrefpi_b7;s\n&quogt/1/spav>  1a h6href=7ery" clas7="sref">battery1/a>>);.<7 href70drivers/acpi/.313" id 
ef="+cs="li"line" nam  
52s="li    295">59751/a>      atic int.1a s="line" nam  
6329">62091/a>    writess="li="+code=ac7;s\n&quogt/1/spav>  1a h6href=7e1y" clas7=37;s\n&quogt/1/spav>>.<7 href70drivers/acpi/.313" id 
ef="+cllsee1a href="+code=ablsee1>acpi_battery1/a>*.1a hre_lsee1a href="+code=ahre_lsee1pi_b7;s\n&quogt/1/spav>  1a h6href=7tery" cla7s="sref">battery1/a>>>.<7 href70drivers/acpi/.313" id 
ef="+chrleas="+codePDE_DATAyhrleas=->_battery1/a>*.1a hi31/a>hrleas="+codePDE_DATAyhi31/a>hrleas=pi_b7;s\n&quogt/1/spav>  1a h6href=7ery" clas7="sref">battery1/a>>);.<7 href70drivers/acpi/.313" id 
ef="+clwnattery" clabuffcolwnat->_battery1/a>*.1a THIS_MODULEtery" clabuffcoTHIS_MODULEpi_b7;s\n&quogt/1/spav>  1a h6href=7      -#37;i mV\n&quogt/1/spav>>.<7 href7"drive="sref">battery1/a>->1a t40" 7ery" clas7="sref">battery1/a>>);.<7 href7"drivers/acpi/sbs.c#6305" id 
6305" 7lass="lin7" nam  
6305">60651/a}.<7 href7"drivesref"seq_pr icomm+cod>/* Legacy AC Adaprit Inritface */at}clasrs/acpi/sbs.c#6305" id 
6305" 7l7ss="lin7"ef"voltage_nnot1/a>*).<7 href7"drivers/acpi/sbs.c#6305" id 
6305" 7l8ss="lin7"battery1/a>/1000):1);.<7 href7"drivers/acpisref"inmod11/a>*.1a hrproc_dir_+coe" class="sref"=aproc_dir_+coe""sref"inmod11/a, (str/a>  ac_dirm  
6329">62091/a>  ac_dir->_battery1/a>*.1a attery>irw" class="sref"=ac"sref">battery1/a>->1a t40" 7e9ss="lin7"lass="sref"rtatt1/a>>.<7 href7"drivesref">battery1/a>->1a t40" 7ass="line7 nam  
6309">60891/a>}.<7 href7"drivers/acpi/sbs.c#6306" id 
6316" cac_+codefiley" class="sref"filey1ac_+codefileye=acpi_battery_reat>a.1a hrclass="sref"=acpi_battery_reat>alarf1/a>(struct.1a href="+codeseq_files" class="sref">eq_filey1/a>*.1a href="+code>eqs" class="sref">eq61/a, void>*.1a href="+code7lass="lin7" nam  
6310">61201/a>.<7 href7"drivers/acpi/sbs.c#6307" id 
6317" c7odefiley"7class="sref"filey1/a);.<7 href71drivers/acpi/sbs.c#52232" id 6class7ass="line7 nam  
6312">61271/a.{.<7 href7"drivers/acpi/sbs.c#6398" id 
6319" class="line" nam  
6319">61791/a>       (struct.1a href="+code=acpisabs" class="sref">acpisab11href="+code=battery" class="sref">battery1/a>=n.1a href="+code>eqs" class="sref">eq61/a>->1a href="+ce=bat7nmode" cl7ss="sref"inmod11/a>>);.<7 href7"drive">eq61/a>->1a href="+ce=bat7nry" clas7 nam  
6314">61741/a>}.<7 href71drivers/acpi/sbs.c#5255" id 
6322" class="line" nam  
6322">62021/a>        1a href="+codemutex_locky" class="sref"mutex_lockf1/a>;& 1a href="+code=abs" class="sref"sab11/a>->1a hret:   7lass="lin7" nam  
6315">61651/a}.<7 href71drivers/acpi/sbs.c#5226" id 
5276" 7offset" c7ass="sref">offset1/a>}.<7 href71drivers/acpi/sbs.c#5227" id 
5257" class="line" nam  
5257">55271/a>        1a href="+code>eq_pr inof" class="sref"seq_pr inof1/a>.1a hreeqs" class="sreffffffffff">eq61/a, ;1spav class=(sting">&quogt_charing >stat:7ass="line7 nam  
6317">61671/a.{.<7 href71drivers/acpi/sbi/sbs.pi/sbs.c#5227" id 
emutex_locky" class="sref"mutex_lockf1/a>;&aing">&r_ef="+code=battery" claing">&r_ef="+coriver>1a href="+codertat_nnow" on-">61">statf1/a ;& {00010) ? ;1spav class=(stiff-">61">statf1/a ;&s="sref"sab11/a>->1a hret:   7l9ss="lin7ss="sref"privtatt1/a);.<7 href71drivesref">battery1/a>->1a t40" 7+code=abs7 class="sref"sab11/a);.<7 href72drivers/acpi/sbs.c#6330" id 
6307" class="line" nam  
6307">60271/a>        1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;& 1a href="+code=abs" class="sref"sab11/a>->1a href="+c7nt" class7"sref"resuln61/a>=n 0;.<7 href72drivers/acpi/sbs.c#6308" id 
6308" class="line" nam 7lass="lin7" nam  
6321">62811/a>.<7 href7"drivers/acpi/sbs.c#6398" id 
6399" c7delocky" 7lass="sref"lockf1/a));.<7 href7"drivers/acpi/sbs.c#6323" id 
6323" 7lass="lin7" nam  
6323">62231/a>.<7 href7"drivers/acpi/sbs.c#6306" id 
6316" cac_ne" nam  
6311">61811/a>static inac_ne" nam  
631e=acpi_battery_reat>a.1a hrss="sref">acpi_battery>stateopen_fbf1/a>(struct.1a href="+codeinmode" class="sref"inmod11/a>*.1a href="+codeinmode" class="sref"inmod11/a, (struct.1a href="+codefiley" class="sref"filey1/a>*.1a href="+7unt" clas7="sref"preseuny1/a)=.{.<7 href7"drivers/acpi/sbs.c#6307" id 
6317" c7         7  no\n&quogt/1/spav>);.<7 href7"drivers/acpi/sbs.c#6attery1/a>*.1a hiass="line" nam  
6313">61731/a>        return 1a href="+codesingle_opens" class="sref"single_openf1/a>.1ac_+codefiley" class="sref"filey1ac_+codefileye=acpi_battery_reat>staty" class="sref">acpi_battery_reat>statf1/a>  1a href="+codePDE_DATAy" class="sref"PDE_DATAf1/a>.1a href="+code7+codeeand7 class="sref"eand1/a>).<7 href7"drivers/acpi/sbs.c#6398" id 
6399" c7dss="line7327">62271/a>       >}.<7 href7"drivers/acpi/sbs.c#6328" id 
6328" 7lass="lin7" nam  
6328">62381/a;.<7 href72drivers/acpi
5327"sref"inmod11/a>*.1a href=">   r/ac532esingle_opens" clas>   r/ac532s.c#6313" id 
ef="+ctaticac_ne" na>52601/a>           aticac_ne" na>526->_brs/acpi/sbs.c#6307" id 
6317" c7tery" cla7s="sref">battery1/a>);.<7 href73drivers/acpi/.313" id 
ef="+cline" nam  
6313">6        295">59751/a>      aticac_ne" nam  
6311">61811/a>static inac_ne" nam  
631e=acs=(sting">&quogt_charing >stat:7         7      &quogt/1/spav>);.<7 href73drivers/acpi/.313" id 
ef="+chref"line" nam  
5269ad>acpi_battery1/a>*.1a hre_href"line" nam  
52hre_hrefpi_b7;s\n&quogt/1/spav>  1a h6href=7class="sr7f">alarm_capacity1/a>}.<7 href73drivers/acpi/.313" id 
ef="+cllsee1a href="+code=ablsee1>acpi_battery1/a>*.1a hre_lsee1a href="+code=ahre_lsee1pi_b7;s\n&quogt/1/spav>  1a h6href=7gt-#37;i-737;sh\n&quogt/1/spav>>.<7 href73drivers/acpi/.313" id 
ef="+chrleas="+codePDE_DATAyhrleas=->_battery1/a>*.1a hi31/a>hrleas="+codePDE_DATAyhi31/a>hrleas=pi_b7;s\n&quogt/1/spav>  1a h6href=7lass="sre7">alarm_capacity1/a>*).<7 href73drivers/acpi/.313" id 
ef="+clwnattery" clabuffcolwnat->_battery1/a>*.1a THIS_MODULEtery" clabuffcoTHIS_MODULEpi_b7;s\n&quogt/1/spav>  1a h6href=7tery" cla7s="sref">battery1/a>>>.<7 href73drive="sref">battery1/a>->1a t40" 7ery" clas7="sref">battery1/a>>);.<7 href73drivers/acpi/sbs.c#5226" id 
5276" 7nam  
6237">63161/a>       else;.<7 href7"drive#endifrs/acpi/sbs.c#5226" id 
5276" 7nss="line7bled\n&quogt/1/spav>);.<7 href73drivers/acpi/sbs.c#6328" id 
6328" 7las6="lin7" nam  
5238">52386/a;.<7 href7"drivesref"seq_pr icomm+cod>/* --------------------------------------------------------------------------at}clasrs/acpi/sbs.c#6305" id 
6305" 7del6cky" 7lass="sref"lockf1/6));.<74href7"drivesref"seq_pr icomm+cod>rs/acpi/sbi/sbs.pi///////////////D.c#63 Inritfaceat}clasrs/acpi/sbs.c#6305" id 
6305" 7d        7" nam  
5240">54206/a>.<7 href7/acpi/sref"seq_pr icomm+cod>rs/-------------------------------------------------------------------------- */at}clasrs/acpi/sbs.c#6305" id 
6305" 7   6     7#37;s\n&quogt/1/sp6v>>.<74href74drivers/acpi/sbs.c#52232" id 5272" class="lihref"line" nam  
5272" class="lihrefe=acpi_battery_reat>a.1a hr72" class="l"line" nam  
5272" class="l"sref"inmod11/a, (str>alare" class="sref"=acpi_batterygrs/acpi/sbs.c#6305" id 
6305" 7 t-#37;i-7uogtno&quogt/1/spa6>);.<74href74drivers/acpi/sbs.c#5253" id 
5273" c7lasst" cl7ss="sref"preseuny16a);.<7 href74drivers/acpi/sbs.c#5271" id 
6320" class="line" nam  
6320">62601/api_battery_reat>ssaved_ef="+code=battery" clasaved_ef="+co->_battery1/a>*.1a " class="line" nam  
6324">62741/a>       .if ! 1a href="+code=battery" class="sref">b"sref">battery1/a>->1a t40" 7+co6eeand7 class="sref"eand16a>).<74href74drivers/acpi/sbs.c#5255" id u" nam  
631y" clau1drivei_battery_reat>ssf="+code=battery" class="sre"sref">battery1/a>->1a t40" 7+ry" clas7" nam  
5245">54656/a}.<7 href74drivers/acpi/sbs.c#5226" id 
5276" 7  -637;i-737;sh\n&quogt/1/sp6v>>.<7 href74drivers/acpi/sbs.c#6331" ief="+c/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a href="+code=battery" class=ref"sab11/a> =.1a hrmana>&r_ef="+code=battery" clamana>&r_ef="+coterygbrs/acpi/sbs.c#6307" id 
6317" c7&quo" cla7s="sref">battery1/6>>>.<74href74drivers/acpi/sbi/sbs.c#5271" id 
6320" class="line" nam  
6320">393" c398" id 
6319" class=mbusihref"line" nam  
5272" c=mbusihref_reat>statf1/a>  1a /a>*.1a href="+code=abs" class="sref"sab11/a> =.1a href="+code=battery" class=ref"sab11/a> =.1a hrhc"+code=battery"hce=acpi_battery_reat>sSMBUS_READ_WORD"+code=battery"SMBUS_READ_WORDpi_b7;s\n&quogt/1/spav>  1a h6href=7ery6 clas7="sref">battery1/a6>);.<74href74drivers/acpi/sbs.c#63rs/acpi/sbi/sbs.c#5271" id 
632ACPI_SBS_MANAGER"+code=battery"ACPI_SBS_MANAGERe=acpi0x01,s.c#6331" ief="+cu8nam  
631y" claudriver*)    1a href="+codemutf="+code=battery" class="sreref"PDE_DATAf1/a>.1a href="+code7  -637;i-737;sh\n&quogt/1/sp6v>>.<7 href7"drivers
5327"rs/acpi/sbs.c#6324" id 
63240" class="line" nam  
6320">393;1a href="+code=alarm_capa245" 7las6" cla7s="sref">battery1/6>>>.<75href75drivers/acpi/sbs.c#6301"/sbs.c#5271" id 
632" class="line" nam  
6324">62741/a>       .if ! 1a href="+code=battery" class="sref">b;_battery1/a>*.1a hf="+code=battery" class="sref">batt(1tery1ery1/c#5271" id 
632" class="line" nam  
6324">62741/a>       .if ! 1a hrif"line" nam  
52id"sreref"PDE_DATAf1/a>.1a href="+code7   6     7="sref">battery1/a6>);.<7 href75drivers/acpi/sbs.c#63232" id 6332" clf="+code=battery" class="sref">bat=i0x0fffef"PDE_DATAf1/a>.1a href="+code7 t-#37;i-7able\n&quogt/1/spa6>);.<7 href75drivers/acpi/sbs.c#63232" id 6332" clf="+code=battery" class="sref|= 1tery1ery1/t>statf1/a>  1a /a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrif"line" nam  
52id"sre + 12ref"PDE_DATAf1/a>.1a href="+code7 asst" cl7;i mV\n&quogt/1/sp6v>>.<7 href7"drivers/acpi/sbi/sbs.c#5271" id 
63272" c=mbusis="li"line" nam  
5272" c=mbusis="li_reat>statf1/a>  1a /a>*.1a href="+code=abs" class="sref"sab11/a> =.1a href="+code=battery" class=ref"sab11/a> =.1a hrhc"+code=battery"hce=acpi_battery_reat>sSMBUS_WRITE_WORD"+code=battery"SMBUS_WRITE_WORDpi_b7;s\n&quogt/1/spav>  1a h6href=7ery6 clas7="sref">battery1/a6>);.<75href7"drivers/acpi/sbs.c#6363rs/acpi/sbi/sbs.c#5271" id 
632ACPI_SBS_MANAGER"+code=battery"ACPI_SBS_MANAGERe=acpi0x01,s.c#6331" ief="+cu8nam  
631y" claudriver*)    1a href="+codemutf="+code=battery" class="sre, 2ref"PDE_DATAf1/a>.1a href="+code7 ry" clas7nown\n&quogt/1/spa6>);.<7 href7"drivers/acpi/s/sbs./sbs.c#6331" ief="+c/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrif"line" nam  
52id"sre ==i0;1a href="+code=alarm_capa245" 7l -637;i-7nown\n&quogt/1/spa6>);.<7 href75drivers/acpi/sbs.c#6307" id 
6237" c" class="line" nam  
6324">62741/a>       .if ! 1a href="+code=battery" class="sref">b;_btf1/a>.1a href="+code=battery" c7&quoass="7ref">ycle__counf1/6));.<75href7"drivers/acpi/sbs.c#6331" icopy_f0" class="line" nam  
6320">393 || c#6324" id 
6324" class="line" nam  
6324">62741/a>       .if ! 1a href="+code=battery" class="sref">ba1/a>.1a href="+code=battery" c7&ry6 clas7nown\n&quogt/1/spa6>);.<75href7"drivers/acpi/sbs.c#63sbs.c#5269" id 
5269" class="line" nam  
5269">56391/a>        return 1a href=6240" 7it 6:  un7nown\n&quogt/1/spa6>);.<7 href76drivers/acpi/sbs.c#6310" id 
6310" 7" c6ass="7ref"deevic_ namf1/6));.<76href7"drivers/acpi/sbs.c#6331" icopy_fsaved_ef="+code=battery" clasaved_ef="+co->!_battery1/a>*.1a " class="line" nam  
6324">62741/a>       .if ! 1a href="+code=battery" class="sref">bgbrs/acpi/sbs.c#6307" id 
6317" c7         7#37;i\n&quogt/1/spav>;.<7 href7"drivers/acpi/sbs.c#52c#5271" id 
632" class="line" nam  
6324">62741/a>       .if ! 1a hrupd" natim+code=battery" cupd" natim+>62601/aa>        return 1a href=6240" 7it-#37;i-7f">erial_numberf1/a));.<7 href76drivers/acpi/sbs.c#63c#5271" id 
6320" class="line" nam  
6320">393" c398" id 
6319" class      1a hreef=""line" nam  
5272" class="li hreef="_reat>statf1/a>  1a /a>*.1a href="+code=abs" class="sref"PDE_DATAf1/a>.1a href="+code7i  6  -#37#37;s\n&quogt/1/spav>;.<7 href76drivers/acpi/sbi/sbs.sbs.c#6331" icopy_f0" class="line" nam  
6320">393;1a href="+code=alarm_capa245" 7"ry6 clas7eevic_chemisnerf1/a));.<7 href76drivers/acpi/sbs.c#6363rs/acpsbs.c#5269" id 
5269" class="line" nam  
5269">56391/a>        return 1a href=6240" 7iry" clas7#37;s\n&quogt/1/spav>;.<7 href76drivers/acpi/sbs.c#6307" id 
6327" clascit l7 : 6   un7nufacturer_ namf1/a));.<7 href76drivers/acpi/sbs.c#5227" id 0" class="line" nam  
6320">393" c398" id 
6319" class      1a hrefiley" class="sref"filey1/a>  1a  hrefiley_reat>statf1/a>  1a /a>*.1a href="+code=abs" class="sref"PDE_DATAf1/a>.1a href="+code7iquoass="7 class="sref"eand1/at:.<7 href76drivers/acpi/sbs.c#6attery1/a>*.1a class="line" nam  
5269">56391/a>        return 1a href=6240" 7iry6 clas7lass="sref"lockf1/a));.<7 href76drivers/acpi/sbs.c#6398" id 
6399" c7esulnt" c7ass="sref"resuln61/a);.<7 href77drivers/acpi/sbs.c#6310" id 
6310" 7ass="line7 nam  
5270">57401/a>}.<7 href77acpi/sref"seq_pr icomm+cod>/* Smart B" clas */at}clasrs/acpi/sbs.c#6305" id 
6305" 7lass="lin7" nam  
5271">57811/a>.<7 href77drivers/acpi/sbs.c#52232" id 5272" class="liadf"line" nam  
5272" class="liadfe=acpi_battery_reat>a.1a hr72" c="line" nam  
6319">61791/a>       (struct.1a href="+code=acpisabs" clas,i/sbs.c#52232" id 52if"line" nam  
52id"srerrs/acpi/sbs.c#6305" id 
6305" 7lt-#37;i-7class="sref"filey1/a);.<7 href77drivers/acpi/sbs.c#5253" id 
5273" c7o  6  -#37 nam  
5273">57231/a.{.<7 href77drivers/acpi/sbs.c#6308" id 
6318" class="line" nam  
6318">61681/a>       (struct.1a href="+code=acpi_battery" class="sref">acpi_b    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&ade=acpi_battery" class="sref">acpc313" id 
ef="+cif"line" nam  
52id"sre]a>        return 1a href=6240" 7nmode" cl7ss="sref"inmod11/a>>);.<7 href77drivers/acpi/sbs.c#5271" id 
6320" class="line" nam  
6320">626a>        return 1a href=6240" 7nry" clas7 nam  
5275">52751/a>}.<7 href77drivers/acpi/sbs.c#5226" id 
5276" 7lass="lin7" nam  
5276">57861/a;.<7 href77drivers/acpi/sbs.c#5227" id /a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrif"line" nam  
52id"sre =s.c#52232" id 52if"line" nam  
52id"srea>        return 1a href=6240" 7nquoass="7ass="sref">offset1/a>}.<7 href77drivers/acpi/sbs.c#5268" id /a>*.1a href="+code=abs" class="sref"sab11/a> =.1a href="+code=battery" class=;_battery1/a>*.1a hf="+code=battery" class="sref">battery1/a>->1a t:   7ass="line7 nam  
5278">57681/a.{.<7 href77drivers/acpi/sbs.c#5319" id 0" class="line" nam  
6320">393" c398" id 
6319" class      1ahref"line" nam  
5272" class="lihrefe=acp>statf1/a>  1a /a>*.1a href="+code=abs" class="sref"PDE_DATAf1/a>.1a href="+code7vtate" cl7ss="sref"privtatt1/a);.<7 href78drivers/acpi/sbs.c#6331" icopy_f0" class="line" nam  
6320">393;1a href="+code=alarm_capa245" 7+code=abs7 class="sref"sab11/a);.<7 href78drivers/acpi/sbs.c#63sbs.c#6attery1/a>*.1a class="line" nam  
5269">56391/a>        return 1a href=6240" 7odertate"7class="sref"rtatt1/a);.<7 href78drivers/acpi/sbs.c#52232" id 6class7lass="lin7" nam  
5282">58821/a}.<7 href7"drivers/acpi/attery1/a>*.1a h7" class="line" nam  
7">55271/a>        1a href/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hr21/a href="+code=ab21/ae=acpi_battery_reat>sACPI_BATTERY_DIR_NAMEtery" clabuffcoACPI_BATTERY_DIR_NAMEe=acpi_battery_reat>sif"line" nam  
52id"sreref"PDE_DATAf1/a>.1a href="+code7l  6  -#37lass="sref"lockf1/a));.<7 href7"drive#ifdefi_battery_reat>sCONFIG_ACPI_PROCFS_POWER"+code=battery"CONFIG_ACPI_PROCFS_POWERrivers/acpi/sbs.c#52232" id 6class7lmode" cl7#37;s\n&quogt/1/spav>>.<7 href78drivers/acpi/sbs.c#5255" id ">61791/iadf6311">61811/a>static in91/iadf63171/a>    1a href="+codemu" class="line" nam  
6324">62741/a>       .if ! 1a hrefoc_+coe" class="sref"=aproc_+coe""sreref"single_openf1/a>.1a href="dirm  
6329">62091/a>  a href="dirpi_b7;s\n&quogt/1/spav>  1a h6href=7lss="line7uogtno&quogt/1/spav>);.<7 href78drivers/acpi/sbs.c#63rs/acpi/sbs.c#5268" id /a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hr21/a href="+code=ab21/ae=acpi    1a href="+codemu/a>  a href="ef="+>52601/a>           atic int.1a ef="+>526->7;s\n&quogt/1/spav>  1a h6href=7lass="lin7ss="sref"preseuny1/a);.<7 href78drivers/acpi/sbs.c#5277" id 
    1a href="+codemu/a>  a href="f="+co>52601/a>           atic int.1a f="+co>526->pi    1a href="+codemu/a>  a href="      >52601/a>           atic int.1a       >526->7;s\n&quogt/1/spav>  1a h6href=7lquoass="7 class="sref"eand1/a>).<7 href78drivers/acpi/sbi/sbs.pi/acpi/sbs.c#5268" id /a>*.1a href="+code=abs" class="sref"PDE_DATAf1/a>.1a href="+code7lss="line7" nam  
5288">58381/a;.<7 href7"drive#endifrs/acpi/sbs.c#5226" id 
5276" 7tery" cla7s="sref">battery1/a>>).<7 href79drivers/acpi/sbs.c#6330" id /a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrs"  href="+code=abs" s="s.313" id 
ef="+c21/a href="+code=ab21/ae=ac;_battery1/a>*.1a " class="line" nam  
6324">62741/a>       .if ! 1a hr21/a href="+code=ab21/ae=acef"PDE_DATAf1/a>.1a href="+code7         7#37;s\n&quogt/1/spav>>.<7 href7"drivers/acpi/sbs.c#6330" id /a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrs"  href="+code=abs" s="s.313" id 
ef="+ctypa href="+code=abtypae=ac;_battery1/a>*.1a POWER_SUPPLY_TYPE_BATTERY href="+code=abPOWER_SUPPLY_TYPE_BATTERYe=acef"PDE_DATAf1/a>.1a href="+code7 dertate"7uogtok&quogt/1/spav>);.<7 href79drivers/acpi/sbs.c#6324" id 
6324 atic int.1a mef="+codePDE_DATAy atic int.1a mef=e=acp>statf1/a>  1a /a>*.1a href="+code=abs" class="srgbrs/acpi/sbs.c#6307" id 
6317" c7         7#37;s\n&quogt/1/spav>>.<7 href79drivers/acpi/sbs.c#63c#5271" id 
632/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrs"  href="+code=abs" s="s.313" id 
ef="+cpropertiex_unlocky"ppodry1ropertiexass=;_battery1/a>*.1a hf=_ing">&c int.1a 1rop="+code=battery" cl_ing">&c int.1a 1rop=e=acef"PDE_DATAf1/a>.1a href="+code7   6  -#37haring&quogt/1/spav :>.<7 href79drivers/acpi/sbi/sbs.c#5271" id 
632/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrs"  href="+code=abs" s="s.313" id 
ef="+c2um_propertiex_unlocky"ppodry2um_propertiexass=;_f"PDE_DATAf1/a>.1a href="+code7 mode" cl7hared&quogt/1/spav>>);.<7 href79drivers/acpi/sbs.c#6363rs_battery_reat>sARRAY_SIZEtery" clabuffcoARRAY_SIZEe=acp>statf1/a>  1a hf=_ing">&c int.1a 1rop="+code=battery" cl_ing">&c int.1a 1rop=e=acref"PDE_DATAf1/a>.1a href="+code7tery" cla7s="sref">battery1/a>>).<7 href79drivers/acpi/s/sbs./rs/acpi/sbs.c#6307" id 
6317" c7 ass="lin7ref"voltage_nnot1/a>*).<7 href79drivers/acpi/sbs.c#6307" id 
6237" c" class="line" nam  
6324">62741/a>       .if ! 1a hrs"  href="+code=abs" s="s.313" id 
ef="+cpropertiex_unlocky"ppodry1ropertiexass=;_battery1/a>*.1a hf=_energyc int.1a 1rop="+code=battery" cl_energyc int.1a 1rop=e=acef"PDE_DATAf1/a>.1a href="+code7 quoass="7>battery1/a>/1000):1);.<7 href79drivers/acpi/sbi/sbs.c#5271" id 
632/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrs"  href="+code=abs" s="s.313" id 
ef="+c2um_propertiex_unlocky"ppodry2um_propertiexass=;_f"PDE_DATAf1/a>.1a href="+code7 ss="line7class="sref"rtatt1/a>>.<7 href79drivers/acpi/sbs.c#6363rs_battery_reat>sARRAY_SIZEtery" clabuffcoARRAY_SIZEe=acp>statf1/a>  1a hf=_energyc int.1a 1rop="+code=battery" cl_energyc int.1a 1rop=e=acref"PDE_DATAf1/a>.1a href="+code8ery" clas8="sref">battery1/a>>);.<8 href80drivers/acpi/sbs.c#6307" id 
6327" clas_ nam8e1y" clas8=37;s\n&quogt/1/spav>>.<8 href80drivers/acpi/sbs.c#6330" id /a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrs"  href="+code=abs" s="s.313" id 
ef="+c hreproperta href="+code=ab hreproperta>393" c398" id 
6319" class cl_/a>  1a  hreproperta href="+code=abclass cl_/a>  1a  hrepropertae=acef"PDE_DATAf1/a>.1a href="+code8tery" cla8s="sref">battery1/a>>>.<8 href80drivers/acpi/sbs.c#5222" id 0" class="line" nam  
6320">393" c398" id 
6319" power_suppllihrgistattery" clabuffcopower_suppllihrgistat71/a>    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&adevic="+codePDE_DATAydevic=ref"mutex_unlockf1/a>;&adev"+codePDE_DATAydev->pi    1a href="+codemu/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrs"  href="+code=abs" s="sref"PDE_DATAf1/a>.1a href="+code8e3ry" cla8s37;s\n&quogt/1/spav>>.<8 href80drivers/acpi/sbs.c#6331" icopy_f0" class="line" nam  
6320">393;1a href="+code=alarm_capa245" 8      -#38;i mV\n&quogt/1/spav>>.<8 href80drivers/acpi/sbi/sbs.26" id 
6326" class="line" nam  
6326">62561/a>               goto  1a nular8ery" clas8="sref">battery1/a>>);.<8 href80drivers/acpi/sbs.c#5255" id 0" class="line" nam  
6320">393" c398" id 
6319" devic=_cre"+co>codesingle_opens" devic=_cre"+co>cod71/a>        1a href/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrs"  href="+code=abs" s="s.313" id 
ef="+cdev"+codePDE_DATAydev->pi    1a href="+codemu      " crm  
6329">62091/     " crs="sref"PDE_DATAf1/a>.1a href="+code8e6y" clas8=="sref">battery1/a>>).<8 href806rivers/acpi/sbs.c#6331" icopy_f0" class="line" nam  
6320">393;1a href="+code=alarm_capa245" 8 7y" clas8=ef"voltage_nnot1/a>*).<8 href80drivers/acpi/sbs.c#6326" id 
6326" class="line" nam  
6326">62561/a>               goto  1a nular8e8y" clas8=battery1/a>/1000):1);.<8 href80drivers/acpi/sbs.c#5268" id /a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrhave_sysfsne" nam  
6329">62091have_sysfsne" na>393" ctf1/a>.1a href="+code=battery" c8e9ss="lin8"lass="sref"rtatt1/a>>.<8 href80drivers/acpi/sbs.c#6328" id 
6238" class="line" nam  
6lass=63681/a>     j4s2238" 8ass="line8 nam  
6309">60891/a>}.<8 href81drivers/acpi/sbs.c#6330" id 7">551a href="+code=a7">55171/a>        1a hrefKERN_INFOa href="+code=aKERN_INFOriverattery1/a>*.1a PREFIX href="+code=abPREFIXrivera{00010) ? ;1spav class=(st">eq61 [">eq61]: B" clas Slot [">eq61] (s" clasf">eq61)/a, ;1spav class=(sting">&quogt_charing >stat:8lass="lin8" nam  
6310">61201/a>.<8 href81drivers/acpi/sbs.c#6_battery_reat>sACPI_SBS_DEVICE_NAMEtery" clabuffcoACPI_SBS_DEVICE_NAME"sreref"single_openf1/a>.1devic=_bif"line" nam  
52/a>.1devic=_bife=acp>statf1/a>  1a hf=_unlocky" class="sref"mutex_unlockf1/a>;&adevic="+codePDE_DATAydevic=ref")s=(sting">&quogt_charing >stat:8lery" cla8class="sref"filey1/a);.<8 href81drivers/acpi/sbs.c#5        1a href/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hr21/a href="+code=ab21/ae=acpi_battery_reat>s" class="line" nam  
6324">62741/a>       .if ! 1a href="+code=battery" class="sref">b;>1a href="+codertat_nnow" ss="sre">statf1/a ;& {00010) ? ;1spav class=(stab"sre">statf1/a ;&ref"PDE_DATAf1/a>.1a href="+code8ass="line8 nam  
6312">61271/a.{.<8 href8"drivers/acpi/sbs.c#6attery1/a>*.1a class="line" nam  
5269">56391/a>        return 1a href=6240" 8nmode" cl8ss="sref"inmod11/a>>);.<8 href81drivers/acpi/sbs.c#6314" id 
6314" c8nry" clas8 nam  
6314">61741/a>}.<8 href81drivers/acpi/sbs.c#6305" id 
6305" 8lass="lin8" nam  
6315">61651/a}.<8 href81drivers/acpi"sref398" id 
6319" class      1ahrmov="+codePDE_DATAy atic int.1a hrmov=e=acpi_battery_reat>a.1a hr72" c="line" nam  
6319">61791/a>       (struct.1a href="+code=acpisabs" clas,i/sbs.c#52232" id 52if"line" nam  
52id"srerrs/acpi/sbs.c#6305" id 
6305" 8offset" c8ass="sref">offset1/a>}.<8 href81drivers/acpi/sbs.c#6307" id 
6317" c8ass="line8 nam  
6317">61671/a.{.<8 href81drivers/acpi/sbs.c#6308" id 
6318" class="line" nam  
6318">61681/a>       (struct.1a href="+code=acpi_battery" class="sref">acpi_b    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&ade=acpi_battery" class="sref">acpc313" id 
ef="+cif"line" nam  
52id"sre]a>        return 1a href=6240" 8l9ss="lin8ss="sref"privtatt1/a);.<8 href81drivesref">battery1/a>->1a t40" 8+code=abs8 class="sref"sab11/a);.<8 href82drivers/acpi/sbs.c#6331" icopy_f/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrs"  href="+code=abs" s="s.313" id 
ef="+cdev"+codePDE_DATAydev->gbrs/acpi/sbs.c#6307" id 
6317" c8nt" class8"sref"resuln61/a>=n 0;.<8 href82drivers/acpi/sbs.c#63sbs.c#6331" icopy_f/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrhave_sysfsne" nam  
6329">62091have_sysfsne" na>393rrs/acpi/sbs.c#6305" id 
6305" 8lass="lin8" nam  
6321">62811/a>.<8 href82drivers/acpi/sbs.c#52/sbs.c#5        1a hrefdevic=_hrmov=o>codesingle_opens" devic=_hrmov=o>cod71/a>        1a href/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrs"  href="+code=abs" s="s.313" id 
ef="+cdev"+codePDE_DATAydev->pi    1a href="+codemu      " crm  
6329">62091/     " crs="sref"PDE_DATAf1/a>.1a href="+code8delocky" 8lass="sref"lockf1/a));.<8 href82drivers/acpi/sbs.c#63c#5271" id 
632power_supplliunhrgistattery" clabuffcopower_supplliunhrgistat71/a>    1a href="+codemu/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrs"  href="+code=abs" s="sref"PDE_DATAf1/a>.1a href="+code8lass="lin8" nam  
6323">62231/a>.<8 href82drivers/acpi/sbs.c#6307" id 
6327" clas_ nam8unt" clas8="sref"preseuny1/a)=.{.<8 href8"drive#ifdefi_battery_reat>sCONFIG_ACPI_PROCFS_POWER"+code=battery"CONFIG_ACPI_PROCFS_POWERrivers/acpi/sbs.c#52232" id 6class8         8  no\n&quogt/1/spav>);.<8 href82drivers/acpi/sbs.c#5256" id proc_hrmov="+codePDE_DATAyproc_hrmov=71/a>        1a href/a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrefoc_+coe" class="sref"=aproc_+coe""sreref"PDE_DATAf1/a>.1a href="+code8lffset" c8 class="sref"eand1/a>).<8 href82drivers/acpi/sbs.c#5227" id /a>*.1a href="+code=abs" class="sref"sab11/a> =.1a hrefoc_+coe" class="sref"=aproc_+coe""sre;_battery1/a>*.1a attery>irw" class="sref"=ac"sref">battery1/a>->1a t40" 8dss="line8327">62271/a>       >}.<8 href8"drive#endifrs/acpi/sbs.c#5226" id 
5276" 8lass="lin8" nam  
6328">62381/a;.<8 href82drivers/acpi/sbs.c#6398" id 
6399" c8tery" cla8s="sref">battery1/a>);.<8 href83drivers/acpi/sbs.c#6310" id 
6310" 8         8      &quogt/1/spav>);.<8 href83drivers/acpi/sbs.c#52232" id 5272" cing">&r_adf"line" nam  
5272" cing">&r_adfe=acpi_battery_reat>a.1a hr72" c="line" nam  
6319">61791/a>       (struct.1a href="+code=acpisabs" clasrrs/acpi/sbs.c#6305" id 
6305" 8class="sr8f">alarm_capacity1/a>}.<8 href83drivers/acpi/sbs.c#6307" id 
6317" c8gt-#37;i-837;sh\n&quogt/1/spav>>.<8 href83drivers/acpi/sbs.c#5271" id 
6320" class="line" nam  
6320">626a>        return 1a href=6240" 8lass="sre8">alarm_capacity1/a>*).<8 href83drive">eq61/a>->1a href="+ce=bat8tery" cla8s="sref">battery1/a>>>.<8 href83drivers/acpi/sbs.c#5255" id 0" class="line" nam  
6320">393" c398" id 
6319" ">617ac  hrepr="+code=battery" cla">617ac  hrepr="+coe=acp>statf1/a>  1a hf=_unlocky" class="sref"ref"PDE_DATAf1/a>.1a href="+code8ery" clas8="sref">battery1/a>>);.<8 href836rivers/acpi/sbs.c#6331" icopy_f0" class="line" nam  
6320">393;1a href="+code=alarm_capa245" 8nam  
6238">63161/a>       else;.<8 href83drivers/acpi/sbs.c#6326" id 
6326" class="line" nam  
6326">62561/a>               goto  1a nular8nss="line8bled\n&quogt/1/spav>);.<8 href83drive#ifdefi_battery_reat>sCONFIG_ACPI_PROCFS_POWER"+code=battery"CONFIG_ACPI_PROCFS_POWERrivers/acpi/sbs.c#52232" id 6class8las6="lin8" nam  
5238">52386/a;.<8 href83drivers/acpi/sbs.c#5319" id 0" class="line" nam  
6320">393" c398" id 
6319" class91/iadf6311">61811/a>static in91/iadf63171/a>    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r_+coe" class="sref"=aing">&r_+coe""sreref"single_openf1/a>.1ac_dirm  
6329">62091/a>  ac_dir->s=(sting">&quogt_charing >stat:8del6cky" 8lass="sref"lockf1/6));.<84href84drivers
5327"rs/acpi//sbs.c#52/sbs.c#5        1a hrefACPI_AC_DIR_NAMEtery" clabuffcoACPI_AC_DIR_NAME"sreref"single_openf1attery>irw" class="sref"=acs=(sting">&quogt_charing >stat:8d        8" nam  
5240">54206/a>.<8 href84drivers/acpi/sbs.c#6301"/sbs..........    1a href="+codemu/a>  ac_ne" na>52601/a>           aticac_ne" na>526->ref"single_openf1attery>irw" class="sref"=acsbattery1/a>*.1a hf="+code=battery" class=ref"PDE_DATAf1/a>.1a href="+code8   6     8#37;s\n&quogt/1/sp6v>>.<84href84drivers/acpi/sbs.c#6331" icopy_f0" class="line" nam  
6320">393;1a href="+code=alarm_capa245" 8 t-#37;i-8uogtno&quogt/1/spa6>);.<84href84drivers/acpi/sbs.c#6326" id 
6326" class="line" nam  
6326">62561/a>               goto  1a nular8lasst" cl8ss="sref"preseuny16a);.<8 href84drive#endifrs/acpi/sbs.c#5226" id 
5276" 8+co6eeand8 class="sref"eand16a>).<84href84drivers/acpi/sbs.c#5255" id tex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r class="sref"=aing">&rs="s.313" id 
ef="+c21/a href="+code=ab21/ae=ac;_baref"seq_pr inof1/a>.1a hreebs-ing">&r">statf1/a ;&a>               goto  1a nular8lry" clas8" nam  
5245">54656/a}.<8 href84drivers/acpi/sbs.c#5256" id tex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r class="sref"=aing">&rs="s.313" id 
ef="+ctypa href="+code=abtypae=ac;_battery1/a>*.1a POWER_SUPPLY_TYPE_MAINS href="+code=abPOWER_SUPPLY_TYPE_MAINS561/a>               goto  1a nular8lam  
623837;sh\n&quogt/1/sp6v>>.<8 href84drivers/acpi/sbs.c#5227" id 
ex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r class="sref"=aing">&rs="s.313" id 
ef="+cpropertiex_unlocky"ppodry1ropertiexass=;_battery1/a>*.1a hf=_ac_1rop="+code=battery" cl_ac_1rop=561/a>               goto  1a nular8lss="line8s="sref">battery1/6>>>.<84href84drivers/acpi/sbs.c#5268" id tex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r class="sref"=aing">&rs="s.313" id 
ef="+c2um_propertiex_unlocky"ppodry2um_propertiexass=;_s_battery_reat>sARRAY_SIZEtery" clabuffcoARRAY_SIZEe=acp>statf1/a>  1a hf=_ac_1rop="+code=battery" cl_ac_1rop=561/ref"PDE_DATAf1/a>.1a href="+code8 as6="lin8="sref">battery1/a6>);.<84href84drivers/acpi/sbs.c#5319" id tex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r class="sref"=aing">&rs="s.313" id 
ef="+c hreproperta href="+code=ab hreproperta>393" c398" id 
6319"  cl_ hreac_1roperta href="+code=ab cl_ hreac_1roperta561/a>               goto  1a nular8  -637;i-837;sh\n&quogt/1/sp6v>>.<8 href85drivers/acpi/sbs.c#6330" id 7ower_suppllihrgistattery" clabuffcopower_suppllihrgistat71/a>    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&adevic="+codePDE_DATAydevic=ref"mutex_unlockf1/a>;&adev"+codePDE_DATAydev->pi    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r class="sref"=aing">&rs="sref"PDE_DATAf1/a>.1a href="+code8las6" cla8s="sref">battery1/6>>>.<85href85drivers/acpi/sbs.c#6330" id 7">551a href="+code=a7">55171/a>        1a hrefKERN_INFOa href="+code=aKERN_INFOriverattery1/a>*.1a PREFIX href="+code=abPREFIXrivera{00010) ? ;1spav class=(st">eq61 [">eq61]: AC Adaprit [">eq61] (">eq61)/a, ;1spav class=(sting">&quogt_charing >stat:8   6     8="sref">battery1/a6>);.<8 href85drivers/acpi/sbs.c#6        1a hrefACPI_SBS_DEVICE_NAMEtery" clabuffcoACPI_SBS_DEVICE_NAME"sreref"single_openf1/a>.1devic=_bif"line" nam  
52/a>.1devic=_bife=acp>statf1/a>  1a hf=_unlocky" class="sref"mutex_unlockf1/a>;&adevic="+codePDE_DATAydevic=ref")s=(sting">&quogt_charing >stat:8 t-#37;i-8able\n&quogt/1/spa6>);.<8 href85drivers/acpi/sbs.c#6        1a hrefACPI_AC_DIR_NAMEtery" clabuffcoACPI_AC_DIR_NAME"sreref"single_openf1tex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r_ef="+code=battery" claing">&r_ef="+coriver>1a href="+codertat_nnow" on-">61">statf1/a ;& {00010) ? ;1spav class=(stiff-">61">statf1/a ;&s="sref"sab11/a>->1a hret:   8 asst" cl8;i mV\n&quogt/1/sp6v>>.<8 href8"drivers/acpd 
6326" class="line" nam  
6326">62561/  
6lass=63681/a>     j4s2238" 8ery6 clas8="sref">battery1/a6>);.<85href8"drivers/acpi/sbs.c#6attery1/a>*.1a class="line" nam  
5269">56391/a>        return 1a href=6240" 8 ry" clas8nown\n&quogt/1/spa6>);.<8 href8"drivers/acpi/sbs.c#6398" id 
6399" c8l -637;i-8nown\n&quogt/1/spa6>);.<8 href85drivers/acpi/sbs.c#6305" id 
6305" 8&quoass="8ref">ycle__counf1/6));.<85href85drivers/acpi"sref398" id 
6319" classing">&r_hrmov="+codePDE_DATAy aticing">&r_hrmov=e=acpi_battery_reat>a.1a hr72" c="line" nam  
6319">61791/a>       (struct.1a href="+code=acpisabs" clasrrs/acpi/sbs.c#6305" id 
6305" 8&ry6 clas8nown\n&quogt/1/spa6>);.<85href8"drivers/acpi/sbs.c#6307" id 
6317" c8it 6:  un8nown\n&quogt/1/spa6>);.<8 href86drivers/acpi/sbs.c#6331" icopy_ftex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r class="sref"=aing">&rs="s.313" id 
ef="+cdev"+codePDE_DATAydev->gs/acpi/sbs.c#6307" id 
6317" c8ias6" cla8ref"deevic_ namf1/6));.<86href86drivers/acpi/sbs.c#63c#5271" id 
632power_supplliunhrgistattery" clabuffcopower_supplliunhrgistat71/a>    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r class="sref"=aing">&rs="sref"PDE_DATAf1/a>.1a href="+code8         8#37;i\n&quogt/1/spav>;.<8 href8"drive#ifdefi_battery_reat>sCONFIG_ACPI_PROCFS_POWER"+code=battery"CONFIG_ACPI_PROCFS_POWERrivers/acpi/sbs.c#52232" id 6class8it-#37;i-8f">erial_numberf1/a));.<8 href86drivers/acpi/sbs.c#5256" id proc_hrmov="+codePDE_DATAyproc_hrmov=71/a>        1a hreftex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r_+coe" class="sref"=aing">&r_+coe""sreref"PDE_DATAf1/a>.1a href="+code8 asst" cl8#37;s\n&quogt/1/spav>;.<8 href86drivers/acpi/        1a hreftex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r_+coe" class="sref"=aing">&r_+coe""sre;_battery1/a>*.1a attery>irw" class="sref"=ac"sref">battery1/a>->1a t40" 8"ry6 clas8eevic_chemisnerf1/a));.<8 href86drive#endifrs/acpi/sbs.c#5226" id 
5276" 8iry" clas8#37;s\n&quogt/1/spav>;.<8 href86drivers/acpi/sbs.c#6398" id 
6399" c8 : 6   un8nufacturer_ namf1/a));.<8 href86drivers/acpi/sbs.c#6305" id 
6305" 8iquoass="8 class="sref"eand1/at:.<8 href86drivers/acpi"sref398" id 
6319" class cl_callba 1a href="+code=aclass cl_callba 171/a>"sref">eq_filey1/a>*.contexode=battery" claiontexo->gs/acpi/sbs.c#6307" id 
6317" c8iry6 clas8lass="sref"lockf1/a));.<8 href86drivers/acpi/sbs.c#6307" id 
6317" c8esulnt" c8ass="sref"resuln61/a);.<8 href87drivers/acpi/ssbs.c#52232" id 52if"line" nam  
52id"sre"sref">battery1/a>->1a t40" 8ass="line8 nam  
5270">57401/a>}.<8 href87drivers/acpi/sbs.c#6398" id 
6319" class="line" nam  
6319">61791/a>       (struct.1a href="+code=acpisabs" class="sref">acpisab11contexode=battery" claiontexo->"sref">battery1/a>->1a t40" 8a        8" nam  
5271">57811/a>.<8 href872rivers/acpi/sbs.c#6398" id 
6319" class="line" nam  
6318">61681/a>       (struct.1a href="+code= nam  
6318">61s" s="s"sref">battery1/a>->1a t40" 8at-#37;i-8class="sref"filey1/a);.<8 href87drivers/acpi/sbs.c#5256" id u8nam  
631y" claudriver   (struct.1a hraved_ing">&r_tf="+code=battery" claved_ing">&r_tf="+>393" c398" id 
6319"  cl_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r_ef="+code=battery" claing">&r_ef="+corive"sref">battery1/a>->1a t40" 8aasst" cl8 nam  
5273">57231/a.{.<8 href87drivers/acpi/        1a hrefu8nam  
631y" claudriver   (struct.1a hraved_ int.1a f="+ccode=battery" claved_ int.1a f="+crive"sref">battery1/a>->1a t40" 8ary6 clas8ss="sref"inmod11/a>>);.<8 href87drivers/acpi/sbs.c#5255" id ">617ac  hrepr="+code=battery" cla">617ac  hrepr="+coe=acp>statf1/a>  1a hf=_unlocky" class="sref"ref"PDE_DATAf1/a>.1a href="+code8nry" clas8 nam  
5275">52751/a>}.<8 href876rivers/acpi/sbs.c#6331" icopy_ftex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r_ef="+code=battery" claing">&r_ef="+coriver!_battery1/a>*.1a raved_ing">&r_tf="+code=battery" claved_ing">&r_tf="+>393gbrs/acpi/sbs.c#6307" id 
6317" c8lass="lin8" nam  
5276">57861/a;.<8 href87drive#ifdefi_battery_reat>sCONFIG_ACPI_PROC_EVENT"+code=battery"CONFIG_ACPI_PROC_EVENTrivers/acpi/sbs.c#6305" id 
6305" 8nquoass="8ass="sref">offset1/a>}.<8 href87drivers/acpi/sbi/sbs.c#5271" id 
632681/a>ul_ hn r/ae_proc_+v+co4 nam  
6318">61681/a>ul_ hn r/ae_proc_+v+co4e=acp>statf1/a>  1a ACPI_AC_CLASS href="+code=abACPI_AC_CLASS"sreref"single_openf1ACPI_AC_DIR_NAMEtery" clabuffcoACPI_AC_DIR_NAME"srerrs/acpi/sbs.c#6305" id 
6305" 8nry6 clas8 nam  
5278">57681/a.{.<8 href87drivers/acpi///////////////////////////////////////        1a hrefACPI_SBS_NOTIFY_STATUS href="+code=abACPI_SBS_NOTIFY_STATUS"srerrs/acpi/sbs.c#6305" id 
6305" 8vtate" cl8ss="sref"privtatt1/a);.<8 href88drivers
5327"rs/acpi//sbs.c#52/sbs.c#5/////////////        1a hreftex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r_ef="+code=battery" claing">&r_ef="+coriveref"PDE_DATAf1/a>.1a href="+code8+code=abs8 class="sref"sab11/a);.<8 href88drive#endifrs/acpi/sbs.c#5226" id 
5276" 8odertate"8class="sref"rtatt1/a);.<8 href88drivers/acpi/sbs.c#52c#5271" id 
632kobject_u+v+code=battery" clakobject_u+v+co71/a>    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&aing">&r class="sref"=aing">&rs="s.313" id 
ef="+cdev"+codePDE_DATAydev->mutex_unlockf1/a>;&akobjde=battery" clakobj"sreref"single_openf1KOBJ_CHANGEtery" clabuffcoKOBJ_CHANGEriveref"PDE_DATAf1/a>.1a href="+code8+t-#37;i-8" nam  
5282">58821/a}.<8 href8"drivers/acpi/rs/acpi/sbs.c#6398" id 
6399" c8l  6  -#38lass="sref"lockf1/a));.<8 href884rivers/acpi/sbs.c#6331" icopy_ftex_unlocky" class="sref"mutex_unlockf1/a>;&amana>&r_ef="+code=battery" clamana>&r_ef="+coterygbrs/acpi/sbs.c#6307" id 
6317" c8lmode" cl8#37;s\n&quogt/1/spav>>.<8 href88drivers/acpi/////////fors.c#6331" icopy_fif"line" nam  
52id"sre =s01/c#5271" id 
632if"line" nam  
52id"sre ery1/c#5271" id 
632MAX_SBS_BAT"+code=battery"MAX_SBS_BATrive" ++c#5271" id 
632if"line" nam  
52id"sregbrs/acpi/sbs.c#6307" id 
6317" c8lry" clas8uogtno&quogt/1/spav>);.<8 href88drivers/acpi/sbs.c#63rs/acpi/sbs.c.c#6331" icopy_ftex_unlocky" class="sref"mutex_unlockf1/a>;&a int.1ies_supportef"line" nam  
52 int.1ies_supportef"sre e>batt(1tery1ery1/c#5271" id 
632if"line" nam  
52id"sreg)gs/acpi/sbs.c#6307" id 
6317" c8lass="lin8ss="sref"preseuny1/a);.<8 href88drivers/acpi/sbs.c#5277" id 








iontinueef"PDE_DATAf1/a>.1a href="+code8+quoass="8 class="sref"eand1/a>).<8 href88drivers/acpi/sbi/sbs.pi/acpi/sbs.c#5268" id /a> nam  
6318">61s" s="si_b    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&ade=acpi_battery" class="sref">acpc313" id 
ef="+cif"line" nam  
52id"sre]a>        return 1a href=6240" 8lss="line8" nam  
5288">58381/a;.<8 href88drivers/acpi/////////////////   (struct.1a hraved_ int.1a f="+ccode=battery" claved_ int.1a f="+crive;_battery1/a>*.1a " c nam  
6318">61s" s="sa>       .if ! 1a href="+code=battery" class="sref">b"sref">battery1/a>->1a t40" 8tery" cla8s="sref">battery1/a>>).<8 href89drivers
5327"rs/acpi//sbs.c#5398" id 
6319" class="line"ahref"line" nam  
5272" class="lihrefe=acp>statf1/a>  1a /a> nam  
6318">61s" s="sref"PDE_DATAf1/a>.1a href="+code8         8#37;s\n&quogt/1/spav>>.<8 href89drivers/acpi/sbs.c#6301"/sbs.sbs.c#6331" icopy_fsaved_ int.1a f="+ccode=battery" claved_ int.1a f="+crive;__battery1/a>*.1a " c nam  
6318">61s" s="sa>       .if ! 1a href="+code=battery" class="sref">bgs/acpi/sbs.c#6307" id 
6317" c8 dertate"8uogtok&quogt/1/spav>);.<8 href89drivers/acpi/sbs.c#52/sbs.c#5







iontinueef"PDE_DATAf1/a>.1a href="+code8         8#37;s\n&quogt/1/spav>>.<8 href89drive#ifdefi_battery_reat>sCONFIG_ACPI_PROC_EVENT"+code=battery"CONFIG_ACPI_PROC_EVENTrivers/acpi/sbs.c#6305" id 
6305" 8   6  -#38haring&quogt/1/spav :>.<8 href89drivers/acpi/sbi/sbs./sbs.c#5398" id 
6319" class=ul_ hn r/ae_proc_+v+co4 nam  
6318">61681/a>ul_ hn r/ae_proc_+v+co4e=acp>statf1/a>  1a ACPI_BATTERY_CLASS href="+code=abACPI_BATTERY_CLASS"srerrs/acpi/sbs.c#6305" id 
6305" 8 mode" cl8hared&quogt/1/spav>>);.<8 href89drivers/acpi/sbs.c#6363rsssssssssssssssssssssssssssssssssssattery1/a>*.1a " c nam  
6318">61s" s="sa>       .if ! 1a hr21/a href="+code=ab21/ae=acprs/acpi/sbs.c#6305" id 
6305" 8 ry" clas8s="sref">battery1/a>>).<8 href89drivers/acpi/sbs.c#63rs/acpi/ssssssssssssssssssssssssssssssattery1/a>*.1a ACPI_SBS_NOTIFY_STATUS href="+code=abACPI_SBS_NOTIFY_STATUS"srerrs/acpi/sbs.c#6305" id 
6305" 8 ass="lin8ref"voltage_nnot1/a>*).<8 href89drivers/acpi/sbs.c#6363rsssssssssssssssssssssssssssssssssssattery1/a>*.1a " c nam  
6318">61s" s="sa>       .if ! 1a href="+code=battery" class="sref">bgef"PDE_DATAf1/a>.1a href="+code8 quoass="8>battery1/a>/1000):1);.<8 href89drive#endifrs/acpi/sbs.c#5226" id 
5276" 8 ss="line8class="sref"rtatt1/a>>.<8 href89drivers/acpi/sbs.c#6363rsssssattery1/a>*.1a kobject_u+v+code=battery" clakobject_u+v+co71/a>    1a href="+codemu" c nam  
6318">61s" s="sa>       .if ! 1a hrs"  href="+code=abs" s="s.313" id 
ef="+cdev"+codePDE_DATAydev->mutex_unlockf1/a>;&akobjde=battery" clakobj"sreref"single_openf1KOBJ_CHANGEtery" clabuffcoKOBJ_CHANGEriveref"PDE_DATAf1/a>.1a href="+code9ery" clas9="sref">battery1/a>>);.<9 href90drivers
5327"rs/acpi/rs/acpi/sbs.c#6398" id 
6399" c9e1y" clas9=37;s\n&quogt/1/spav>>.<9 href90drivers/acpi/rs/acpi/sbs.c#6398" id 
6399" c9e2y" clas9=ogtok&quogt/1/spav>);.<9 href90drivers/acpi/sbs.c#6398" id 
6399" c9e3y" clas9=37;s\n&quogt/1/spav>>.<9 href90drives/acpi/sbs.c#6398" id 
6399" c9e4y" clas9=aring&quogt/1/spav :>.<9 href90drivers/acpi/sbs.c#52232" id 5272" cs1/iadfa href="+code=aclass cl_adfe=acpi_battery_reat>a.1a hr72" cdevic="+codePDE_DATAy72" cdevic= (struct.1a href="+codevic="+codePDE_DATAydevic=ref")s/acpi/sbs.c#6398" id 
6399" c9e5y" clas9=ared&quogt/1/spav>>);.<9 href90drivers/acpi/sbs.c#6307" id 
6317" c9e6y" clas9=="sref">battery1/a>>).<9 href906rivers/acpi/sbs.c#6398" id 
6319" class="line" nam  
6319">61791/a>       (struct.1a href="+code=acpisabs" clasef"PDE_DATAf1/a>.1a href="+code9e7y" clas9=ef"voltage_nnot1/a>*).<9 href90drivers/acpi/sbs.c#5271" id 
6320" class="line" nam  
6320">62601/aa>        return 1a href=6240" 9e8y" clas9=battery1/a>/1000):1);.<9 href90drivers/acpi/ssbs.c#52232" id 52if"line" nam  
52id"sre"sref">battery1/a>->1a t40" 9e9ss="lin9"lass="sref"rtatt1/a>>.<9 href90drivesref">battery1/a>->1a t40" 9ass="line9 nam  
6309">60891/a>}.<9 href91drivers/acpi/sbs.c#6330" id ref="+code=acpisabs" class="sref">acpisab11kzalloc"+code=battery"kzalloce=acpiizeofpi_battery_reat>a.1a hr72" c="line" nam  
6319">61791/a>  )ref"single_openf1GFP_KERNEery>irw" class="GFP_KERNEeriveref"PDE_DATAf1/a>.1a href="+code9lass="lin9" nam  
6310">61201/a>.<9 href91drivers/acpi/sbs.c#6324" id 
6324hf=_unlocky" class="sref"rbrs/acpi/sbs.c#6307" id 
6317" c9lery" cla9class="sref"filey1/a);.<9 href91drivers/acpi/sbs.c#5.c#5271" id 
6320" class="line" nam  
6320">62601/-c#5271" id 
632ENOMEMss="line" nam  ENOMEM"sre"sref">battery1/a>->1a t40" 9ass="line9 nam  
6312">61271/a.{.<9 href9"drivers/acpi/////////26" id 
6326" class="line" nam  
6326">62561/a>               goto  1a nular9nmode" cl9ss="sref"inmod11/a>>);.<9 href91drivers/acpi/sbs.c#6307" id 
6327" clas_ nam9nry" clas9 nam  
6314">61741/a>}.<9 href91drivers/acpi/sbs.c#6305" id 
6305" 9lass="lin9" nam  
6315">61651/a}.<9 href91drivers/acpi/sbs.c#5256" id mutex_iniode=battery" clamutex_inio71/a>    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&aloc1a href="+code=aloc1riveref"PDE_DATAf1/a>.1a href="+code9l7y" clas9ass="sref">offset1/a>}.<9 href91drivers/acpi/sbs.c#6305" id 
6305" 9ass="line9 nam  
6317">61671/a.{.<9 href91drivers/acpi/sbs.c#5268" id tex_unlocky" class="sref"mutex_unlockf1/a>;&ahc"+code=battery"hcclass="sref">acpisab1172" cd.c#63_data"+codePDE_DATAy72" cd.c#63_datae=acp>statf1/a>  1a devic="+codePDE_DATAydevic=ref"mutex_unlockf1/a>;&apar+code=battery" clasar+coriveref"PDE_DATAf1/a>.1a href="+code9l9ss="lin9ss="sref"privtatt1/a);.<9 href91drivers/acpi/sbs.c#5319" id tex_unlocky" class="sref"mutex_unlockf1/a>;&adevic="+codePDE_DATAydevic=ref"" c398" id 
6319" devic="+codePDE_DATAydevic=ref"ef"PDE_DATAf1/a>.1a href="+code9+code=abs9 class="sref"sab11/a);.<9 href92drivers/acpi/sbs.c#6330" id rtrcpa href="+code=ab trcpae=acp>statf1/a>  1a /a>.1devic=_21/a href="+code=ab/a>.1devic=_21/ae=acp>statf1/a>  1a devic="+codePDE_DATAydevic=ref")ref"single_openf1ACPI_SBS_DEVICE_NAMEtery" clabuffcoACPI_SBS_DEVICE_NAME"sreref"PDE_DATAf1/a>.1a href="+code9nt" class9"sref"resuln61/a>=n 0;.<9 href92drivers/acpi/sbs.c#6330" id rtrcpa href="+code=ab trcpae=acp>statf1/a>  1a /a>.1devic=_ref=" href="+code=ab/a>.1devic=_ref="e=acp>statf1/a>  1a devic="+codePDE_DATAydevic=ref")ref"single_openf1ACPI_SBS_CLASS href="+code=abACPI_SBS_CLASS"sreref"PDE_DATAf1/a>.1a href="+code9nery" cla9" nam  
6321">62811/a>.<9 href92drivers/acpi/sbs.c#5222" id devic="+codePDE_DATAydevic=ref"mutex_unlockf1/a>;&ad.c#63_data"+codePDE_DATAyd.c#63_datae=ac;_battery1/a>*.1a hf="+code=battery" class="sref">battery1/a>->1a t:   9delocky" 9lass="sref"lockf1/a));.<9 href92drives/acpi/sbs.c#6398" id 
6399" c9lass="lin9" nam  
6323">62231/a>.<9 href92drivers/acpi/c#5271" id 
6320" class="line" nam  
6320">62601/>statf1/a>  1a /a>.1ing">&r_adf"line" nam  
5272" cing">&r_adfe=acp#6324" id 
6324hf=_unlocky" class="sref"r"sref">battery1/a>->1a t:   9dry" clas9="sref"preseuny1/a)=.{.<9 href92drivers/acpi/sbs.c#6331" icopy_f0" class="line" nam  
6320">393;1a href="+code=alarm_capa245" 9         9  no\n&quogt/1/spav>);.<9 href92drivers/acpi/sbs.c#6326" id 
6326" class="line" nam  
6326">62561/a>               goto  1a nular9lffset" c9 class="sref"eand1/a>).<9 href92drivers/acpi/sbs.c#6305" id 
6305" 9dss="line9327">62271/a>       >}.<9 href92drivers/acpi/sbs.c#5268" id 0" class="line" nam  
6320">62601/>statf1/a>  1a /a>.1mana>&r_ hreef=""line" nam  
5272" cmana>&r_ hreef="e=acp#6324" id 
6324hf=_unlocky" class="sref"r"sref">battery1/a>->1a t:   9d9ss="lin9" nam  
6328">62381/a;.<9 href929rivers/acpi/sbs.c#6324" id 
63240" class="line" nam  
6320">393;brs/acpi/sbs.c#6307" id 
6317" c9tery" cla9s="sref">battery1/a>);.<9 href93drivers
5327"rs/acpi/c#6331" icopy_ftex_unlocky" class="sref"mutex_unlockf1/a>;&amana>&r_ef="+code=battery" clamana>&r_ef="+cotery" ctf1/a>.1a href="+code=battery" c9         9      &quogt/1/spav>);.<9 href93drivers/acpi/sbs.c#63fors.c#6331" icopy_fif"line" nam  
52id"sre =s01/c#5271" id 
632if"line" nam  
52id"sre ery1/c#5271" id 
632MAX_SBS_BAT"+code=battery"MAX_SBS_BATrive" ++c#5271" id 
632if"line" nam  
52id"sreg1/a>.1a href="+code=battery" c9 ery" cla9f">alarm_capacity1/a>}.<9 href93drivers/acpi/sbs.c#52/sbs.c#5sbs..c#6331" icopy_ftex_unlocky" class="sref"mutex_unlockf1/a>;&a int.1ies_supportef"line" nam  
52 int.1ies_supportef"sre e>batt(1tery1ery1/c#5271" id 
632if"line" nam  
52id"sreg)gs/acpi/sbs.c#6307" id 
6317" c9gt-#37;i-937;sh\n&quogt/1/spav>>.<9 href93drivers/acpi/////////rs
5327"rs/acpi/c#6331" icopy_f72" class="liadf"line" nam  
5272" class="liadfe=acp#6324" id 
6324hf=_unlocky" class="sref"pi_battery_reat>sif"line" nam  
52id"sreref"PDE_DATAf1/a>.1a href="+code9lass="sre9">alarm_capacity1/a>*).<9 href93drivers/acpi/s/sbs.f"PDE_DATAf1/a>.1a href="+code9lry" clas9s="sref">battery1/a>>>.<9 href93drivers/acpi/sbs.c#63c#6331" icopy_f72" class="liadf"line" nam  
5272" class="liadfe=acp#6324" id 
6324hf=_unlocky" class="sref"pi0ref"PDE_DATAf1/a>.1a href="+code9l        9="sref">battery1/a>>);.<9 href93drivers/acpi/sbs.c#5256" id ">6179m>ul_hrgistat_callba 1a href="+code=aclass m>ul_hrgistat_callba 1e=acp#6324" id 
6324hf=_unlocky" class="sref"mutex_unlockf1/a>;&ahc"+code=battery"hcclasref"single_openf1/a>.1 cl_callba 1a href="+code=aclass cl_callba 171/asbattery1/a>*.1a hf="+code=battery" class=ref"PDE_DATAf1/a>.1a href="+code9nam  
6239">63161/a>       else;.<9 href93drivers/acpd 
6326" class="line" nam  
6326">62561/  
6lass=63681/a>     j4s2238" 9nss="line9bled\n&quogt/1/spav>);.<9 href938rivers/acpi/sbs.c#6331" icopy_f0" class="line" nam  
6320">393;1a href="+code=alarm_capa245" 9las6="lin9" nam  
5238">52386/a;.<9 href93drivers/acpi/sbs.c#63f"single_openf1/a>.1 cl_hrmov="+codePDE_DATAy atic cl_hrmov=e=acp>statf1/a>  1a devic="+codePDE_DATAydevic=ref")ef"PDE_DATAf1/a>.1a href="+code9del6cky" 9lass="sref"lockf1/6));.<94href94drivers
5327"sbs.c#6attery1/a>*.1a class="line" nam  
5269">56391/a>        return 1a href=6240" 9d        9" nam  
5240">54206/a>.<9 href94drivesbs.c#6307" id 
6327" clas_ nam9   6     9#37;s\n&quogt/1/sp6v>>.<94href94drivebs.c#6307" id 
6327" clas_ nam9 t-#37;i-9uogtno&quogt/1/spa6>);.<94href94drivers/acpi/sbs.c#52232" id 5272" cs1/ihrmov="+codePDE_DATAy atic cl_hrmov=e=acpi_battery_reat>a.1a hr72" cdevic="+codePDE_DATAy72" cdevic= (struct.1a href="+codevic="+codePDE_DATAydevic=ref")s/acpi/sbs.c#6398" id 
6399" c9lasst" cl9ss="sref"preseuny16a);.<9 href94drivers/acpi/sbs.c#6307" id 
6317" c9+co6eeand9 class="sref"eand16a>).<94href94drivers/acpi/sbs.c#6398" id 
6319" class="line" nam  
6319">61791/a>       (struct.1a href="+code=acpisabs" clasef"PDE_DATAf1/a>.1a href="+code9lry" clas9" nam  
5245">54656/a}.<9 href94drivers/acpi/ssbs.c#52232" id 52if"line" nam  
52id"sre"sref">battery1/a>->1a t40" 9lam  
623937;sh\n&quogt/1/sp6v>>.<9 href94drivers/acpi/sbs.c#6305" id 
6305" 9lss="line9s="sref">battery1/6>>>.<94href948rivers/acpi/sbs.c#6324" id 
6324devic="+codePDE_DATAydevic=ref")s/acpi/sbs.c#6398" id 
6399" c9las6="lin9="sref">battery1/a6>);.<94href94drivers/acpi/sbs.c#63sbs.c#6-c#5271" id 
632EINVAery>irw" class="EINVAe"sre"sref">battery1/a>->1a t40" 9  -637;i-937;sh\n&quogt/1/sp6v>>.<9 href95drivers/acpi/sbs.c#6330" id ref="+code=acpisabs" class="sref">acpisab1172" cd.c#63_data"+codePDE_DATAy72" cd.c#63_datae=acp>statf1/a>  1a devic="+codePDE_DATAydevic=ref")ef"PDE_DATAf1/a>.1a href="+code9las6" cla9s="sref">battery1/6>>>.<95href95drivers/acpi/sbs.c#6324" id 
6324hf=_unlocky" class="sref"rf"PDE_DATAf1/a>.1a href="+code9l  6     9="sref">battery1/a6>);.<9 href95drivers/acpi/sbs.c#63sbs.c#6-c#5271" id 
632EINVAery>irw" class="EINVAe"sre"sref">battery1/a>->1a t40" 9 t-#37;i-9able\n&quogt/1/spa6>);.<9 href95drivers/acpi/sbs.c#5256" id mutex_loc1a href="+code=amutex_loc171/a>    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&aloc1a href="+code=aloc1riveref"PDE_DATAf1/a>.1a href="+code9 asst" cl9;i mV\n&quogt/1/sp6v>>.<9 href95drivers/acpi/c#5271" id 
632class m>ul_unhrgistat_callba 1a href="+code=aclass m>ul_unhrgistat_callba 1e=acp#6324" id 
6324hf=_unlocky" class="sref"mutex_unlockf1/a>;&ahc"+code=battery"hcclasref"PDE_DATAf1/a>.1a href="+code9 co6eeand9="sref">battery1/a6>);.<95href9"drivers/acpi/fors.c#6331" icopy_fif"line" nam  
52id"sre =s01/c#5271" id 
632if"line" nam  
52id"sre ery1/c#5271" id 
632MAX_SBS_BAT"+code=battery"MAX_SBS_BATrive" ++c#5271" id 
632if"line" nam  
52id"sreg1/a>.1a href="+code=battery" c9 ry" clas9nown\n&quogt/1/spa6>);.<9 href95drivers/acpi/sbs.c#63c#6331" icopy_f72" class="lihrmov="+codePDE_DATAy atic int.1a hrmov=e=acp#6324" id 
6324hf=_unlocky" class="sref"pi_battery_reat>sif"line" nam  
52id"sreref"PDE_DATAf1/a>.1a href="+code9l -637;i-9nown\n&quogt/1/spa6>);.<9 href95drivers/acpi/sbs.c#5227" id 72" cing">&r_hrmov="+codePDE_DATAy aticing">&r_hrmov=e=acpattery1/a>*.1a hf="+code=battery" class=ref"PDE_DATAf1/a>.1a href="+code9&quoass="9ref">ycle__counf1/6));.<95href95drivers/acpi/sbs.c#5268" id mutex_unloc1a href="+code=amutex_unloc171/a>    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&aloc1a href="+code=aloc1riveref"PDE_DATAf1/a>.1a href="+code9 as6="lin9nown\n&quogt/1/spa6>);.<95href95drivers/acpi/sbs.c#5319" id mutex_desbsoa href="+code=abmutex_desbsoa71/a>    1a href="+codemutex_unlocky" class="sref"mutex_unlockf1/a>;&aloc1a href="+code=aloc1riveref"PDE_DATAf1/a>.1a href="+code9it 6:  un9nown\n&quogt/1/spa6>);.<9 href96drivers/acpi/sbs.c#6330" id kfre="+codePDE_DATAykfre=e=acpattery1/a>*.1a hf="+code=battery" class=ref"PDE_DATAf1/a>.1a href="+code9ias6" cla9ref"deevic_ namf1/6));.<96href96drivers/acpi/sbs.c#6aa>        return 1a href=6240" 9         9#37;i\n&quogt/1/spav>;.<9 href96drivers/acpi/sbs.c#6398" id 
6399" c9it-#37;i-9f">erial_numberf1/a));.<9 href96drives/acpi/sbs.c#6398" id 
6399" c9 asst" cl9#37;s\n&quogt/1/spav>;.<9 href96drivers/acpi"sref398" id 
6319" class cl_rmdir11">61811/a>static in91/irmdir1e=acp"sreg1/a>.1a href="+code=battery" c9"ry6 clas9eevic_chemisnerf1/a));.<9 href96drivers/acpi/sbs.c#6307" id 
6317" c9iry" clas9#37;s\n&quogt/1/spav>;.<9 href96drive#ifdefi_battery_reat>sCONFIG_ACPI_PROCFS_POWER"+code=battery"CONFIG_ACPI_PROCFS_POWERrivers/acpi/sbs.c#52232" id 6class9 : 6   un9nufacturer_ namf1/a));.<9 href96drivers/acpi/sbs.c#6331" icopy_fic inac_dirm  
6329">62091/a>  ac_dir->brs/acpi/sbs.c#6307" id 
6317" c9iquoass="9 class="sref"eand1/at:.<9 href96drivers/acpi/sbi/sbs.c#5271" id 
632681/aunloc1nac_dirm  
6329">62091/a>  unloc1nac_dire=acp>statf1/a>  1a /a>.1ac_dirm  
6329">62091/a>  ac_dir->a>        return 1a href=6240" 9 as6="lin9lass="sref"lockf1/a));.<9 href96drivers/acpi/sbs.c#63f"single_openf1/a>.1ac_dirm  
6329">62091/a>  ac_dir->_battery1/a>*.1a attery>irw" class="sref"=ac"sref">battery1/a>->1a t40" 9esulnt" c9ass="sref"resuln61/a);.<9 href97drivers/acpi/rs/acpi/sbs.c#6398" id 
6399" c9ass="line9 nam  
5270">57401/a>}.<9 href97drivers/acpi/sbs.c#6331" icopy_f72" class="lidirm  
6329">62091/a>  lass="lidir->brs/acpi/sbs.c#6307" id 
6317" c9a        9" nam  
5271">57811/a>.<9 href97drivers/acpi/sbs.c#5.c#5271" id 
632/a>  unloc1nlass="lidirm  
6329">62091/a>  unloc1nlass="lidire=acp>statf1/a>  1a /a>.1lass="lidirm  
6329">62091/a>  lass="lidir->"sref">battery1/a>->1a t40" 9et-#37;i-9class="sref"filey1/a);.<9 href97drivers/acpi/////////>statf1/a>  1a /a>.1lass="lidirm  
6329">62091/a>  lass="lidir->_battery1/a>*.1a attery>irw" class="sref"=ac"sref">battery1/a>->1a t40" 9easst" cl9 nam  
5273">57231/a.{.<9 href97drivers/acpi/rs/acpi/sbs.c#6398" id 
6399" c9ary6 clas9ss="sref"inmod11/a>>);.<9 href97drive#endifrs/acpi/sbs.c#5226" id 
5276" 9nry" clas9 nam  
5275">52751/a>}.<9 href97drivers/acpi/sbs.c#6398" id 
6399" c9lass="lin9" nam  
5276">57861/a;.<9 href97drivers/acpi/sbs.c#6305" id 
6305" 9nquoass="9ass="sref">offset1/a>}.<9 href97drive#ifdefi_battery_reat>sCONFIG_PM_SLEEP"+code=battery"CONFIG_PM_SLEEPrivers/acpi/sbs.c#6305" id 
6305" 9nas6="lin9 nam  
5278">57681/a.{.<9 href97drivers/acpi/sbs.c#52232" id 5272" cs1/ihrsu/a href="+code=ab/a>.1s1/ihrsu/ae=acpi_battery_reat>a.1a hrdevic="+codePDE_DATAydevic=ref""uct.1a href="+codev"+codePDE_DATAydev"sreg1/a>.1a href="+code=battery" c9vtate" cl9ss="sref"privtatt1/a);.<9 href98drivers/acpi/sbs.c#6307" id 
6317" c9+code=abs9 class="sref"sab11/a);.<9 href98drivers/acpi/sbs.c#6398" id 
6319" class="line" nam  
6319">61791/a>       (struct.1a href="+code=acpisabs" clas"sref">battery1/a>->1a t40" 9odertate"9class="sref"rtatt1/a);.<9 href98drivers/acpi/sbs.c#6324" id 
6324dev"+codePDE_DATAydev"sreg1/a>.1a href="+code=battery" c9vt-#37;i-9" nam  
5282">58821/a}.<9 href98drivers/acpi/////////sbs.c#6-c#5271" id 
632EINVAery>irw" class="EINVAe"sre"sref">battery1/a>->1a t40" 9l  6  -#39lass="sref"lockf1/a));.<9 href98drivers/acpi/c#5271" id 
632ref="+code=acpisabs" class="sref">acpisab11to_72" cdevic="+codePDE_DATAyto_72" cdevic=e=acp>statf1/a>  1a dev"+codePDE_DATAydev"sregmutex_unlockf1/a>;&ad.c#63_data"+codePDE_DATAyd.c#63_datae=ac"sref">battery1/a>->1a t40" 9lry6 clas9#37;s\n&quogt/1/spav>>.<9 href98drivers/acpi/f"single_openf1/a>.1 cl_callba 1a href="+code=aclass cl_callba 171/apattery1/a>*.1a hf="+code=battery" class=ref"PDE_DATAf1/a>.1a href="+code9lry" clas9uogtno&quogt/1/spav>);.<9 href98drivers/acpi/sbs.c#6aa>        return 1a href=6240" 9lass="lin9ss="sref"preseuny1/a);.<9 href98drivers/acpi/sbs.c#6398" id 
6399" c9+quoass="9 class="sref"eand1/a>).<9 href98drive#endifrs/acpi/sbs.c#5226" id 
5276" 9lss="line9" nam  
5288">58381/a;.<9 href98drivesref">battery1/a>->1a t40" 9tery" cla9s="sref">battery1/a>>).<9 href99drivers/acpiattery1/a>*.1a SIMPLE_DEV_PM_OPS href="+code=abSIMPLE_DEV_PM_OPSe=acp>statf1/a>  1a /a>.1 cl_pam  
6329">62091/a>.1 cl_paref"pi_battery_reat>sattery>irw" class="sref"=acsbattery1/a>*.1a 72" cs1/ihrsu/a href="+code=ab/a>.1s1/ihrsu/ae=acref"PDE_DATAf1/a>.1a href="+code9         9#37;s\n&quogt/1/spav>>.<9 href99drivef"PDE_DATAf1/a>.1a href="+code9 dertate"9uogtok&quogt/1/spav>);.<9 href99drivers/acpii_battery_reat>a.1a hr72" cd1/a>."+codePDE_DATAy72" cd.c#63riverattery1/a>*.1a 72" cs1/id1/a>."+codePDE_DATAy72" cs1/id1/a>.class="rs/acpi/sbs.c#6307" id 
6317" c9         9#37;s\n&quogt/1/spav>>.<9 href99drivers/acpi/.313" id 
ef="+c21/a href="+code=ab21/ae=ac;_baref"seq_pr inof1/a>.1a hreebs, ;1spav class=(sting">&quogt_charing >stat:9   6  -#39haring&quogt/1/spav :>.<9 href99drivers/acpi/.313" id 
ef="+cng&qu href="+code=abref="class="sref">acpisab11ACPI_SBS_CLASS href="+code=abACPI_SBS_CLASS"sres=(sting">&quogt_charing >stat:9 ry6 clas9hared&quogt/1/spav>>);.<9 href99drivers/acpi/.313" id 
ef="+cidu href="+code=abiduclass="sref">acpisab11s1/idevic=_idu href="+code=abs1/idevic=_idu"sres=(sting">&quogt_charing >stat:9 ry" clas9s="sref">battery1/a>>).<9 href99drivers/acpi/.313" id 
ef="+cop="+code=battery"op=561/s="rs/acpi/sbs.c#6307" id 
6317" c9 ass="lin9ref"voltage_nnot1/a>*).<9 href99drivers/acpi/sbs.c#63.313" id 
ef="+cadf"line" nam  
527ddclass="sref">acpisab1172" cs1/iadfa href="+code=aclass cl_adfe=acs=(sting">&quogt_charing >stat:9 quoass="9>battery1/a>/1000):1);.<9 href99drivers/acpi/sbi/sbs..313" id 
ef="+chrmov="+codePDE_DATAyhrmov=e=acs="sref">acpisab1172" cs1/ihrmov="+codePDE_DATAy atic cl_hrmov=e=acs=(sting">&quogt_charing >stat:9 ss="line9class="sref"rtatt1/a>>.<9 href99drivers/acpi/sbs.c#63}s=(sting">&quogt_charing >stat:10ery" clas10ery"s="sref"rtatt1/a>>.<10ery>10errivers/acpi/.313" id 
ef="+cdrv"+codePDE_DATAydrv"sre.313" id 
ef="+cpam  
6329">62091paref"i_b    1a href="+codemu/a>.1 cl_pam  
6329">62091/a>.1 cl_paref"p
(sting">&quogt_charing >stat:10e1y" clas10e37;s\n&quogt/1/spav>>.<10e37>10edrivesef"PDE_DATAf1/a>.1a href="+code10e2y" clas10eogtok&quogt/1/spav>);.<10eog>10edrivebs.c#6307" id 
6327" clas_ nam10e3y" clas10e37;s\n&quogt/1/spav>>.<10e37>10edrivers/acpi/sbs.c#52232" id 52__iniode=battery" cla__inio71/a"sref">acpisab1172" cs1/iiniode=battery" cla72" cs1/iinioe=acp"sreg1/a>.1a href="+code=battery" c10e4y" clas10earing&quogt/1/spav :>.<10ear>10edrivers/acpi/sbs.c#6307" id 
6317" c10e5y" clas10eared&quogt/1/spav>>);.<10ear>10edrivers/acpi/sbs.c#5271" id 
6320" class="line" nam  
6320">62601/aa>        return 1a href=6240" 10e6y" clas10e="sref">battery1/a>>).<10e=">10e6rivebs.c#6307" id 
6327" clas_ nam10e7y" clas10eef"voltage_nnot1/a>*).<10eef>10edrivers/acpi/sbs.c#6331" icopy_fic indisablef"line" nam  
52ic indisablef"sreg1/a>.1a href="+code=battery" c10e8y" clas10ebattery1/a>/1000):1);.<10eba>10edrivers/acpi/sbi/sbs.sbs.c#6-c#5271" id 
632ENODEVry>irw" class="ENODEVe=ac"sref">battery1/a>->1a t40" 10e9y" clas10elass="sref"rtatt1/a>>.<10ela>10e9rive#ifdefi_battery_reat>sCONFIG_ACPI_PROCFS_POWER"+code=battery"CONFIG_ACPI_PROCFS_POWERrivers/acpi/sbs.c#52232" id 6class101ry" clas10 nam  
6309">60891/a>}.<10 na>10 nrivers/acpi/f"single_openf1/a>.1ac_dirm  
6329">62091/a>  ac_dir->_battery1/a>*.1a /a>  loc1nac_dirm  
6329">62091/a>  loc1nac_dire=acpref"PDE_DATAf1/a>.1a href="+code10 1y" clas10" nam  
6310">61201/a>.<10" n>10 drivers/acpi/sbs.c#6324" id 
6324/a>.1ac_dirm  
6329">62091/a>  ac_dir->f"PDE_DATAf1/a>.1a href="+code10 2y" clas10class="sref"filey1/a);.<10cla>10 drivers/acpi/sbs.c#63sbs.c#6-c#5271" id 
632ENODEVry>irw" class="ENODEVe=ac"sref">battery1/a>->1a t40" 1013y" clas10 nam  
6312">61271/a.{.<10 na>10 drivers/acpi/sbs.c#5256" id /a>.1lass="lidirm  
6329">62091/a>  lass="lidir->_battery1/a>*.1a /a>  loc1nlass="lidirm  
6329">62091/a>  loc1nlass="lidire=acpref"PDE_DATAf1/a>.1a href="+code10 4y" clas10ss="sref"inmod11/a>>);.<10ss=>10 4rivers/acpi/sbs.c#6324" id 
6324/a>.1lass="lidirm  
6329">62091/a>  lass="lidir->brs/acpi/sbs.c#6307" id 
6317" c10 5y" clas10 nam  
6314">61741/a>}.<10 na>10 drivers/acpi/sbs.c#63c#6331" icopy_f72" c cl_rmdir11">61811/a>static in91/irmdir1e=acpref"PDE_DATAf1/a>.1a href="+code10 6y" clas10" nam  
6315">61651/a}.<10" n>10 .c#63c#6331" icopy_f7sbs.c#6-c#5271" id 
632ENODEVry>irw" class="ENODEVe=ac"sref">battery1/a>->1a t40" 101399" c9lasss=  
6315">61651/ive="+code10 6y" clasref">batte00" 101399" c9lasss=  
6315">61651/ive="+code10 6y" clasref">batte00" 101399" c9lasss=  
6315">61651/ive="A3ess=  315"s="line9" nam  
5288">58381/a;.<9 href98d15"rive#ifdef/sbs.c#5319" id tex_unloef/sb315"ef="+code=abmutex_desbsoa71/  1a /a>.1mana>&r_ hreef=""line" nam  
5272" cmana>&r__unlocky" clas/acpi/sbs.c#6307" id 
631_unlocky" clas/acpi"sref"mutex_unlockf1/a>;&.class="rs/acpi/sbs.c#6307" id 
6317" c9         0" nam  
6315">61651/a}.<10" n>10 2rivers/acp/sbs.c#6330" id rtrcpa hcp/sb>cp/s"line" nam  
52ic indisablef"sr  1a /a>.1mana>&r_ hreef=""line"y"MAX010 nam  
6314">61741/a>}.<10 na>10 2rivers/acp/sbs.c#6330" id rtrcpa hcp/sb>cp/pplliunhrgistattery" clabuffcopower_1e=acpref"PDE_DATAf1/a>.1a href="+code10 6y" clas10" nam  
6315">61651/a}.<10" n>10 2rivers/acp/sbs.c#5222" id devic="+cp/sb>cp/ENODEVry>irw" class="ENODEVe=ac"sref">battery1/a>->1a t40" 1013y" clas10 nam  
6312">61271/a.{.<10 na>10 2rivers/acpsbs.c#6398" id 
6399" c9cpsbs>cp/8l  6  -#38lass="sref"lockf1/a));.<8 href884cp/rivers/acp/c#5271" id 
6320" classcp/c#>cp/lidirm  
6329="lin9ss="sref"preseuny1/a);.<9 href98dcp/rivers/acp/sbs.c#6331" icopy_f0" ccp/sb>cp/5"9 class="sref"eand1/a>).<9 href98dcp/c#63c#6331/sbs.c#6326" id 
6326" c31/sb>cp/as10eef"voltage_nnot1/a>*).<10eef>10e2 clasref">/sbs.c#6305" id 
6305" 9">/sb>cp/7ry" cla__ina>static in91/irmdir__ex2" cs1/iiniode=battex2" cla72" cs1/iinioe=acp"sreg1/ex2" cs1/iiniode=bacp"sreg1/ex2"y" clas10earing&quogt/1/spav :>.<10ear>10e29" c9lasss/sbs.c#5268" id 0" classss/sb>cp/8as10eared&quogt/1/spav>>);.<10ear>10e2rive#ifdef/sbs.c#6324" id 
63240" ef/sb>cp/ef="+code=abmutex_desbsoa71/ 
631_unlnlocky" clas/acpi/sbs.c#6307" id 
631_unlnlocky" clas/acpi"sref"mutex_unlockf1/a>;&.class="rs/acpi/sbs.c#6307" id 
6317" c9         0" nam  
6315">61651/a}.<10" n>10 3rivers/acp"rs/acpi/c#6331" icopy_fcp"rs>cp"ra href="+code=aclass cl_callba 171/a"PDE_DATAf1/a>.1a href="+code10 6y" clas10" nam  
6315">61651/a}.<10" n>10 3rivers/acp/sbs.c#63fors.c#6331" iccp/sb>cp"f=6240" 9         9" nam  
6315">61651/a}.<10" n>10 3rivers/acp/sbs.c#52/sbs.c#5sbs..c#cp/sb>cp"i-9f">erial_numberf1/a));.<9 href96dcp"rivers/acp/////////rs
5327"rs/acpicp///>cp"l9#37;s\n&quogt/1/spav>;.<9 href96dcp"rivers/acp/s/sbs.f"PDE_DATAf1/a>.1cp/s/>cp"lidire=aclass cl_calmoduleef="+codemutex_unlockoduleef="+91/a>.1 cl_paref"pi_battery_ra>.1a href="+code=battery" c10e4y" c0" nam  
6315">61651/a}.<10" n>10 3rivers/acp/sbs.c#63c#6331" icopy_fcp/sb>cp"5idire=aclass cl_calmoduleeex2" cs1/iiniode=bamoduleeex2"91/a>.1 cl_paref"pi_battery_rex2" cs1/iiniode=bacp"sreg1/ex2"y" c0" nam  
6315">61651/a}.<10" n>10 3c#63c#6331/sbs.c#5256" id ">6179m>31/sb>cp"as10e63833f6/div>


6/div>

  >
The original LXR software by the nam  
631http://sourceforge.net383o 
63s/lx  >LXR commu0e4ycode=athis experimental 6165ion by nam  
631mailto:lx @" iux.no">lx @" iux.no_b   
6/div>
  >
lx ." iux.no kindly ho" cd by nam  
631http://www.redpillet: 83o.no">Redpill L: 83o Aclabuff83ovider of L: ux    f=""ing and opTTERions ser ry"s since 1995.
6/div>