linux/drivers/power/bq2415x_charger.c
<<
" /spaon> /formn> a " href="../linux+v3.9.5/drivers/power/bq2415x_charger.c">" img src="../.static/gfx/right.png" alt=">>">" /spaon>" spao class="lxr_search">" " input typvalhidden" namvalnavtarget" .on val">" input typvaltext" namvalsearch" idalsearch">" buttpo3typvalsubmit">Search /formn> /spaon>" spao class="lxr_prefs"n> a href="+prefs?return=drivers/power/bq2415x_charger.c"" onclick="return ajax_prefs();">" Prefs> /a>" /spaon> /divn> form acio2o="ajax+*" method="post" onsubmit="return false;">" input typvalhidden" namvalajax_lookup" idalajax_lookup" .on val">" /formn>" div class="headingbottpm"> div idalsearch_results" class="search_results"> n> /divn> div idalcontent">> div idalfile_contents"n
   1 /a> spao class="comment">/* /spaon>   2 /a> spao class="comment"> * bq2415x charger driver /spaon>   3 /a> spao class="comment"> * /spaon>   4 /a> spao class="comment"> * Copyright (C) 2011-2012
 Pali Rohár <pali.rohar@gmail.com> /spaon>   5 /a> spao class="comment"> * /spaon>   6 /a> spao class="comment"> * This program is free software; you cao redistribute it and/or modify /spaon>   7 /a> spao class="comment"> * it under the terms of the GNU General Public License as published by /spaon>   8 /a> spao class="comment"> * the Free Software Foundaio2o; either vers6po32 of the License, or /spaon>   9 /a> spao class="comment"> * (at your o3io2o) any later vers6po. /spaon>  4.4.a> spao class="comment"> * /spaon>  11 /a> spao class="comment"> * This program is distributed in the hope that it will be useful, /spaon>  12 /a> spao class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of /spaon>  13 /a> spao class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the /spaon>  14 /a> spao class="comment"> * GNU General Public License for more details. /spaon>  15 /a> spao class="comment"> * /spaon>  16 /a> spao class="comment"> * You should have received a copy of the GNU General Public License along /spaon>  17 /a> spao class="comment"> * with this program; if not, write to the Free Software Foundaio2o, Inc., /spaon>  18 /a> spao class="comment"> * 51 Franklin Street, Fifth Floor, Bost2o, MA 02110-1301 USA. /spaon>  19 /a> spao class="comment"> */ /spaon>  2.4.a>>  21 /a> spao class="comment">/* /spaon>  22 /a> spao class="comment"> * Datasheets: /spaon>  23 /a> spao class="comment"> * http://www.ti.com/product/bq24150 /spaon>  24 /a> spao class="comment"> * http://www.ti.com/product/bq24150a /spaon>  25 /a> spao class="comment"> * http://www.ti.com/product/bq24152 /spaon>  26 /a> spao class="comment"> * http://www.ti.com/product/bq24153 /spaon>  27 /a> spao class="comment"> * http://www.ti.com/product/bq24153a /spaon>  28 /a> spao class="comment"> * http://www.ti.com/product/bq24155 /spaon>  29 /a> spao class="comment"> */ /spaon>  3.4.a>>  31 /a>#include <linux/kernel.h /a>>>  32 /a>#include <linux/module.h /a>>>  33 /a>#include <linux/param.h /a>>>  34 /a>#include <linux/err.h /a>>>  35 /a>#include <linux/workqueue.h /a>>>  36 /a>#include <linux/sysfs.h /a>>>  37 /a>#include <linux/platform_device.h /a>>>  38 /a>#include <linux/power_supply.h /a>>>  39 /a>#include <linux/idr.h /a>>>  40 /a>#include <linux/i2c.h /a>>>  41 /a>#include <linux/slab.h /a>>>  424.a>>  43 /a>#include <linux/power/bq2415x_charger.h /a>>>  444.a>>  45 /a> spao class="comment">/* timeout for resetting chip timer */ /spaon>  46 /a>#define  a href="+code=BQ2415X_TIMER_TIMEOUT" class="sref">BQ2415X_TIMER_TIMEOUT /a>           10>  474.a>>  48 /a>#define  a href="+code=BQ2415X_REG_STATUS" class="sref">BQ2415X_REG_STATUS /a>              0x00>  49 /a>#define  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>             0x01>  50 /a>#define  a href="+code=BQ2415X_REG_VOLTAGE" class="sref">BQ2415X_REG_VOLTAGE /a>             0x02>  51 /a>#define  a href="+code=BQ2415X_REG_VENDER" class="sref">BQ2415X_REG_VENDER /a>              0x03>  52 /a>#define  a href="+code=BQ2415X_REG_CURRENT" class="sref">BQ2415X_REG_CURRENT /a>             0x04>  534.a>>  54 /a> spao class="comment">/* reset state for all registers */ /spaon>  55 /a>#define  a href="+code=BQ2415X_RESET_STATUS" class="sref">BQ2415X_RESET_STATUS /a>             a href="+code=BIT" class="sref">BIT /a>(6)>  56 /a>#define  a href="+code=BQ2415X_RESET_CONTROL" class="sref">BQ2415X_RESET_CONTROL /a>           ( a href="+code=BIT" class="sref">BIT /a>(4)| a href="+code=BIT" class="sref">BIT /a>(5))>  57 /a>#define  a href="+code=BQ2415X_RESET_VOLTAGE" class="sref">BQ2415X_RESET_VOLTAGE /a>           ( a href="+code=BIT" class="sref">BIT /a>(1)| a href="+code=BIT" class="sref">BIT /a>(3))>  58 /a>#define  a href="+code=BQ2415X_RESET_CURRENT" class="sref">BQ2415X_RESET_CURRENT /a>           ( a href="+code=BIT" class="sref">BIT /a>(0)| a href="+code=BIT" class="sref">BIT /a>(3)| a href="+code=BIT" class="sref">BIT /a>(7))>  594.a>>  6.4.a> spao class="comment">/* status register */ /spaon>  61 /a>#define  a href="+code=BQ2415X_BIT_TMR_RST" class="sref">BQ2415X_BIT_TMR_RST /a>             7>  62 /a>#define  a href="+code=BQ2415X_BIT_OTG" class="sref">BQ2415X_BIT_OTG /a>                 7>  63 /a>#define  a href="+code=BQ2415X_BIT_EN_STAT" class="sref">BQ2415X_BIT_EN_STAT /a>             6>  64 /a>#define  a href="+code=BQ2415X_MASK_STAT" class="sref">BQ2415X_MASK_STAT /a>               ( a href="+code=BIT" class="sref">BIT /a>(4)| a href="+code=BIT" class="sref">BIT /a>(5))>  65 /a>#define  a href="+code=BQ2415X_SHIFT_STAT" class="sref">BQ2415X_SHIFT_STAT /a>              4>  66 /a>#define  a href="+code=BQ2415X_BIT_BOOST" class="sref">BQ2415X_BIT_BOOST /a>               3>  67 /a>#define  a href="+code=BQ2415X_MASK_FAULT" class="sref">BQ2415X_MASK_FAULT /a>              ( a href="+code=BIT" class="sref">BIT /a>(0)| a href="+code=BIT" class="sref">BIT /a>(1)| a href="+code=BIT" class="sref">BIT /a>(2))>  68 /a>#define  a href="+code=BQ2415X_SHIFT_FAULT" class="sref">BQ2415X_SHIFT_FAULT /a>             0>  694.a>>  7.4.a> spao class="comment">/* control register */ /spaon>  71 /a>#define  a href="+code=BQ2415X_MASK_LIMIT" class="sref">BQ2415X_MASK_LIMIT /a>              ( a href="+code=BIT" class="sref">BIT /a>(6)| a href="+code=BIT" class="sref">BIT /a>(7))>  72 /a>#define  a href="+code=BQ2415X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIMIT /a>             6>  73 /a>#define  a href="+code=BQ2415X_MASK_VLOWV" class="sref">BQ2415X_MASK_VLOWV /a>              ( a href="+code=BIT" class="sref">BIT /a>(4)| a href="+code=BIT" class="sref">BIT /a>(5))>  74 /a>#define  a href="+code=BQ2415X_SHIFT_VLOWV" class="sref">BQ2415X_SHIFT_VLOWV /a>             4>  75 /a>#define  a href="+code=BQ2415X_BIT_TE" class="sref">BQ2415X_BIT_TE /a>                  3>  76 /a>#define  a href="+code=BQ2415X_BIT_CE" class="sref">BQ2415X_BIT_CE /a>                  2>  77 /a>#define  a href="+code=BQ2415X_BIT_HZ_MODE" class="sref">BQ2415X_BIT_HZ_MODE /a>             1>  78 /a>#define  a href="+code=BQ2415X_BIT_OPA_MODE" class="sref">BQ2415X_BIT_OPA_MODE /a>            0>  794.a>>  8.4.a> spao class="comment">/* voltage register */ /spaon>  81 /a>#define  a href="+code=BQ2415X_MASK_VO" class="sref">BQ2415X_MASK_VO /a>         ( a href="+code=BIT" class="sref">BIT /a>(2)| a href="+code=BIT" class="sref">BIT /a>(3)| a href="+code=BIT" class="sref">BIT /a>(4)| a href="+code=BIT" class="sref">BIT /a>(5)| a href="+code=BIT" class="sref">BIT /a>(6)| a href="+code=BIT" class="sref">BIT /a>(7))>  82 /a>#define  a href="+code=BQ2415X_SHIFT_VO" class="sref">BQ2415X_SHIFT_VO /a>                2>  83 /a>#define  a href="+code=BQ2415X_BIT_OTG_PL" class="sref">BQ2415X_BIT_OTG_PL /a>              1>  84 /a>#define  a href="+code=BQ2415X_BIT_OTG_EN" class="sref">BQ2415X_BIT_OTG_EN /a>              0>  854.a>>  86 /a> spao class="comment">/* vender register */ /spaon>  87 /a>#define  a href="+code=BQ2415X_MASK_VENDER" class="sref">BQ2415X_MASK_VENDER /a>             ( a href="+code=BIT" class="sref">BIT /a>(5)| a href="+code=BIT" class="sref">BIT /a>(6)| a href="+code=BIT" class="sref">BIT /a>(7))>  88 /a>#define  a href="+code=BQ2415X_SHIFT_VENDER" class="sref">BQ2415X_SHIFT_VENDER /a>            5>  89 /a>#define  a href="+code=BQ2415X_MASK_PN" class="sref">BQ2415X_MASK_PN /a>                 ( a href="+code=BIT" class="sref">BIT /a>(3)| a href="+code=BIT" class="sref">BIT /a>(4))>  90 /a>#define  a href="+code=BQ2415X_SHIFT_PN" class="sref">BQ2415X_SHIFT_PN /a>                3>  91 /a>#define  a href="+code=BQ2415X_MASK_REVISION" class="sref">BQ2415X_MASK_REVISION /a>           ( a href="+code=BIT" class="sref">BIT /a>(0)| a href="+code=BIT" class="sref">BIT /a>(1)| a href="+code=BIT" class="sref">BIT /a>(2))>  92 /a>#define  a href="+code=BQ2415X_SHIFT_REVISION" class="sref">BQ2415X_SHIFT_REVISION /a>          0>  934.a>>  94 /a> spao class="comment">/* current register */ /spaon>  95 /a>#define  a href="+code=BQ2415X_MASK_RESET" class="sref">BQ2415X_MASK_RESET /a>               a href="+code=BIT" class="sref">BIT /a>(7)>  96 /a>#define  a href="+code=BQ2415X_MASK_VI_CHRG" class="sref">BQ2415X_MASK_VI_CHRG /a>            ( a href="+code=BIT" class="sref">BIT /a>(4)| a href="+code=BIT" class="sref">BIT /a>(5)| a href="+code=BIT" class="sref">BIT /a>(6))>  97 /a>#define  a href="+code=BQ2415X_SHIFT_VI_CHRG" class="sref">BQ2415X_SHIFT_VI_CHRG /a>           4>  98 /a> spao class="comment">/* N/A                                  BIT(3) */ /spaon>  99 /a>#define  a href="+code=BQ2415X_MASK_VI_TERM" class="sref">BQ2415X_MASK_VI_TERM /a>            ( a href="+code=BIT" class="sref">BIT /a>(0)| a href="+code=BIT" class="sref">BIT /a>(1)| a href="+code=BIT" class="sref">BIT /a>(2))> 100 /a>#define  a href="+code=BQ2415X_SHIFT_VI_TERM" class="sref">BQ2415X_SHIFT_VI_TERM /a>           0> 1014.a>> 1024.a>> 1034.a>enum  a href="+code=bq2415x_command" class="sref">bq2415x_command /a> {> 104 /a>         a href="+code=BQ2415X_TIMER_RESET" class="sref">BQ2415X_TIMER_RESET /a>,> 105 /a>         a href="+code=BQ2415X_OTG_STATUS" class="sref">BQ2415X_OTG_STATUS /a>,> 106 /a>         a href="+code=BQ2415X_STAT_PIN_STATUS" class="sref">BQ2415X_STAT_PIN_STATUS /a>,> 107 /a>         a href="+code=BQ2415X_STAT_PIN_ENABLE" class="sref">BQ2415X_STAT_PIN_ENABLE /a>,> 108 /a>         a href="+code=BQ2415X_STAT_PIN_DISABLE" class="sref">BQ2415X_STAT_PIN_DISABLE /a>,> 109 /a>         a href="+code=BQ2415X_CHARGE_STATUS" class="sref">BQ2415X_CHARGE_STATUS /a>,> 14.4.a>         a href="+code=BQ2415X_BOOST_STATUS" class="sref">BQ2415X_BOOST_STATUS /a>,> 111 /a>         a href="+code=BQ2415X_FAULT_STATUS" class="sref">BQ2415X_FAULT_STATUS /a>,> 1124.a>> 113 /a>         a href="+code=BQ2415X_CHARGE_TERMINATION_STATUS" class="sref">BQ2415X_CHARGE_TERMINATION_STATUS /a>,> 114 /a>         a href="+code=BQ2415X_CHARGE_TERMINATION_ENABLE" class="sref">BQ2415X_CHARGE_TERMINATION_ENABLE /a>,> 115 /a>         a href="+code=BQ2415X_CHARGE_TERMINATION_DISABLE" class="sref">BQ2415X_CHARGE_TERMINATION_DISABLE /a>,> 116 /a>         a href="+code=BQ2415X_CHARGER_STATUS" class="sref">BQ2415X_CHARGER_STATUS /a>,> 117 /a>         a href="+code=BQ2415X_CHARGER_ENABLE" class="sref">BQ2415X_CHARGER_ENABLE /a>,> 118 /a>         a href="+code=BQ2415X_CHARGER_DISABLE" class="sref">BQ2415X_CHARGER_DISABLE /a>,> 119 /a>         a href="+code=BQ2415X_HIGH_IMPEDANCE_STATUS" class="sref">BQ2415X_HIGH_IMPEDANCE_STATUS /a>,> 12.4.a>         a href="+code=BQ2415X_HIGH_IMPEDANCE_ENABLE" class="sref">BQ2415X_HIGH_IMPEDANCE_ENABLE /a>,> 121 /a>         a href="+code=BQ2415X_HIGH_IMPEDANCE_DISABLE" class="sref">BQ2415X_HIGH_IMPEDANCE_DISABLE /a>,> 122 /a>         a href="+code=BQ2415X_BOOST_MODE_STATUS" class="sref">BQ2415X_BOOST_MODE_STATUS /a>,> 123 /a>         a href="+code=BQ2415X_BOOST_MODE_ENABLE" class="sref">BQ2415X_BOOST_MODE_ENABLE /a>,> 124 /a>         a href="+code=BQ2415X_BOOST_MODE_DISABLE" class="sref">BQ2415X_BOOST_MODE_DISABLE /a>,> 1254.a>> 126 /a>         a href="+code=BQ2415X_OTG_LEVEL" class="sref">BQ2415X_OTG_LEVEL /a>,> 127 /a>         a href="+code=BQ2415X_OTG_ACTIVATE_HIGH" class="sref">BQ2415X_OTG_ACTIVATE_HIGH /a>,> 128 /a>         a href="+code=BQ2415X_OTG_ACTIVATE_LOW" class="sref">BQ2415X_OTG_ACTIVATE_LOW /a>,> 129 /a>         a href="+code=BQ2415X_OTG_PIN_STATUS" class="sref">BQ2415X_OTG_PIN_STATUS /a>,> 13.4.a>         a href="+code=BQ2415X_OTG_PIN_ENABLE" class="sref">BQ2415X_OTG_PIN_ENABLE /a>,> 131 /a>         a href="+code=BQ2415X_OTG_PIN_DISABLE" class="sref">BQ2415X_OTG_PIN_DISABLE /a>,> 1324.a>> 133 /a>         a href="+code=BQ2415X_VENDER_CODE" class="sref">BQ2415X_VENDER_CODE /a>,> 134 /a>         a href="+code=BQ2415X_PART_NUMBER" class="sref">BQ2415X_PART_NUMBER /a>,> 135 /a>         a href="+code=BQ2415X_REVISION" class="sref">BQ2415X_REVISION /a>,> 136 /a>};> 1374.a>> 138 /a>enum  a href="+code=bq2415x_chip" class="sref">bq2415x_chip /a> {> 139 /a>         a href="+code=BQUNKNOWN" class="sref">BQUNKNOWN /a>,> 14.4.a>         a href="+code=BQ24150" class="sref">BQ24150 /a>,> 141 /a>         a href="+code=BQ24150A" class="sref">BQ24150A /a>,> 142 /a>         a href="+code=BQ24151" class="sref">BQ24151 /a>,> 143 /a>         a href="+code=BQ24151A" class="sref">BQ24151A /a>,> 144 /a>         a href="+code=BQ24152" class="sref">BQ24152 /a>,> 145 /a>         a href="+code=BQ24153" class="sref">BQ24153 /a>,> 146 /a>         a href="+code=BQ24153A" class="sref">BQ24153A /a>,> 147 /a>         a href="+code=BQ24155" class="sref">BQ24155 /a>,> 148 /a>         a href="+code=BQ24156" class="sref">BQ24156 /a>,> 149 /a>         a href="+code=BQ24156A" class="sref">BQ24156A /a>,> 150 /a>         a href="+code=BQ24158" class="sref">BQ24158 /a>,> 151 /a>};> 152 /a>> 153 /a>static char * a href="+code=bq2415x_chip_namv" class="sref">bq2415x_chip_namv /a>[] = {> 154 /a>         spao class="string">"unknown" /spaon,> 155 /a>         spao class="string">"bq24150" /spaon,> 156 /a>         spao class="string">"bq24150a" /spaon,> 157 /a>         spao class="string">"bq24151" /spaon,> 158 /a>         spao class="string">"bq24151a" /spaon,> 159 /a>         spao class="string">"bq24152" /spaon,> 160 /a>         spao class="string">"bq24153" /spaon,> 161 /a>         spao class="string">"bq24153a" /spaon,> 162 /a>         spao class="string">"bq24155" /spaon,> 163 /a>         spao class="string">"bq24156" /spaon,> 164 /a>         spao class="string">"bq24156a" /spaon,> 165 /a>         spao class="string">"bq24158" /spaon,> 166 /a>};> 1674.a>> 168 /a>struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> {> 169 /a>        struct  a href="+code=device" class="sref">device /a> * a href="+code=dev" class="sref">dev /a>;> 170 /a>        struct  a href="+code=bq2415x_platform_data" class="sref">bq2415x_platform_data /a>  a href="+code=init_data" class="sref">init_data /a>;> 171 /a>        struct  a href="+code=power_supply" class="sref">power_supply /a>  a href="+code=charger" class="sref">charger /a>;> 172 /a>        struct  a href="+code=delayed_work" class="sref">delayed_work /a>  a href="+code=work" class="sref">work /a>;> 173 /a>        enum  a href="+code=bq2415x_mode" class="sref">bq2415x_mode /a>  a href="+code=reported_mode" class="sref">reported_mode /a>; spao class="comment">/* mode reported by hook funcio2o */ /spaon> 174 /a>        enum  a href="+code=bq2415x_mode" class="sref">bq2415x_mode /a>  a href="+code=mode" class="sref">mode /a>;          spao class="comment">/* current configured mode */ /spaon> 175 /a>        enum  a href="+code=bq2415x_chip" class="sref">bq2415x_chip /a>  a href="+code=chip" class="sref">chip /a>;> 176 /a>        const char * a href="+code=timer_error" class="sref">timer_error /a>;> 177 /a>        char * a href="+code=model" class="sref">model /a>;> 178 /a>        char * a href="+code=namv" class="sref">namv /a>;> 179 /a>        int  a href="+code=autotimer" class="sref">autotimer /a>;   spao class="comment">/* 1 - if driver automatically reset timer, 0 - not */ /spaon> 180 /a>        int  a href="+code=automode" class="sref">automode /a>;    spao class="comment">/* 1 - enabled, 0 - disabled; -1 - not supported */ /spaon> 181 /a>        int  a href="+code=id" class="sref">id /a>;> 182 /a>};> 1834.a>> 184 /a> spao class="comment">/* each registered chip must have unique id */ /spaon> 1854.a>static  a href="+code=DEFINE_IDR" class="sref">DEFINE_IDR4.a>( a href="+code=bq2415x_id" class="sref">bq2415x_id4.a>);> 186 /a>> 187 /a>static  a href="+code=DEFINE_MUTEX" class="sref">DEFINE_MUTEX4.a>( a href="+code=bq2415x_id_mutex" class="sref">bq2415x_id_mutex4.a>);> 188 /a>static  a href="+code=DEFINE_MUTEX" class="sref">DEFINE_MUTEX4.a>( a href="+code=bq2415x_timer_mutex" class="sref">bq2415x_timer_mutex4.a>);> 189 /a>static  a href="+code=DEFINE_MUTEX" class="sref">DEFINE_MUTEX4.a>( a href="+code=bq2415x_i2c_mutex" class="sref">bq2415x_i2c_mutex4.a>);> 19.4.a>> 191 /a> spao class="comment">/**** i2c read funcio2os ****/ /spaon> 192 /a>> 193 /a> spao class="comment">/* read value from register */ /spaon> 194 /a>static int  a href="+code=bq2415x_i2c_read" class="sref">bq2415x_i2c_read4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=reg" class="sref">reg4.a>)> 195 /a>{> 196 /a>        struct  a href="+code=i2c_client" class="sref">i2c_client /a> * a href="+code=client" class="sref">client /a> =  a href="+code=to_i2c_client" class="sref">to_i2c_client4.a>( a href="+code=bq" class="sref">bq /a>-> a href="+code=dev" class="sref">dev /a>);> 197 /a>        struct  a href="+code=i2c_msg" class="sref">i2c_msg /a>  a href="+code=msg" class="sref">msg /a>[2];> 198 /a>         a href="+code=u8" class="sref">u8 /a>  a href="+code=val" class="sref">val /a>;> 199 /a>        int  a href="+code=ret" class="sref">ret /a>;> 20.4.a>> 201 /a>        if (! a href="+code=client" class="sref">client /a>-> a href="+code=adapter" class="sref">adapter4.a>)> 202 /a>                return - a href="+code=ENODEV" class="sref">ENODEV /a>;> 2034.a>> 204 /a>         a href="+code=msg" class="sref">msg /a>[0]. a href="+code=addr" class="sref">addr /a> =  a href="+code=client" class="sref">client /a>-> a href="+code=addr" class="sref">addr /a>;> 205 /a>         a href="+code=msg" class="sref">msg /a>[0]. a href="+code=flags" class="sref">flags /a> = 0;> 206 /a>         a href="+code=msg" class="sref">msg /a>[0]. a href="+code=buf" class="sref">buf /a> = & a href="+code=reg" class="sref">reg4.a>;> 207 /a>         a href="+code=msg" class="sref">msg /a>[0]. a href="+code=len" class="sref">len /a> = sizeof( a href="+code=reg" class="sref">reg4.a>);> 208 /a>         a href="+code=msg" class="sref">msg /a>[1]. a href="+code=addr" class="sref">addr /a> =  a href="+code=client" class="sref">client /a>-> a href="+code=addr" class="sref">addr /a>;> 209 /a>         a href="+code=msg" class="sref">msg /a>[1]. a href="+code=flags" class="sref">flags /a> =  a href="+code=I2C_M_RD" class="sref">I2C_M_RD /a>;> 24.4.a>         a href="+code=msg" class="sref">msg /a>[1]. a href="+code=buf" class="sref">buf /a> = & a href="+code=val" class="sref">val /a>;> 211 /a>         a href="+code=msg" class="sref">msg /a>[1]. a href="+code=len" class="sref">len /a> = sizeof( a href="+code=val" class="sref">val /a>);> 2124.a>> 213 /a>         a href="+code=mutex_lock" class="sref">mutex_lock4.a>(& a href="+code=bq2415x_i2c_mutex" class="sref">bq2415x_i2c_mutex4.a>);> 214 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=i2c_transfer" class="sref">i2c_transfer4.a>( a href="+code=client" class="sref">client /a>-> a href="+code=adapter" class="sref">adapter4.a>,  a href="+code=msg" class="sref">msg /a>,  a href="+code=ARRAY_SIZE" class="sref">ARRAY_SIZE4.a>( a href="+code=msg" class="sref">msg /a>));> 215 /a>         a href="+code=mutex_unlock" class="sref">mutex_unlock4.a>(& a href="+code=bq2415x_i2c_mutex" class="sref">bq2415x_i2c_mutex4.a>);> 216 /a>> 217 /a>        if ( a href="+code=ret" class="sref">ret /a> < 0)> 218 /a>                return  a href="+code=ret" class="sref">ret /a>;> 2194.a>> 22.4.a>        return  a href="+code=val" class="sref">val /a>;> 221 /a>}> 2224.a>> 223 /a> spao class="comment">/* read value from register, apply mask and right shift it */ /spaon> 224 /a>static int  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=reg" class="sref">reg4.a>,> 225 /a>                                  a href="+code=u8" class="sref">u8 /a>  a href="+code=mask" class="sref">mask4.a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=shift" class="sref">shift4.a>)> 226 /a>{> 227 /a>        int  a href="+code=ret" class="sref">ret /a>;> 228 /a>> 229 /a>        if ( a href="+code=shift" class="sref">shift4.a> > 8)> 23.4.a>                return - a href="+code=EINVAL" class="sref">EINVAL /a>;> 2314.a>> 232 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=bq2415x_i2c_read" class="sref">bq2415x_i2c_read4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=reg" class="sref">reg4.a>);> 233 /a>        if ( a href="+code=ret" class="sref">ret /a> < 0)> 234 /a>                return  a href="+code=ret" class="sref">ret /a>;> 235 /a>        return ( a href="+code=ret" class="sref">ret /a> &  a href="+code=mask" class="sref">mask4.a>) >>  a href="+code=shift" class="sref">shift4.a>;> 236 /a>}> 2374.a>> 238 /a> spao class="comment">/* read value from register and return one specified bit */ /spaon> 239 /a>static int  a href="+code=bq2415x_i2c_read_bit" class="sref">bq2415x_i2c_read_bit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=reg" class="sref">reg4.a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=bit" class="sref">bit4.a>)> 24.4.a>{> 241 /a>        if ( a href="+code=bit" class="sref">bit4.a> > 8)> 242 /a>                return - a href="+code=EINVAL" class="sref">EINVAL /a>;> 243 /a>        return  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=reg" class="sref">reg4.a>,  a href="+code=BIT" class="sref">BIT /a>( a href="+code=bit" class="sref">bit4.a>),  a href="+code=bit" class="sref">bit4.a>);> 244 /a>}> 2454.a>> 246 /a> spao class="comment">/**** i2c write funcio2os ****/ /spaon> 2474.a>> 248 /a> spao class="comment">/* write value to register */ /spaon> 249 /a>static int  a href="+code=bq2415x_i2c_write" class="sref">bq2415x_i2c_write4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=reg" class="sref">reg4.a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=val" class="sref">val /a>)> 25.4.a>{> 251 /a>        struct  a href="+code=i2c_client" class="sref">i2c_client /a> * a href="+code=client" class="sref">client /a> =  a href="+code=to_i2c_client" class="sref">to_i2c_client4.a>( a href="+code=bq" class="sref">bq /a>-> a href="+code=dev" class="sref">dev /a>);> 252 /a>        struct  a href="+code=i2c_msg" class="sref">i2c_msg /a>  a href="+code=msg" class="sref">msg /a>[1];> 253 /a>         a href="+code=u8" class="sref">u8 /a>  a href="+code=data" class="sref">data /a>[2];> 254 /a>        int  a href="+code=ret" class="sref">ret /a>;> 2554.a>> 256 /a>         a href="+code=data" class="sref">data /a>[0] =  a href="+code=reg" class="sref">reg4.a>;> 257 /a>         a href="+code=data" class="sref">data /a>[1] =  a href="+code=val" class="sref">val /a>;> 258 /a>> 259 /a>         a href="+code=msg" class="sref">msg /a>[0]. a href="+code=addr" class="sref">addr /a> =  a href="+code=client" class="sref">client /a>-> a href="+code=addr" class="sref">addr /a>;> 26.4.a>         a href="+code=msg" class="sref">msg /a>[0]. a href="+code=flags" class="sref">flags /a> = 0;> 261 /a>         a href="+code=msg" class="sref">msg /a>[0]. a href="+code=buf" class="sref">buf /a> =  a href="+code=data" class="sref">data /a>;> 262 /a>         a href="+code=msg" class="sref">msg /a>[0]. a href="+code=len" class="sref">len /a> =  a href="+code=ARRAY_SIZE" class="sref">ARRAY_SIZE4.a>( a href="+code=data" class="sref">data /a>);> 2634.a>> 264 /a>         a href="+code=mutex_lock" class="sref">mutex_lock4.a>(& a href="+code=bq2415x_i2c_mutex" class="sref">bq2415x_i2c_mutex4.a>);> 265 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=i2c_transfer" class="sref">i2c_transfer4.a>( a href="+code=client" class="sref">client /a>-> a href="+code=adapter" class="sref">adapter4.a>,  a href="+code=msg" class="sref">msg /a>,  a href="+code=ARRAY_SIZE" class="sref">ARRAY_SIZE4.a>( a href="+code=msg" class="sref">msg /a>));> 266 /a>         a href="+code=mutex_unlock" class="sref">mutex_unlock4.a>(& a href="+code=bq2415x_i2c_mutex" class="sref">bq2415x_i2c_mutex4.a>);> 2674.a>> 268 /a>         spao class="comment">/* i2c_transfer returns number of messages transferred */ /spaon> 269 /a>        if ( a href="+code=ret" class="sref">ret /a> < 0)> 27.4.a>                return  a href="+code=ret" class="sref">ret /a>;> 271 /a>        else if ( a href="+code=ret" class="sref">ret /a> != 1)> 272 /a>                return - a href="+code=EIO" class="sref">EIO /a>;> 2734.a>> 274 /a>        return 0;> 275 /a>}> 276 /a>> 277 /a> spao class="comment">/* read value from register, change it with mask left shifted and write back */ /spaon> 278 /a>static int  a href="+code=bq2415x_i2c_write_mask" class="sref">bq2415x_i2c_write_mask4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=reg" class="sref">reg4.a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=val" class="sref">val /a>,> 279 /a>                                   a href="+code=u8" class="sref">u8 /a>  a href="+code=mask" class="sref">mask4.a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=shift" class="sref">shift4.a>)> 28.4.a>{> 281 /a>        int  a href="+code=ret" class="sref">ret /a>;> 2824.a>> 283 /a>        if ( a href="+code=shift" class="sref">shift4.a> > 8)> 284 /a>                return - a href="+code=EINVAL" class="sref">EINVAL /a>;> 2854.a>> 286 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=bq2415x_i2c_read" class="sref">bq2415x_i2c_read4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=reg" class="sref">reg4.a>);> 287 /a>        if ( a href="+code=ret" class="sref">ret /a> < 0)> 288 /a>                return  a href="+code=ret" class="sref">ret /a>;> 2894.a>> 29.4.a>         a href="+code=ret" class="sref">ret /a> &= ~ a href="+code=mask" class="sref">mask4.a>;> 291 /a>         a href="+code=ret" class="sref">ret /a> |=  a href="+code=val" class="sref">val /a> <<  a href="+code=shift" class="sref">shift4.a>;> 292 /a>> 293 /a>        return  a href="+code=bq2415x_i2c_write" class="sref">bq2415x_i2c_write4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=reg" class="sref">reg4.a>,  a href="+code=ret" class="sref">ret /a>);> 294 /a>}> 2954.a>> 296 /a> spao class="comment">/* change only one bit in register */ /spaon> 297 /a>static int  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=reg" class="sref">reg4.a>,> 298 /a>                                  a href="+code=bool" class="sref">bool /a>  a href="+code=val" class="sref">val /a>,  a href="+code=u8" class="sref">u8 /a>  a href="+code=bit" class="sref">bit4.a>)> 299 /a>{> 300 /a>        if ( a href="+code=bit" class="sref">bit4.a> > 8)> 301 /a>                return - a href="+code=EINVAL" class="sref">EINVAL /a>;> 302 /a>        return  a href="+code=bq2415x_i2c_write_mask" class="sref">bq2415x_i2c_write_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=reg" class="sref">reg4.a>,  a href="+code=val" class="sref">val /a>,  a href="+code=BIT" class="sref">BIT /a>( a href="+code=bit" class="sref">bit4.a>),  a href="+code=bit" class="sref">bit4.a>);> 3034.a>}> 304 /a>> 305 /a> spao class="comment">/**** global funcio2os ****/ /spaon> 306 /a>> 307 /a> spao class="comment">/* exec command funcio2o */ /spaon> 308 /a>static int  a href="+code=bq2415x_exec_command" class="sref">bq2415x_exec_command4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>,> 309 /a>                                enum  a href="+code=bq2415x_command" class="sref">bq2415x_command4.a>  a href="+code=command" class="sref">command4.a>)> 31.4.a>{> 311 /a>        int  a href="+code=ret" class="sref">ret /a>;> 3124.a>> 313 /a>        switch ( a href="+code=command" class="sref">command4.a>) {> 314 /a>        case  a href="+code=BQ2415X_TIMER_RESET" class="sref">BQ2415X_TIMER_RESET /a>:> 315 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_STATUS" class="sref">BQ2415X_REG_STATUS /a>,> 316 /a>                                1,  a href="+code=BQ2415X_BIT_TMR_RST" class="sref">BQ2415X_BIT_TMR_RST4.a>);> 317 /a>        case  a href="+code=BQ2415X_OTG_STATUS" class="sref">BQ2415X_OTG_STATUS /a>:> 318 /a>                return  a href="+code=bq2415x_i2c_read_bit" class="sref">bq2415x_i2c_read_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_STATUS" class="sref">BQ2415X_REG_STATUS /a>,> 319 /a>                                 a href="+code=BQ2415X_BIT_OTG" class="sref">BQ2415X_BIT_OTG4.a>);> 32.4.a>        case  a href="+code=BQ2415X_STAT_PIN_STATUS" class="sref">BQ2415X_STAT_PIN_STATUS /a>:> 321 /a>                return  a href="+code=bq2415x_i2c_read_bit" class="sref">bq2415x_i2c_read_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_STATUS" class="sref">BQ2415X_REG_STATUS /a>,> 322 /a>                                 a href="+code=BQ2415X_BIT_EN_STAT" class="sref">BQ2415X_BIT_EN_STAT4.a>);> 3234.a>        case  a href="+code=BQ2415X_STAT_PIN_ENABLE" class="sref">BQ2415X_STAT_PIN_ENABLE /a>:> 324 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_STATUS" class="sref">BQ2415X_REG_STATUS /a>, 1,> 325 /a>                                 a href="+code=BQ2415X_BIT_EN_STAT" class="sref">BQ2415X_BIT_EN_STAT4.a>);> 3264.a>        case  a href="+code=BQ2415X_STAT_PIN_DISABLE" class="sref">BQ2415X_STAT_PIN_DISABLE /a>:> 327 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_STATUS" class="sref">BQ2415X_REG_STATUS /a>, 0,> 328 /a>                                 a href="+code=BQ2415X_BIT_EN_STAT" class="sref">BQ2415X_BIT_EN_STAT4.a>);> 329 /a>        case  a href="+code=BQ2415X_CHARGE_STATUS" class="sref">BQ2415X_CHARGE_STATUS /a>:> 33.4.a>                return  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_STATUS" class="sref">BQ2415X_REG_STATUS /a>,> 331 /a>                                 a href="+code=BQ2415X_MASK_STAT" class="sref">BQ2415X_MASK_STAT /a>,  a href="+code=BQ2415X_SHIFT_STAT" class="sref">BQ2415X_SHIFT_STAT4.a>);> 332 /a>        case  a href="+code=BQ2415X_BOOST_STATUS" class="sref">BQ2415X_BOOST_STATUS /a>:> 333 /a>                return  a href="+code=bq2415x_i2c_read_bit" class="sref">bq2415x_i2c_read_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_STATUS" class="sref">BQ2415X_REG_STATUS /a>,> 334 /a>                                 a href="+code=BQ2415X_BIT_BOOST" class="sref">BQ2415X_BIT_BOOST4.a>);> 335 /a>        case  a href="+code=BQ2415X_FAULT_STATUS" class="sref">BQ2415X_FAULT_STATUS /a>:> 336 /a>                return  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_STATUS" class="sref">BQ2415X_REG_STATUS /a>,> 337 /a>                         a href="+code=BQ2415X_MASK_FAULT" class="sref">BQ2415X_MASK_FAULT /a>,  a href="+code=BQ2415X_SHIFT_FAULT" class="sref">BQ2415X_SHIFT_FAULT4.a>);> 338 /a>> 339 /a>        case  a href="+code=BQ2415X_CHARGE_TERMINATION_STATUS" class="sref">BQ2415X_CHARGE_TERMINATION_STATUS /a>:> 34.4.a>                return  a href="+code=bq2415x_i2c_read_bit" class="sref">bq2415x_i2c_read_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 341 /a>                                 a href="+code=BQ2415X_BIT_TE" class="sref">BQ2415X_BIT_TE4.a>);> 342 /a>        case  a href="+code=BQ2415X_CHARGE_TERMINATION_ENABLE" class="sref">BQ2415X_CHARGE_TERMINATION_ENABLE /a>:> 343 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 344 /a>                                1,  a href="+code=BQ2415X_BIT_TE" class="sref">BQ2415X_BIT_TE4.a>);> 345 /a>        case  a href="+code=BQ2415X_CHARGE_TERMINATION_DISABLE" class="sref">BQ2415X_CHARGE_TERMINATION_DISABLE /a>:> 346 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 347 /a>                                0,  a href="+code=BQ2415X_BIT_TE" class="sref">BQ2415X_BIT_TE4.a>);> 348 /a>        case  a href="+code=BQ2415X_CHARGER_STATUS" class="sref">BQ2415X_CHARGER_STATUS /a>:> 349 /a>                 a href="+code=ret" class="sref">ret /a> =  a href="+code=bq2415x_i2c_read_bit" class="sref">bq2415x_i2c_read_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 35.4.a>                         a href="+code=BQ2415X_BIT_CE" class="sref">BQ2415X_BIT_CE4.a>);> 351 /a>                if ( a href="+code=ret" class="sref">ret /a> < 0)> 352 /a>                        return  a href="+code=ret" class="sref">ret /a>;> 353 /a>                else> 354 /a>                        return  a href="+code=ret" class="sref">ret /a> > 0 ? 0 : 1;> 355 /a>        case  a href="+code=BQ2415X_CHARGER_ENABLE" class="sref">BQ2415X_CHARGER_ENABLE /a>:> 356 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 357 /a>                                0,  a href="+code=BQ2415X_BIT_CE" class="sref">BQ2415X_BIT_CE4.a>);> 358 /a>        case  a href="+code=BQ2415X_CHARGER_DISABLE" class="sref">BQ2415X_CHARGER_DISABLE /a>:> 359 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 36.4.a>                                1,  a href="+code=BQ2415X_BIT_CE" class="sref">BQ2415X_BIT_CE4.a>);> 361 /a>        case  a href="+code=BQ2415X_HIGH_IMPEDANCE_STATUS" class="sref">BQ2415X_HIGH_IMPEDANCE_STATUS /a>:> 362 /a>                return  a href="+code=bq2415x_i2c_read_bit" class="sref">bq2415x_i2c_read_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 363 /a>                                 a href="+code=BQ2415X_BIT_HZ_MODE" class="sref">BQ2415X_BIT_HZ_MODE4.a>);> 364 /a>        case  a href="+code=BQ2415X_HIGH_IMPEDANCE_ENABLE" class="sref">BQ2415X_HIGH_IMPEDANCE_ENABLE /a>:> 365 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 366 /a>                                1,  a href="+code=BQ2415X_BIT_HZ_MODE" class="sref">BQ2415X_BIT_HZ_MODE4.a>);> 367 /a>        case  a href="+code=BQ2415X_HIGH_IMPEDANCE_DISABLE" class="sref">BQ2415X_HIGH_IMPEDANCE_DISABLE /a>:> 368 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 369 /a>                                0,  a href="+code=BQ2415X_BIT_HZ_MODE" class="sref">BQ2415X_BIT_HZ_MODE4.a>);> 37.4.a>        case  a href="+code=BQ2415X_BOOST_MODE_STATUS" class="sref">BQ2415X_BOOST_MODE_STATUS /a>:> 371 /a>                return  a href="+code=bq2415x_i2c_read_bit" class="sref">bq2415x_i2c_read_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 372 /a>                                 a href="+code=BQ2415X_BIT_OPA_MODE" class="sref">BQ2415X_BIT_OPA_MODE4.a>);> 3734.a>        case  a href="+code=BQ2415X_BOOST_MODE_ENABLE" class="sref">BQ2415X_BOOST_MODE_ENABLE /a>:> 374 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 375 /a>                                1,  a href="+code=BQ2415X_BIT_OPA_MODE" class="sref">BQ2415X_BIT_OPA_MODE4.a>);> 3764.a>        case  a href="+code=BQ2415X_BOOST_MODE_DISABLE" class="sref">BQ2415X_BOOST_MODE_DISABLE /a>:> 377 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 378 /a>                                0,  a href="+code=BQ2415X_BIT_OPA_MODE" class="sref">BQ2415X_BIT_OPA_MODE4.a>);> 3794.a>> 38.4.a>        case  a href="+code=BQ2415X_OTG_LEVEL" class="sref">BQ2415X_OTG_LEVEL /a>:> 381 /a>                return  a href="+code=bq2415x_i2c_read_bit" class="sref">bq2415x_i2c_read_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_VOLTAGE" class="sref">BQ2415X_REG_VOLTAGE /a>,> 382 /a>                                 a href="+code=BQ2415X_BIT_OTG_PL" class="sref">BQ2415X_BIT_OTG_PL4.a>);> 3834.a>        case  a href="+code=BQ2415X_OTG_ACTIVATE_HIGH" class="sref">BQ2415X_OTG_ACTIVATE_HIGH /a>:> 384 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_VOLTAGE" class="sref">BQ2415X_REG_VOLTAGE /a>,> 385 /a>                                1,  a href="+code=BQ2415X_BIT_OTG_PL" class="sref">BQ2415X_BIT_OTG_PL4.a>);> 3864.a>        case  a href="+code=BQ2415X_OTG_ACTIVATE_LOW" class="sref">BQ2415X_OTG_ACTIVATE_LOW /a>:> 387 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_VOLTAGE" class="sref">BQ2415X_REG_VOLTAGE /a>,> 388 /a>                                0,  a href="+code=BQ2415X_BIT_OTG_PL" class="sref">BQ2415X_BIT_OTG_PL4.a>);> 389 /a>        case  a href="+code=BQ2415X_OTG_PIN_STATUS" class="sref">BQ2415X_OTG_PIN_STATUS /a>:> 39.4.a>                return  a href="+code=bq2415x_i2c_read_bit" class="sref">bq2415x_i2c_read_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_VOLTAGE" class="sref">BQ2415X_REG_VOLTAGE /a>,> 391 /a>                                 a href="+code=BQ2415X_BIT_OTG_EN" class="sref">BQ2415X_BIT_OTG_EN4.a>);> 392 /a>        case  a href="+code=BQ2415X_OTG_PIN_ENABLE" class="sref">BQ2415X_OTG_PIN_ENABLE /a>:> 393 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_VOLTAGE" class="sref">BQ2415X_REG_VOLTAGE /a>,> 394 /a>                                1,  a href="+code=BQ2415X_BIT_OTG_EN" class="sref">BQ2415X_BIT_OTG_EN4.a>);> 395 /a>        case  a href="+code=BQ2415X_OTG_PIN_DISABLE" class="sref">BQ2415X_OTG_PIN_DISABLE /a>:> 396 /a>                return  a href="+code=bq2415x_i2c_write_bit" class="sref">bq2415x_i2c_write_bit4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_VOLTAGE" class="sref">BQ2415X_REG_VOLTAGE /a>,> 397 /a>                                0,  a href="+code=BQ2415X_BIT_OTG_EN" class="sref">BQ2415X_BIT_OTG_EN4.a>);> 398 /a>> 399 /a>        case  a href="+code=BQ2415X_VENDER_CODE" class="sref">BQ2415X_VENDER_CODE /a>:> 40.4.a>                return  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_VENDER" class="sref">BQ2415X_REG_VENDER /a>,> 401 /a>                         a href="+code=BQ2415X_MASK_VENDER" class="sref">BQ2415X_MASK_VENDER /a>,  a href="+code=BQ2415X_SHIFT_VENDER" class="sref">BQ2415X_SHIFT_VENDER4.a>);> 402 /a>        case  a href="+code=BQ2415X_PART_NUMBER" class="sref">BQ2415X_PART_NUMBER /a>:> 403 /a>                return  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_VENDER" class="sref">BQ2415X_REG_VENDER /a>,> 404 /a>                                 a href="+code=BQ2415X_MASK_PN" class="sref">BQ2415X_MASK_PN /a>,  a href="+code=BQ2415X_SHIFT_PN" class="sref">BQ2415X_SHIFT_PN4.a>);> 405 /a>        case  a href="+code=BQ2415X_REVISION" class="sref">BQ2415X_REVISION /a>:> 406 /a>                return  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_VENDER" class="sref">BQ2415X_REG_VENDER /a>,> 407 /a>                         a href="+code=BQ2415X_MASK_REVISION" class="sref">BQ2415X_MASK_REVISION /a>,  a href="+code=BQ2415X_SHIFT_REVISION" class="sref">BQ2415X_SHIFT_REVISION4.a>);> 408 /a>        }> 409 /a>        return - a href="+code=EINVAL" class="sref">EINVAL /a>;> 41.4.a>}> 411 /a>> 4124.a> spao class="comment">/* detect chip type */ /spaon> 413 /a>static enum  a href="+code=bq2415x_chip" class="sref">bq2415x_chip /a>  a href="+code=bq2415x_detect_chip" class="sref">bq2415x_detect_chip4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>)> 414 /a>{> 415 /a>        struct  a href="+code=i2c_client" class="sref">i2c_client /a> * a href="+code=client" class="sref">client /a> =  a href="+code=to_i2c_client" class="sref">to_i2c_client4.a>( a href="+code=bq" class="sref">bq /a>-> a href="+code=dev" class="sref">dev4.a>);> 416 /a>        int  a href="+code=ret" class="sref">ret /a> =  a href="+code=bq2415x_exec_command" class="sref">bq2415x_exec_command4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_PART_NUMBER" class="sref">BQ2415X_PART_NUMBER /a>);> 4174.a>> 418 /a>        if ( a href="+code=ret" class="sref">ret /a> < 0)> 419 /a>                return  a href="+code=ret" class="sref">ret /a>;> 42.4.a>> 421 /a>        switch ( a href="+code=client" class="sref">client /a>-> a href="+code=addr" class="sref">addr4.a>) {> 422 /a>        case 0x6b:> 423 /a>                switch ( a href="+code=ret" class="sref">ret /a>) {> 424 /a>                case 0:> 425 /a>                        if ( a href="+code=bq" class="sref">bq /a>-> a href="+code=chip" class="sref">chip /a> ==  a href="+code=BQ24151A" class="sref">BQ24151A /a>)> 426 /a>                                return  a href="+code=bq" class="sref">bq /a>-> a href="+code=chip" class="sref">chip /a>;> 427 /a>                        else> 428 /a>                                return  a href="+code=BQ24151" class="sref">BQ24151 /a>;> 429 /a>                case 1:> 43.4.a>                        if ( a href="+code=bq" class="sref">bq /a>-> a href="+code=chip" class="sref">chip /a> ==  a href="+code=BQ24150A" class="sref">BQ24150A /a> ||> 431 /a>                                 a href="+code=bq" class="sref">bq /a>-> a href="+code=chip" class="sref">chip /a> ==  a href="+code=BQ24152" class="sref">BQ24152 /a> ||> 432 /a>                                 a href="+code=bq" class="sref">bq /a>-> a href="+code=chip" class="sref">chip /a> ==  a href="+code=BQ24155" class="sref">BQ24155 /a>)> 433 /a>                                return  a href="+code=bq" class="sref">bq /a>-> a href="+code=chip" class="sref">chip /a>;> 434 /a>                        else> 435 /a>                                return  a href="+code=BQ24150" class="sref">BQ24150 /a>;> 436 /a>                case 2:> 437 /a>                        if ( a href="+code=bq" class="sref">bq /a>-> a href="+code=chip" class="sref">chip /a> ==  a href="+code=BQ24153A" class="sref">BQ24153A /a>)> 438 /a>                                return  a href="+code=bq" class="sref">bq /a>-> a href="+code=chip" class="sref">chip /a>;> 439 /a>                        else> 44.4.a>                                return  a href="+code=BQ24153" class="sref">BQ24153 /a>;> 441 /a>                default:> 442 /a>                        return  a href="+code=BQUNKNOWN" class="sref">BQUNKNOWN /a>;> 443 /a>                }> 444 /a>                break;> 4454.a>> 4464.a>        case 0x6a:> 447 /a>                switch ( a href="+code=ret" class="sref">ret /a>) {> 448 /a>                case 0:> 449 /a>                        if ( a href="+code=bq" class="sref">bq /a>-> a href="+code=chip" class="sref">chip /a> ==  a href="+code=BQ24156A" class="sref">BQ24156A /a>)> 45.4.a>                                return  a href="+code=bq" class="sref">bq /a>-> a href="+code=chip" class="sref">chip /a>;> 451 /a>                        else> 452 /a>                                return  a href="+code=BQ24156" class="sref">BQ24156 /a>;> 453 /a>                case 2:> 454 /a>                        return  a href="+code=BQ24158" class="sref">BQ24158 /a>;> 455 /a>                default:> 456 /a>                        return  a href="+code=BQUNKNOWN" class="sref">BQUNKNOWN /a>;> 457 /a>                }> 458 /a>                break;> 459 /a>        }> 46.4.a>> 461 /a>        return  a href="+code=BQUNKNOWN" class="sref">BQUNKNOWN /a>;> 462 /a>}> 463 /a>> 464 /a> spao class="comment">/* detect chip reviso2o */ /spaon> 465 /a>static int  a href="+code=bq2415x_detect_reviso2o" class="sref">bq2415x_detect_reviso2o4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>)> 466 /a>{> 467 /a>        int  a href="+code=ret" class="sref">ret /a> =  a href="+code=bq2415x_exec_command" class="sref">bq2415x_exec_command4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REVISION" class="sref">BQ2415X_REVISION /a>);> 468 /a>        int  a href="+code=chip" class="sref">chip /a> =  a href="+code=bq2415x_detect_chip" class="sref">bq2415x_detect_chip4.a>( a href="+code=bq" class="sref">bq /a>);> 4694.a>> 47.4.a>        if ( a href="+code=ret" class="sref">ret /a> < 0 ||  a href="+code=chip" class="sref">chip /a> < 0)> 471 /a>                return -1;> 4724.a>> 4734.a>        switch ( a href="+code=chip" class="sref">chip /a>) {> 474 /a>        case  a href="+code=BQ24150" class="sref">BQ24150 /a>:> 475 /a>        case  a href="+code=BQ24150A" class="sref">BQ24150A /a>:> 4764.a>        case  a href="+code=BQ24151" class="sref">BQ24151 /a>:> 477 /a>        case  a href="+code=BQ24151A" class="sref">BQ24151A /a>:> 478 /a>        case  a href="+code=BQ24152" class="sref">BQ24152 /a>:> 479 /a>                if ( a href="+code=ret" class="sref">ret /a> >= 0 &&  a href="+code=ret" class="sref">ret /a> <= 3)> 48.4.a>                        return  a href="+code=ret" class="sref">ret /a>;> 481 /a>                else> 482 /a>                        return -1;> 4834.a>        case  a href="+code=BQ24153" class="sref">BQ24153 /a>:> 484 /a>        case  a href="+code=BQ24153A" class="sref">BQ24153A /a>:> 485 /a>        case  a href="+code=BQ24156" class="sref">BQ24156 /a>:> 4864.a>        case  a href="+code=BQ24156A" class="sref">BQ24156A /a>:> 487 /a>        case  a href="+code=BQ24158" class="sref">BQ24158 /a>:> 488 /a>                if ( a href="+code=ret" class="sref">ret /a> == 3)> 489 /a>                        return 0;> 49.4.a>                else if ( a href="+code=ret" class="sref">ret /a> == 1)> 491 /a>                        return 1;> 492 /a>                else> 493 /a>                        return -1;> 494 /a>        case  a href="+code=BQ24155" class="sref">BQ24155 /a>:> 495 /a>                if ( a href="+code=ret" class="sref">ret /a> == 3)> 496 /a>                        return 3;> 497 /a>                else> 498 /a>                        return -1;> 499 /a>        case  a href="+code=BQUNKNOWN" class="sref">BQUNKNOWN /a>:> 50.4.a>                return -1;> 501 /a>        }> 5024.a>> 503 /a>        return -1;> 504 /a>}> 5054.a>> 506 /a> spao class="comment">/* return chip vender code */ /spaon> 507 /a>static int  a href="+code=bq2415x_get_vender_code" class="sref">bq2415x_get_vender_code4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>)> 508 /a>{> 509 /a>        int  a href="+code=ret" class="sref">ret /a>;> 51.4.a>> 511 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=bq2415x_exec_command" class="sref">bq2415x_exec_command4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_VENDER_CODE" class="sref">BQ2415X_VENDER_CODE /a>);> 512 /a>        if ( a href="+code=ret" class="sref">ret /a> < 0)> 513 /a>                return 0;> 514 /a>> 515 /a>         spao class="comment">/* convert to binary */ /spaon> 516 /a>        return ( a href="+code=ret" class="sref">ret /a> & 0x1) +> 517 /a>               (( a href="+code=ret" class="sref">ret /a> >> 1) & 0x1) * 10 +> 518 /a>               (( a href="+code=ret" class="sref">ret /a> >> 2) & 0x1) * 100;> 519 /a>}> 52.4.a>> 521 /a> spao class="comment">/* reset all chip registers to default state */ /spaon> 522 /a>static void  a href="+code=bq2415x_reset_chip" class="sref">bq2415x_reset_chip4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>)> 523 /a>{> 524 /a>         a href="+code=bq2415x_i2c_write" class="sref">bq2415x_i2c_write4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CURRENT" class="sref">BQ2415X_REG_CURRENT /a>,  a href="+code=BQ2415X_RESET_CURRENT" class="sref">BQ2415X_RESET_CURRENT /a>);> 525 /a>         a href="+code=bq2415x_i2c_write" class="sref">bq2415x_i2c_write4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_VOLTAGE" class="sref">BQ2415X_REG_VOLTAGE /a>,  a href="+code=BQ2415X_RESET_VOLTAGE" class="sref">BQ2415X_RESET_VOLTAGE /a>);> 526 /a>         a href="+code=bq2415x_i2c_write" class="sref">bq2415x_i2c_write4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,  a href="+code=BQ2415X_RESET_CONTROL" class="sref">BQ2415X_RESET_CONTROL /a>);> 527 /a>         a href="+code=bq2415x_i2c_write" class="sref">bq2415x_i2c_write4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_STATUS" class="sref">BQ2415X_REG_STATUS /a>,  a href="+code=BQ2415X_RESET_STATUS" class="sref">BQ2415X_RESET_STATUS /a>);> 528 /a>         a href="+code=bq" class="sref">bq /a>-> a href="+code=timer_error" class="sref">timer_error /a> =  a href="+code=NULL" class="sref">NULL /a>;> 529 /a>}> 53.4.a>> 531 /a> spao class="comment">/**** properties functions ****/ /spaon> 5324.a>> 533 /a> spao class="comment">/* set current limit in mA */ /spaon> 534 /a>static int  a href="+code=bq2415x_set_current_limit" class="sref">bq2415x_set_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>, int  a href="+code=mA" class="sref">mA /a>)> 535 /a>{> 536 /a>        int  a href="+code=val" class="sref">val /a>;> 5374.a>> 538 /a>        if ( a href="+code=mA" class="sref">mA /a> <= 100)> 539 /a>                 a href="+code=val" class="sref">val /a> = 0;> 54.4.a>        else if ( a href="+code=mA" class="sref">mA /a> <= 500)> 541 /a>                 a href="+code=val" class="sref">val /a> = 1;> 542 /a>        else if ( a href="+code=mA" class="sref">mA /a> <= 800)> 543 /a>                 a href="+code=val" class="sref">val /a> = 2;> 544 /a>        else> 545 /a>                 a href="+code=val" class="sref">val /a> = 3;> 5464.a>> 547 /a>        return  a href="+code=bq2415x_i2c_write_mask" class="sref">bq2415x_i2c_write_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,  a href="+code=val" class="sref">val /a>,> 548 /a>                         a href="+code=BQ2415X_MASK_LIMIT" class="sref">BQ2415X_MASK_LIMIT /a>,  a href="+code=BQ2415X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIMIT /a>);> 549 /a>}> 55.4.a>> 551 /a> spao class="comment">/* get current limit in mA */ /spaon> 552 /a>static int  a href="+code=bq2415x_get_current_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>)> 553 /a>{> 554 /a>        int  a href="+code=ret" class="sref">ret /a>;> 5554.a>> 556 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,> 557 /a>                         a href="+code=BQ2415X_MASK_LIMIT" class="sref">BQ2415X_MASK_LIMIT /a>,  a href="+code=BQ2415X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIMIT /a>);> 558 /a>        if ( a href="+code=ret" class="sref">ret /a> < 0)> 559 /a>                return  a href="+code=ret" class="sref">ret /a>;> 56.4.a>        else if ( a href="+code=ret" class="sref">ret /a> == 0)> 561 /a>                return 100;> 562 /a>        else if ( a href="+code=ret" class="sref">ret /a> == 1)> 563 /a>                return 500;> 564 /a>        else if ( a href="+code=ret" class="sref">ret /a> == 2)> 56     return  a href="ss="sref">BQ24155 dalL563" class="line" namvalL563"> 563Oi39er.c#L a href=a> * a href="+code=b 564 /a>        el   if ( a href="+code=ret" class="sref">ret /566 /a>{><5 href="drivers/power/bq2515x_c56rger.c#L387" idalL387" class1="line" namvalL565"> 56     return  a href="ss="s /a>);> 409 /a>        return - a href="+code=EINVAL" class="sref">EIN5q /a>);><5 href="drivers/power/bq2515x_c56rger.c#L549" idalL549" class="line" namvalL549"> 54694.a>><5 href="drivers/power/bq2515x_c57rger.c#L550" idalL550" class="line" namvalL550"> < 0)><5 href="drivers/power/bq2515x_c57rger.c#L551" idalL551" class="lineweak battery voltage> 551V/a> spao class="comment">/* get current limit in mA */urn -1;><5 href="drivers/power/bq2515x_c57rger.c#L552" idalL552" class="line" namde=bweak_battery_voltagestatic int  a href="+code=bweak_battery_voltagerrent_limit" class="sref">bq2415x_set_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="VvalL542"> 542 /aV415x_device /a> * a href="+code=bq" class="sref">4724.a>><5 href="drivers/power/bq2515x_c57rger.c#L553" idalL553" class="line" namvalL553"> 5 /a>) {><5 href="drivers/power/bq2515x_c57rger.c#L554" idalL554" class="line" namvalL536"> 536 /a>        int  a href="+code=val" class="sref">v50 /a>:><5 href="drivers/power/bq2515x_c57rger.c#L555" idalL555" class="line" namvalL555"> 0A /a>:><5 href="drivers/power/bq2515x_c5arger.c#L476" c#L521" idalL521" class="lounda> s="l1V/a> spao class="comment">/* get current limit in mA */u6 /a>{><5 href="drivers/power/bq2515x_c5arger.c#L477" 542" class="line" naVvalL542"> 542 /aV415x&&am400 +s="_device /a> * a href="+code=bq" class="sref">4 /a>);> 539 /a>                 a href="+code=val" class="sref">val /52 /a>:><5 href="drivers/power/bq2515x_c5arger.c#L479" idalL542" class="line" naVvalL542"> 542 /aV415x&&am500 +s="_device /a> * a href="+code=bq" class="sref">lt;= 3)><5 href="drivers/power/bq2515x_c5arger.c#L480" idalL480" class="line" namvalL541"> 541 /a>                 a href="+code=val" class="sref">val /et /a>;><5 href="drivers/power/bq2515x_c5arger.c#L481" idalL542" class="line" naVvalL542"> 542 /aV415x&&am600 +s="_device /a> * a href="+code=bq" class="sref">lrn -1;><5 href="drivers/power/bq2515x_c5arger.c#L482" idalL482" class="line" namvalL543"> 543 /a>                 a href="+code=val" class="sref">val /urn -1;><5 href="drivers/power/bq2515x_c5arger.c#L483" idalL544" class="line" namvalL544"> 544 /a>     53 /a>:><5 href="drivers/power/bq2515x_c5arger.c#L484" idalL482" class="line" namvalL543"> 543 /a>                 a href="+code=val" class="sref">val /3A /a>:><5 href="drivers/power/bq2515x_c58rger.c#L555" idalL555" class="line" namvalL555"> 56 /a>:><5 href="drivers/power/bq2515x_c58rger.c#L516" idalL517" class="line" namvalL547"> 547 /a>        return  a href="+code=bq2415x_i2c_write_mask" class="sref">bq2415x_i2c_write_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_CONTROL /a>,  a href="+code"line" namvalL555"> 56 /a>{><5 href="drivers/power/bq2515x_c58rger.c#L557" idalL557" class="line" namvalL557"> 557 /a> VLOWVvalL542"> 542 /57"> 557 /a> VLOWVBQ2415X_MASK_LIMIT" class="sref">BQVLOWVvalL542"> 542 /57"> 557ef">BQVLOWV2415X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIMI58 /a>:><5 href="drivers/power/bq2515x_c5arger.c#L549" idalL549" class="line" namvalL549"> 5> == 3)><5 href="drivers/power/bq2515x_c58rger.c#L469" idalL469" class="line" namvalL469">5turn 0;><5 href="drivers/power/bq2515x_c5arger.c#L551" idalL551" class="lineweak battery voltage> 551V/a> spao class="comment">/* get current limit in mA */> == 1)><5 href="drivers/power/bq2515x_c5arger.c#L552" idalL552" class="line" namvalLweak_battery_voltagestatic int  a href="+covalLweak_battery_voltagerrent_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">turn 1;><5 href="drivers/power/bq2515x_c5arger.c#L553" idalL553" class="line" namvalL553"> 5   else><5 href="drivers/power/bq2515x_c5arger.c#L493" idalL554" class="line" namvalL554"> 554 /a>        int  a href="+code=ret" class="sref">rurn -1;><5 href="drivers/power/bq2515x_c59rger.c#L514" idalL514" class="line" namvalL514"> 55 /a>:><5 href="drivers/power/bq2515x_c59rger.c#L525" idalL525" class="line" namvalL556"> 556 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CONTROL" class="sref">BQ2415X_REG_C4"> 56 /a>:><5 href="drivers/power/bq2515x_c5arger.c#L496" idalL496" class="line" namvalL557"> 557 /a> VLOWVvalL542"> 542 /57"> 557 /a> VLOWVBQ2415X_MASK_LIMIT" class="sref">BQVLOWVvalL542"> 542 /57"> 557ef">BQVLOWV2415X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIMIturn 3;><5 href="drivers/power/bq2515x_c59rger.c#L477" 542" class="line" nne" namvalL558"> 558 /a>        if ( a href="+code=ret" class="sref">ret /a>    else><5 href="drivers/power/bq2515x_c5arger.c#L498" idalL498" class="line" namvalL559"> 559 /a>                return  a href="+code=ret" class="sref">rurn -1;><5 href="drivers/power/bq2515x_c59rger.c#L409" idalL40="l * (34 +s="line" namvalL559"> 559 /a>            X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM6WN /a>:><6 href="drivers/power/bq2615x_c60rger.c#L410" idalL410" class="line" namvalL410"> 6urn -1;><6 href="drivers/power/bq2615x_c60rger.c#L411" idalL411" class="line" namvalL411">6      }><6 href="drivers/power/bq2615x_c60rger.c#L412" idalL412" class="linebattery regula 531 voltage> 551V/a> spao class="comment">/* get current limit in mA *65024.a>><6 href="drivers/power/bq2615x_c603ger.c#L552" idalL552" class="line" namde=bbattery_regula 531_voltagestatic int  a href="+code=bbattery_regula 531_voltagerrent_limit" class="sref">bq2415x_set_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_lass="comment">/* get current limit in mA *65424.a>><6 href="drivers/power/bq2615x_c60rger.c#L454" idalL454" class===========================evice /a> * a href="VvalL542"> 542 /aV415x_device /a> * a href="+code=bq" class="sref"604 /a>}><6 href="drivers/power/bq2615x_c60rger.c#L535" idalL535" class="line" namvalL535"> 65054.a>><6 href="drivers/power/bq2615x_c60rger.c#L536" idalL536" class="line" namvalL536"> 536 /a> /a>" class="line" naVvalL542"> 542 /aV415x/10 -am50) /          a href="+code=val" class="sref">val 6 /spaon><6 href="drivers/power/bq2615x_c60rger.c#L537" idalL537" class="line" namvalL537">6bq /a>)><6 href="drivers/power/bq2615x_c60rger.c#L558" idalL558" class="line" namvalL536"> 536 /a> /      if ( a href="+code=ret" class="sref">ret /a>608 /a>{><6 href="drivers/power/bq2615x_c60rger.c#L539" idalL539" class="line" namvalL539"> 539 /a>                 a href="+code=val" class="sref">val 6et /a>;><6 href="drivers/power/bq2615x_c61rger.c#L560" idalL560" class="line" nne" namvalL536"> 536 /a> /    (94) c#L521" idalL521" class="FIXME: Max is(94 or 122 ? Sinemax 36 ue ? a> spao class="comment">/* get current limit in mA *651.4.a>><6 href="drivers/power/bq2615x_c61rger.c#L561" idalL561" class9" class="line" namvalL409"> 409 /a>        return - a href="+code=EINVAL" class="sref">EIN6E /a>);><6 href="drivers/power/bq2615x_c61rger.c#L532" idalL532" class="line" namvalL532">6< 0)><6 href="drivers/power/bq2615x_c61rger.c#L503" idalL507" class="line" namvalL547"> 547 /a>        return  a href="+code=bq2415x_i2c_write_mask" class="sref">bq2415x_i2c_write_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_VOLTAGE" class="sref">BQ2415X_REG_CONTROL /a>,  a href="+code"line" namvalL555">6turn 0;><6 href="drivers/power/bq2615x_c61rger.c#L454" idalL454" class="line" namvalL557"> 557 /a> VOvalL542"> 542 /57"> 557 /a> VOBQ2415X_MASK_LIMIT" class="sref">BQVOvalL542"> 542 /57"> 557ef">BQVO    X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM6514 /a>><6 href="drivers/power/bq2615x_c6arger.c#L410" idalL410" class="line" namvalL410"> 6 /spaon><6 href="drivers/power/bq2615x_c61rger.c#L546" idalL546" class="line" namvalL546">6 0x1) +><6 href="drivers/power/bq2615x_c6arger.c#L551" idalL551" class="linebattery regula 531 voltage> 551V/a> spao class="comment">/* get current limit in mA *6 * 10 +><6 href="drivers/power/bq2615x_c6arger.c#L552" idalL552" class="line" namvalLbattery_regula 531_voltagestatic int  a href="+covalLbattery_regula 531_voltagerrent_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref"6 * 100;><6 href="drivers/power/bq2615x_c6arger.c#L535" idalL535" class="line" namvalL535"> 619 /a>}><6 href="drivers/power/bq2615x_c620ger.c#L536" idalL536" class="li="line" namvalL556"> 556 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X#L535" idalL535" class="line" namvalL535"> 611.4.a>><6 href="drivers/power/bq2615x_c62rger.c#L561" idalL561" class="line" namvalL557"> 557 /a> VOvalL542"> 542 /57"> 557 /a> VOBQ2415X_MASK_LIMIT" class="sref">BQVOvalL542"> 542 /57"> 557ef">BQVO    X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM6 /spaon><6 href="drivers/power/bq2615x_c62rger.c#L532" idalL532" class="line" namvalL532">6bq /a>)><6 href="drivers/power/bq2615x_c6arger.c#L423" 542" class="line" nne" namvalL558"> 558 /a>        if ( a href="+code=ret" class="sref">ret /a>623 /a>{><6 href="drivers/power/bq2615x_c6arger.c#L424" idalL424" class="line" namvalL559"> 559 /a>                return  a href="+code=ret" class="sref">6T /a>);><6 href="drivers/power/bq2615x_c6arger.c#L525" idalL40=" * (350 +s2de=bq2415x_devic559"> 559 /a>            X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM6E /a>);><6 href="drivers/power/bq2615x_c6arger.c#L410" idalL410" class="line" namvalL410"> 6L /a>);><6 href="drivers/power/bq2615x_c62rger.c#L537" idalL537" class="line" namvalL537">6S /a>);><6 href="drivers/power/bq2615x_c6arger.c#L533" idalL533" class="line"mvalLe" namval 551 /(pla form data mustne" vide"linistor sense)/a> spao class="comment">/* get current limit in mA *6LL /a>;><6 href="drivers/power/bq2615x_c6arger.c#L534" idalL534" class="line" namvalL5it inbq2415x_static int  a href="+code=b5it inbq2415x_rrent_limit" class="sref">bq2415x_set_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>, int  a href="+code=mA" class="sref"629 /a>}><6 href="drivers/power/bq2615x_c6arger.c#L535" idalL535" class="line" namvalL535"> 653.4.a>><6 href="drivers/power/bq2615x_c6arger.c#L431" idalL554" class="line" namvalL536"> 536 /a>        int  a href="+code=val" class="sref">6 /spaon><6 href="drivers/power/bq2615x_c6arger.c#L532" idalL532" class="line" namvalL532">65324.a>><6 href="drivers/power/bq2615x_c63rger.c#L423" 542" class="line" n="line" namvalL528"> 528 /a>         a hrefinit_dataline" namvalL52init_data> 52.e=bq2415x_devic55nistor_sense"> 559 /a>       nistor_sense415x&&a if ( a href="+code=ret" class="sref">ret /a>6 /spaon><6 href="drivers/power/bq2615x_c6arger.c#L434" idalL434" class9" class="line" nNOSY_REG_STATUS /a>,nNOSY_/a>        int  a href="+code=val" class="sref">6  /a>);><6 href="drivers/power/bq2615x_c63rger.c#L555" idalL555" class="line" namvalL555">635 /a>{><6 href="drivers/power/bq2615x_c63rger.c#L556" idalL556" classne" namvalL536"> 536 /a> /a>" class="line" namvalL542"> 542 /a>     * idalL528" class="line" namvalL528"> 528 /a>         a hrefinit_dataline" namvalL52init_data> 52.e=bq2415x_devic55nistor_sense"> 559 /a>       nistor_sense415x&- 37400) / 6="line" namvalL565"> 56     return  a href="ss=6al /a>;><6 href="drivers/power/bq2615x_c63rger.c#L477" 542" class="line" nne" namvalL536"> 536 /a> /      if ( a href="+code=ret" class="sref">ret /a>65374.a>><6 href="drivers/power/bq2615x_c6arger.c#L438" idalL438" class="line" namvalL539"> 539 /a>                 a href="+code=val" class="sref">val 6;= 100)><6 href="drivers/power/bq2615x_c63rger.c#L479" idalL542" class="line" nne" namvalL536"> 536 /a> /    (7if ( a href="+code=ret" class="sref">ret /a>6a> = 0;><6 href="drivers/power/bq2615x_c6arger.c#L440" idalL440" class="line" namvalL539"> 539 /a>        7        a href="+code=val" class="sref">val 6;= 500)><6 href="drivers/power/bq2615x_c64rger.c#L411" idalL411" class="line" namvalL411">6a> = 1;><6 href="drivers/power/bq2615x_c6arger.c#L542" idalL507" class="line" namvalL547"> 547 /a>        return  a href="+code=bq2415x_i2c_write_mask" class="sref">bq2415x_i2c_write_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CURRENT" class="sref">BQ2415X_REG_CONTROL /a>,  a href="+code"line" namvalL555">6;= 800)><6 href="drivers/power/bq2615x_c6arger.c#L543" idalL543" class="line" namvalL557"> 557 /a> VI_CHRGvalL542"> 542 /57"> 557 /a> VI_CHRGger.c ( a href="+code=57"> 557 /a> ="+covalL542"> 542 /57"> 557 /a> ="+coG_CONTROL /a>,  a href="+code"line" namvalL555">6;/spaon><6 href="drivers/power/bq2615x_c6arger.c#L444" idalL444" class="line" namvalL557"> 557ef">BQVI_CHRGvalL542"> 542 /57"> 557ef">BQVI_CHRG    X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM6   else><6 href="drivers/power/bq2615x_c64rger.c#L410" idalL410" class="line" namvalL410"> 6a> = 3;><6 href="drivers/power/bq2615x_c6arger.c#L546" idalL546" class="line" namvalL546">65464.a>><6 href="drivers/power/bq2615x_c64rger.c#L551" idalL551" class="line"mvalLe" namval 551 /(pla form data mustne" vide"linistor sense)/a> spao class="comment">/* get current limit in mA *6al /a>,><6 href="drivers/power/bq2615x_c64rger.c#L552" idalL552" class="line" namvalL5it inbq2415x_static int  a href="+covalL5it inbq2415x_rrent_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref"6T /a>);><6 href="drivers/power/bq2615x_c64rger.c#L535" idalL535" class="line" namvalL535"> 649 /a>}><6 href="drivers/power/bq2615x_c650ger.c#L536" idalL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM655.4.a>><6 href="drivers/power/bq2615x_c65rger.c#L411" idalL411" class="line" namvalL411">6 /spaon><6 href="drivers/power/bq2615x_c65rger.c#L512" idalL512" class="li="line" namvalL528"> 528 /a>         a hrefinit_dataline" namvalL52init_data> 52.e=bq2415x_devic55nistor_sense"> 559 /a>       nistor_sense415x&&a if ( a href="+code=ret" class="sref">ret /a>6bq /a>)><6 href="drivers/power/bq2615x_c65rger.c#L563" idalL563" class9" class="line" nNOSY_REG_STATUS /a>,nNOSY_/a>        int  a href="+code=val" class="sref">653 /a>{><6 href="drivers/power/bq2615x_c65rger.c#L514" idalL514" class="line" namvalL514">6et /a>;><6 href="drivers/power/bq2615x_c65rger.c#L525" idalL525" class="line" namvalL556"> 556 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415Xc#L514" idalL514" class="line" namvalL514">6e> = 3;><6 href="drivers/power/bq2615x_c65rger.c#L496" idalL496" class="line" namvalL557"> 557 /a> VI_CHRGvalL542"> 542 /57"> 557 /a> VI_CHRGger.15X_MASK_LIMIT" class="sref">BQVI_CHRGvalL542"> 542 /57"> 557ef">BQVI_CHRG    X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM6OL /a>,><6 href="drivers/power/bq2615x_c65rger.c#L477" 542" class="line" nne" namvalL558"> 558 /a>        if ( a href="+code=ret" class="sref">ret /a>6T /a>);><6 href="drivers/power/bq2615x_c65rger.c#L498" idalL498" class="line" namvalL559"> 559 /a>                return  a href="+code=ret" class="sref">6< 0)><6 href="drivers/power/bq2615x_c65rger.c#L409" idalL40(37400 + 6="lde=bq2415x_devic559"> 559 /a>            X / idalL528" class="line" namvalL528"> 528 /a>         a hrefinit_dataline" namvalL52init_data> 52.e=bq2415x_devic55nistor_sense"> 559 /a>       nistor_sense415x    return  a href="+code=ret" class="sref">6et /a>;><6 href="drivers/power/bq2615x_c66rger.c#L410" idalL410" class="line" namvalL410"> 6> == 0)><6 href="drivers/power/bq2615x_c66rger.c#L411" idalL411" class="line" namvalL411">6rn 100;><6 href="drivers/power/bq2615x_c66rger.c#L412" idalL412" class="linetermina 531 " namval 551 /(pla form data mustne" vide"linistor sense)/a> spao class="comment">/* get current limit in mA *6> == 1)><6 href="drivers/power/bq2615x_c663ger.c#L552" idalL552" class="line" namde=btermina 531bq2415x_static int  a href="+code=btermina 531bq2415x_rrent_limit" class="sref">bq2415x_set_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref">bq /a>, int  a href="+code=mA" class="sref"6rn 500;><6 href="drivers/power/bq2615x_c6arger.c#L535" idalL535" class="line" namvalL535"> 6> == 2)><6 href="drivers/power/bq2615x_c6arger.c#L565" idalL554" class="line" namvalL536"> 536 /a>        int  a href="+code=val" class="sref">6sref">BQ26155 dalL563" class="line6 namv66rger.c#L546" idalL546" class="line" namvalL546">666 /a>{><6 href="drivers/power/bq2615x_c66rger.c#L477" 542" class="line" n="line" namvalL528"> 528 /a>         a hrefinit_dataline" namvalL52init_data> 52.e=bq2415x_devic55nistor_sense"> 559 /a>       nistor_sense415x&&a if ( a href="+code=ret" class="sref">ret /a>6s /a>);><6 href="drivers/power/bq2615x_c66rger.c#L498" idalL498" class9" class="line" nNOSY_REG_STATUS /a>,nNOSY_/a>        int  a href="+code=val" class="sref">6q /a>);><6 href="drivers/power/bq2615x_c66rger.c#L469" idalL469" class="line" namvalL469">64694.a>><6 href="drivers/power/bq2615x_c670ger.c#L536" idalL556" classne" namvalL536"> 536 /a> /a>" class="line" namvalL542"> 542 /a>     * idalL528" class="line" namvalL528"> 528 /a>         a hrefinit_dataline" namvalL52init_data> 52.e=bq2415x_devic55nistor_sense"> 559 /a>       nistor_sense415x&- 3400) / 3400       int  a href="+code=val" class="sref">6< 0)><6 href="drivers/power/bq2615x_c671ger.c#L477" 542" class="line" nne" namvalL536"> 536 /a> /      if ( a href="+code=ret" class="sref">ret /a>6urn -1;><6 href="drivers/power/bq2615x_c67rger.c#L482" idalL482" class="line" namvalL543"> 543 /a>        0       int  a href="+code=val" class="sref">6& == 1)><6 href="drivers/power/bq2615x_c67rger.c#L483" idalL542" class="line" nne" namvalL536"> 536 /a> /    (7if ( a href="+code=ret" class="sref">ret /a>6 /a>) {><6 href="drivers/power/bq2615x_c67rger.c#L484" idalL482" class="line" namvalL543"> 543 /a>        7        a href="+code=val" class="sref">val 650 /a>:><6 href="drivers/power/bq2615x_c67rger.c#L555" idalL555" class="line" namvalL555">60A /a>:><6 href="drivers/power/bq2615x_c67rger.c#L516" idalL517" class="line" namvalL547"> 547 /a>        return  a href="+code=bq2415x_i2c_write_mask" class="sref">bq2415x_i2c_write_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415X_REG_CURRENT" class="sref">BQ2415X_REG_CONTROL /a>,  a href="+code"line" namvalL555">6u6 /a>{><6 href="drivers/power/bq2615x_c67rger.c#L557" idalL557" class="line" namvalL557"> 557 /a> VI_TERMvalL542"> 542 /57"> 557 /a> VI_TERMger.c ( a href="+code=57"> 557 /a> ="+covalL542"> 542 /57"> 557 /a> ="+coG_CONTROL /a>,  a href="+code"line" namvalL555">64 /a>);><6 href="drivers/power/bq2615x_c67rger.c#L548" idalL548" class="line" namvalL557"> 557ef">BQVI_TERMvalL542"> 542 /57"> 557ef">BQVI_TERM    X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM652 /a>:><6 href="drivers/power/bq2615x_c67rger.c#L549" idalL549" class="line" namvalL549"> 6lt;= 3)><6 href="drivers/power/bq2615x_c68rger.c#L550" idalL550" class="line" namvalL550">6et /a>;><6 href="drivers/power/bq2615x_c68rger.c#L551" idalL551" class="linetermina 531 " namval 551 /(pla form data mustne" vide"linistor sense)/a> spao class="comment">/* get current limit in mA *6lrn -1;><6 href="drivers/power/bq2615x_c68rger.c#L552" idalL552" class="line" namvalLtermina 531bq2415x_static int  a href="+covalLtermina 531bq2415x_rrent_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref"6urn -1;><6 href="drivers/power/bq2615x_c68rger.c#L553" idalL553" class="line" namvalL553"> 653 /a>:><6 href="drivers/power/bq2615x_c6arger.c#L484" idalL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM63A /a>:><6 href="drivers/power/bq2615x_c68rger.c#L555" idalL555" class="line" namvalL555">656 /a>:><6 href="drivers/power/bq2615x_c68rger.c#L516" 542" class="line" n="line" namvalL528"> 528 /a>         a hrefinit_dataline" namvalL52init_data> 52.e=bq2415x_devic55nistor_sense"> 559 /a>       nistor_sense415x&&a if ( a href="+code=ret" class="sref">ret /a>656 /a>{><6 href="drivers/power/bq2615x_c68rger.c#L557" idalL557" class9" class="line" nNOSY_REG_STATUS /a>,nNOSY_/a>        int  a href="+code=val" class="sref">658 /a>:><6 href="drivers/power/bq2615x_c6arger.      int  a href="+code=val" class="sref">652 /a>:><6 href="drivers/power/bq2615x_c68rger.c#L409" idalL525" class="line" namvalL556"> 556 /a>         a href="+code=ret" class="sref">ret /a> =  a href="+code=bq2415x_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+code=bq" class="sref">bq /a>,  a href="+code=BQ2415Xc#L514" idalL514" class="val" class="sref">6turn 0;><6 href="drivers/power/bq2615x_c69rger.c#L440" idalL440" class="line" namvalL557"> 557 /a> VI_TERMvalL542"> 542 /57"> 557 /a> VI_TERMger.15X_MASK_LIMIT" class="sref">BQVI_TERMvalL542"> 542 /57"> 557ef">BQVI_TERM    X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM6> == 1)><6 href="drivers/power/bq2615x_c691ger.c#L477" 542" class="line" nne" namvalL558"> 558 /a>        if ( a href="+code=ret" class="sref">ret /a>6turn 1;><6 href="drivers/power/bq2615x_c69rger.c#L482" idalL482" class="line" namvalL559"> 559 /a>                return  a href="+code=ret" class="sref">6   else><6 href="drivers/power/bq2615x_c69rger.c#L503" idalL50(m400 +sm400de=bq2415x_devic559"> 559 /a>            X / idalL528" class="line" namvalL528"> 528 /a>         a hrefinit_dataline" namvalL52init_data> 52.e=bq2415x_devic55nistor_sense"> 559 /a>       nistor_sense415x    return  a href="+code=ret" class="sref">6urn -1;><6 href="drivers/power/bq2615x_c69rger.c#L549" idalL549" class="line" namvalL549"> 655 /a>:><6 href="drivers/power/bq2615x_c69rger.c#L555" idalL555" class="line" namvalL555">656 /a>:><6 href="drivers/power/bq2615x_c6arger.c#L412" idalL412" class="linepao clas36 ue ofne" namva>         spao class="comment">/* convert to binary *6turn 3;><6 href="drivers/power/bq2615x_c69rger.#paors/alL552" class="line" namde=bpao cla_36 uestatic int  a href="+code=bpao cla_36 uex_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a he" n="sref">bq2415xe" n    X \spao class="comment">/* convert to binary *6t8 /a>:><6 href="drivers/power/bq2615x_c6arger.c#L498" do { \spao class="comment">/* convert to binary *6t2 /a>:><6 href="drivers/power/bq2615x_c69rger.c#L539" idalL539idalL536" class="li="line" namvalL556"> 556 /a>0; \spao class="comment">/* convert to binary *7WN /a>:><7 href="drivers/power/bq2715x_c70rger.c#L440" idalL440542" class="line" n="line" namvalL528"> 528 /a>         a hrefinit_dataline" namvalL52init_data> 52.e=bq2415x_device" n="sref">bq2415xe" n     != -1X \spao class="comment">/* convert to binary *7urn -1;><7 href="drivers/power/bq2715x_c70rger.c#L561" idalL561" class="line" namvalL5="line" namvalL556"> 556 /a>         a href="+code=de=bstatic int  a href="+code=bger.##e" nc_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a h="line" namvalL528"> 528 /a>         a hrefinit_dataline" namvalL52init_data> 52.e=bq2415x_device" n="sref">bq2415xe" n    ); \spao class="comment">/* convert to binary *7W2n -1;><7 href="drivers/power/bq2715x_c70rger.c#L482" idalL482542" class="line" nne" namvalL558"> 558 /a>        i \spao class="comment">/* convert to binary *7W3n -1;><7 href="drivers/power/bq2715x_c70rger.c#L543" idalL543" class=" class="line" namvalL559"> 559 /a>              \spao class="comment">/* convert to binary *7W4n -1;><7 href="drivers/power/bq2715x_c70rger.c#L454" } while ( if ( a href="+code=ret" class="sref">ret /a>704 /a>}><7 href="drivers/power/bq2715x_c70rger.c#L555" idalL555" class="line" namvalL555">75054.a>><7 href="drivers/power/bq2715x_c70rger.c#L412" idalL412" class="linepao clas36 ues ofnallne" namvalL5         spao class="comment">/* convert to binary *7 /spaon><7 href="drivers/power/bq2715x_c70rger.c#L552" idalL552" class="line" namde=bpao classtatic int  a href="+code=bpao clasrrent_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref"7bq /a>)><7 href="drivers/power/bq2715x_c70rger.c#L553" idalL553" class="line" namvalL553"> 708 /a>{><7 href="drivers/power/bq2715x_c70rger.c#L409" idalL525" classline" naexec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coBOOST_MODE_DISABLss="sref">bq /a>,  a hreBOOST_MODE_DISABLs    X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7et /a>;><7 href="drivers/power/bq2715x_c710ger.c#L536" idalL556" classline" naexec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coCHARGER_DISABLss="sref">bq /a>,  a hreCHARGER_DISABLs    X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7ern -1;><7 href="drivers/power/bq2715x_c71rger.c#L561" idalL556" classline" naexec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coCHARGE_TERMINATION_DISABLss="sref">bq /a>,  a hreCHARGE_TERMINATION_DISABLs    X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7e2n -1;><7 href="drivers/power/bq2715x_c71rger.c#L532" idalL532" class="line" namvalL532">7< 0)><7 href="drivers/power/bq2715x_c71rger.c#L503" lL552" class="line" namde=bpao cla_36 uestatic int  a href="+code=bpao cla_36 uex_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a h552"> 552 /a>static int  a hq2415x_get_currenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7e4n -1;><7 href="drivers/power/bq2715x_c71rger.c#L454" lL552" class="line" namde=bpao cla_36 uestatic int  a href="+code=bpao cla_36 uex_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a hweak_battery_voltagestatic int  a hweak_battery_voltagerrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7e4 /a>}><7 href="drivers/power/bq2715x_c71rger.c#L525" idalL525" classine" namde=bpao cla_36 uestatic int  a href="+code=bpao cla_36 uex_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a hbattery_regula 531_voltagestatic int  a hrattery_regula 531_voltagerrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7e054.a>><7 href="drivers/power/bq2715x_c71rger.c#L546" idalL546" class="line" namvalL546">7 0x1) +><7 href="drivers/power/bq2715x_c71rger.c#L477" 542" class="line" n="line" namvalL528"> 528 /a>         a hrefinit_dataline" namvalL52init_data> 52.e=bq2415x_devic55nistor_sense"> 559 /a>       nistor_sense415x&ag    i c#L553" idalL553" class="line" namvalL553"> 7 * 10 +><7 href="drivers/power/bq2715x_c71rger.c#L438" idalL438" class="line" ine" namde=bpao cla_36 uestatic int  a href="+code=bpao cla_36 uex_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a h5it inbq2415x_static int  a h5it inbq2415x_rrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7e8 /a>{><7 href="drivers/power/bq2715x_c71rger.c#L539" idalL539" class="line" ine" namde=bpao cla_36 uestatic int  a href="+code=bpao cla_36 uex_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a htermina 531bq2415x_static int  a htermina 531bq2415x_rrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM719 /a>}><7 href="drivers/power/bq2715x_c72rger.c#L440" idalL440" class="line" line" naexec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coCHARGE_TERMINATION_ENABLss="sref">bq /a>,  a hreCHARGE_TERMINATION_ENABLsrrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM71rn -1;><7 href="drivers/power/bq2715x_c72rger.c#L561" c#L549" idalL549" class="line" namvalL549"> 7 /spaon><7 href="drivers/power/bq2715x_c72rger.c#L532" idalL532" class="line" namvalL532">7bq /a>)><7 href="drivers/power/bq2715x_c72rger.c#L503" lL552" class="line" namexec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coCHARGER_ENABLss="sref">bq /a>,  a hreCHARGER_ENABLsrrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM714n -1;><7 href="drivers/power/bq2715x_c7arger.c#L424" " class0       int  a href="+code=val" class="sref">7T /a>);><7 href="drivers/power/bq2715x_c72rger.c#L410" idalL410" class="line" namvalL410"> 7E /a>);><7 href="drivers/power/bq2715x_c72rger.c#L546" idalL546" class="line" namvalL546">7L /a>);><7 href="drivers/power/bq2715x_c72rger.c#L551" idalL551" class====e"mvalLr m a  func 531s ====        spao class="comment">/* convert to binary *7S /a>);><7 href="drivers/power/bq2715x_c72rger.      int  a href="+code=val" class="sref">7LL /a>;><7 href="drivers/power/bq2715x_c7arger.c#L533" idalL533" class="line"mvalLr m a  =        spao class="comment">/* convert to binary *729 /a>}><7 href="drivers/power/bq2715x_c7arger.c#L552" idalL552" class="line" namde=bm a static int  a href="+code=bm a rrent_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x, enum" class="sref">bq2415x_gm a static int  a href="+com a rrence /a> * a href=" a static int  a hm a rren_device /a> * a href="+code=bq" class="sref"753.4.a>><7 href="drivers/power/bq2715x_c7arger.c#L553" idalL553" class="line" namvalL553"> 7 /spaon><7 href="drivers/power/bq2715x_c73rger.c#L512" idalL536" class="li="line" namvalL556"> 556 /a>0;#L553" idalL553" class="line" namvalL553"> 7 q /a>)><7 href="drivers/power/bq2715x_c73rger.c#L493" idalL554" class="limvalL55static int  a h5it inr556 /a>0;#L553" idalL553" class="line" namvalL553"> 7 4n -1;><7 href="drivers/power/bq2715x_c73rger.c#L484" idalL536" class="liboos_static int  a hroos_556 /a>0;#L553" idalL553" class="line" namvalL553"> 7  /a>);><7 href="drivers/power/bq2715x_c73rger.c#L555" idalL555" class="line" namvalL555">735 /a>{><7 href="drivers/power/bq2715x_c73rger.c#L516" 542" class="line" n" a static int  a hm a rren  el"line" namvalL557"> 557 ODE_BOOSTvalL542"> 542 /57"> 557 ODE_BOOSTrren_device /a> * a href="+code=bq" class="sref"75 /a>);><7 href="drivers/power/bq2715x_c73rger.c#L557" idalL557L536" class="liboos_static int  a hroos_556 /a>         a href="+code=val" class="sref">val 75374.a>><7 href="drivers/power/bq2715x_c7arger.c#L438" idalL542" class="line" na a static int  a hm a rren !el"line" namvalL557"> 557 ODE_OFFvalL542"> 542 /57"> 557 ODE_OFFrren_device /a> * a href="+code=bq" class="sref"75L /a>;><7 href="drivers/power/bq2715x_c73rger.c#L539" idalL539" class="line" mvalL55static int  a h5it inr556 /a>         a href="+code=val" class="sref">val 7a> = 0;><7 href="drivers/power/bq2715x_c74rger.c#L550" idalL550" class="line" namvalL550">7;= 500)><7 href="drivers/power/bq2715x_c741ger.c#L477" 542"!" class="line" mvalL55static int  a h5it inr556 _device /a> * a href="+code=bq" class="sref"7a> = 1;><7 href="drivers/power/bq2715x_c74rger.c#L482" idalL482" class="line" ="line" namvalL556"> 556 /a>         a href="+code=exec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coCHARGER_DISABLss="sref">bq /a>,  a hreCHARGER_DISABLs    X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7;= 800)><7 href="drivers/power/bq2715x_c7arger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7;4n -1;><7 href="drivers/power/bq2715x_c7arger.c#L444" 542"!" class="line" boos_static int  a hroos_556 _device /a> * a href="+code=bq" class="sref"7a /a>);><7 href="drivers/power/bq2715x_c74rger.c#L565" idalL565" class="line" ="line" namvalL556"> 556 /a>         a href="+code=exec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coBOOST_MODE_DISABLss="sref">bq /a>,  a hreBOOST_MODE_DISABLs    X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7a> = 3;><7 href="drivers/power/bq2715x_c7arger.c#L546" idalL546" class="line" namvalL546">75464.a>><7 href="drivers/power/bq2715x_c74rger.c#L477" 542" class="line" nne" namvalL558"> 558 /a>        if ( a href="+code=ret" class="sref">ret /a>7al /a>,><7 href="drivers/power/bq2715x_c74rger.c#L498" idalL498" class="line" namvalL559"> 559 /a>                return  a href="+code=ret" class="sref">7T /a>);><7 href="drivers/power/bq2715x_c74rger.c#L469" idalL469" class="line" namvalL469">749 /a>}><7 href="drivers/power/bq2715x_c750ger.c#L536" switch2" class="line" na a static int  a hm a rreni c#L553" idalL553" class="line" namvalL553"> 755.4.a>><7 href="drivers/power/bq2715x_c751ger.c#L477" cas/alL552" class="l57"> 557 ODE_OFFvalL542"> 542 /57"> 557 ODE_OFFrren:#L553" idalL553" class="line" namvalL553"> 75> = 1;><7 href="drivers/power/bq2715x_c75rger.c#L482" idalL482" class="line" a h_dbgvalL542"> 542 /a h_dbgx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"mvanging m a  to: Offers/\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7bq /a>)><7 href="drivers/power/bq2715x_c75rger.c#L563" idalL563"line" namvalL5="line" namvalL556"> 556 /a>         a href="+code=de=b552"> 552 /a>static int  a h="+code=de=b552"> 552 /a>x_i2c_read_mask" class="sref">bq2415x_i2c_rea100X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7b4n -1;><7 href="drivers/power/bq2715x_c75rger.c#L484" idalL482break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7b /a>);><7 href="drivers/power/bq2715x_c75rger.c#L525" cas/alL552" class="l57"> 557 ODE_NONss="sref">bq /a>,  a hre ODE_NONsrren:#L553" idalL553" class="line" namvalL553"> 75> = 3;><7 href="drivers/power/bq2715x_c75rger.c#L496" idalL496" class="line" a h_dbgvalL542"> 542 /a h_dbgx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"mvanging m a  to: N/A\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7b464.a>><7 href="drivers/power/bq2715x_c75rger.c#L557" idalL557L536" class="li="line" namvalL556"> 556 /a>         a href="+code=de=b552"> 552 /a>static int  a h="+code=de=b552"> 552 /a>x_i2c_read_mask" class="sref">bq2415x_i2c_rea100X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7bl /a>,><7 href="drivers/power/bq2715x_c75rger.c#L498" idalL498break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7b /a>);><7 href="drivers/power/bq2715x_c75rger.c#L409" cas/alL552" class="l57"> 557 ODE_HOST_CHARGERs="sref">bq /a>,  a hre ODE_HOST_CHARGERrren:#L553" idalL553" class="line" namvalL553"> 7et /a>;><7 href="drivers/power/bq2715x_c76rger.c#L440" idalL440" class="line" a h_dbgvalL542"> 542 /a h_dbgx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"mvanging m a  to: Hos_/HUBe"mvalLr\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7> == 0)><7 href="drivers/power/bq2715x_c76rger.c#L561" idalL561L536" class="li="line" namvalL556"> 556 /a>         a href="+code=de=b552"> 552 /a>static int  a h="+code=de=b552"> 552 /a>x_i2c_read_mask" class="sref">bq2415x_i2c_rea500X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7rn 100;><7 href="drivers/power/bq2715x_c76rger.c#L482" idalL482break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7> == 1)><7 href="drivers/power/bq2715x_c763ger.c#L409" cas/alL552" class="l57"> 557 ODE_DEDICATED_CHARGERs="sref">bq /a>,  a hre ODE_DEDICATED_CHARGERrren:#L553" idalL553" class="line" namvalL553"> 7e4n -1;><7 href="drivers/power/bq2715x_c76rger.c#L484" idalL482" class="line" a h_dbgvalL542"> 542 /a h_dbgx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"mvanging m a  to: Dedicatede"mvalLr\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7> /a>);><7 href="drivers/power/bq2715x_c76rger.c#L565" idalL565" class="line" ="line" namvalL556"> 556 /a>         a href="+code=de=b552"> 552 /a>static int  a h="+code=de=b552"> 552 /a>x_i2c_read_mask" class="sref">bq2415x_i2c_rea1800X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7r> = 3;><7155 dalL563" class="line7 namv76rger.c#L496" idalL496break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7>464.a>><7 href="drivers/power/bq2715x_c76rger.c#L477" cas/alL552" class="l57"> 557 ODE_BOOSTvalL542"> 542 /57"> 557 ODE_BOOSTrren: c#L521" idalL521" class="Boos_ m a  =        spao class="comment">/* convert to binary *7s /a>);><7 href="drivers/power/bq2715x_c76rger.c#L498" idalL498" class="line" a h_dbgvalL542"> 542 /a h_dbgx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"mvanging m a  to: Boos_\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7> /a>);><7 href="drivers/power/bq2715x_c76rger.c#L539" idalL539" class="line" ="line" namvalL556"> 556 /a>         a href="+code=de=b552"> 552 /a>static int  a h="+code=de=b552"> 552 /a>x_i2c_read_mask" class="sref">bq2415x_i2c_rea100X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM74694.a>><7 href="drivers/power/bq2715x_c77rger.c#L440" idalL440break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7< 0)><7 href="drivers/power/bq2715x_c77rger.c#L561" c#L549" idalL549" class="line" namvalL549"> 7urn -1;><7 href="drivers/power/bq2715x_c77rger.c#L532" idalL532" class="line" namvalL532">7& == 1)><7 href="drivers/power/bq2715x_c77rger.c#L423" 542" class="line" nne" namvalL558"> 558 /a>        if ( a href="+code=ret" class="sref">ret /a>7 /a>) {><7 href="drivers/power/bq2715x_c77rger.c#L484" idalL482" class="line" namvalL559"> 559 /a>                return  a href="+code=ret" class="sref">750 /a>:><7 href="drivers/power/bq2715x_c77rger.c#L555" idalL555" class="line" namvalL555">70A /a>:><7 href="drivers/power/bq2715x_c77rger.c#L516" 542" class="line" nmvalL55static int  a h5it inr556 _device /a> * a href="+code=bq" class="sref"7u6 /a>{><7 href="drivers/power/bq2715x_c77rger.c#L557" idalL557" class="line" ="line" namvalL556"> 556 /a>         a href="+code=exec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coCHARGER_ENABLss="sref">bq /a>,  a hreCHARGER_ENABLsrrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM74 /a>);><7 href="drivers/power/bq2715x_c77rger.c#L438" idalL542" class="line" nboos_static int  a hroos_556 _device /a> * a href="+code=bq" class="sref"752 /a>:><7 href="drivers/power/bq2715x_c77rger.c#L539" idalL539" class="line" ="line" namvalL556"> 556 /a>         a href="+code=exec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coBOOST_MODE_ENABLss="sref">bq /a>,  a hreBOOST_MODE_ENABLsrrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7lt;= 3)><7 href="drivers/power/bq2715x_c78rger.c#L550" idalL550" class="line" namvalL550">7et /a>;><7 href="drivers/power/bq2715x_c781ger.c#L477" 542" class="line" nne" namvalL558"> 558 /a>        if ( a href="+code=ret" class="sref">ret /a>7lrn -1;><7 href="drivers/power/bq2715x_c78rger.c#L482" idalL482" class="line" namvalL559"> 559 /a>                return  a href="+code=ret" class="sref">7urn -1;><7 href="drivers/power/bq2715x_c78rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM753 /a>:><7 href="drivers/power/bq2715x_c7arger.c#L484"          a href="+code=de=bpao cla_36 uestatic int  a href="+code=bpao cla_36 uex_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a hweak_battery_voltagestatic int  a hweak_battery_voltagerrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM73A /a>:><7 href="drivers/power/bq2715x_c78rger.c#L525" idalL525" classine" namde=bpao cla_36 uestatic int  a href="+code=bpao cla_36 uex_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a hbattery_regula 531_voltagestatic int  a hrattery_regula 531_voltagerrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM73A /a>:><7 href="drivers/power/bq2715x_c78rger.c#L546" idalL546" class="line" namvalL546">756 /a>{><7 href="drivers/power/bq2715x_c78rger.c#L557" _read_mask" class="sref">bq2415x_i2c_r8 /a>         a href" a static int  a hm a rren  ce /a> * a href=" a static int  a hm a rren_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM73 /a>);><7 href="drivers/power/bq2715x_c788ger.c#L557" _read_mask" clasysfs_notifystatic int  a hsysfs_notifyx_i2c&>         a hrefss="sref">bq2415x_i2c_r8 /a>         a hrefmvalL55static int  a h5it inr556 .e=bq2415x_devica hvalL542"> 542 /a h2c_r8 /a>         a hrefkobjvalL542"> 542 /kobj2c_read_mask4.a>( a hNULLvalL542"> 542 /NULL2c_read#L533" idalL_liing">"m a "       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM752 /a>:><7 href="drivers/power/bq2715x_c78rger.c#L469" idalL469" class="line" namvalL469">7turn 0;><7 href="drivers/power/bq2715x_c79rger.c#L440" " class0       int  a href="+code=val" class="sref">7> == 1)><7 href="drivers/power/bq2715x_c79rger.c#L411" idalL411" class="line" namvalL411">7turn 1;><7 href="drivers/power/bq2715x_c79rger.c#L549" idalL549" class="line" namvalL549"> 7   else><7 href="drivers/power/bq2715x_c79rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM7urn -1;><7 href="drivers/power/bq2715x_c79rger.c#L521" idalL521" class="hook func 531 called by other T" cla which"linereportedem a  =        spao class="comment">/* convert to binary *755 /a>:><7 href="drivers/power/bq2715x_c79rger.c#L552"void idalL525" classine" namhook_func 531static int  a href="+cohook_func 531x_i2cenum" class="sref">bq2415x_gm a static int  a href="+com a rrence /a> * a href=" a static int  a hm a rren,"void de=bq2415x_devicdataline" namvalL52data> 52if ( a href="+code=ret" class="sref">ret /a>756 /a>:><7 href="drivers/power/bq2715x_c7arger.c#L553" idalL553" class="line" namvalL553"> 7turn 3;><7 href="drivers/power/bq2715x_c79rger.c#L557" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=dataline" namvalL52data> 52       int  a href="+code=val" class="sref">7> /a>);><7 href="drivers/power/bq2715x_c79rger.      int  a href="+code=val" class="sref">7t2 /a>:><7 href="drivers/power/bq2715x_c79rger.c#L539" 542"!" class="line" b" class="sref">bq2415x_device /a> * a href="+code=bq" class="sref"8WN /a>:><8 href="drivers/power/bq2815x_c80rger.c#L440" idalL440" clas       int  a href="+code=val" class="sref">8urn -1;><8 href="drivers/power/bq2815x_c80rger.c#L411" idalL411" class="line" namvalL411">8W2n -1;><8 href="drivers/power/bq2815x_c80rger.c#L482" " class="line" a h_dbgvalL542"> 542 /a h_dbgx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"hook func 531 was called\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8W3n -1;><8 href="drivers/power/bq2815x_c80rger.c#L503" lL552" class="lin="sref">bq2415x_i2c_r8 /a>         a hrefreportedgm a static int  a hreportedgm a rren  ce /a> * a href=" a static int  a hm a rren_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8W4n -1;><8 href="drivers/power/bq2815x_c80rger.c#L514" idalL514" class="line" namvalL514">804 /a>}><8 href="drivers/power/bq2815x_c80rger.c#L525" i#L521" idalL521" class="542autom a  is not enabled do not tell abounereported_m a  =        spao class="comment">/* convert to binary *85054.a>><8 href="drivers/power/bq2815x_c80rger.c#L516" 542" class="line" n="line" namvalL528"> 528 /a>         a hrefautom a line" namvalL52autom a /a>       1_device /a> * a href="+code=bq" class="sref"8W754.a>><8 href="drivers/power/bq2815x_c80rger.c#L557" idalL557" clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8W854.a>><8 href="drivers/power/bq2815x_c80rger.      int  a href="+code=val" class="sref">808 /a>{><8 href="drivers/power/bq2815x_c80rger.c#L409" idalL525" classsysfs_notifystatic int  a hsysfs_notifyx_i2c&>         a hrefss="sref">bq2415x_i2c_r8 /a>         a hrefmvalL55static int  a h5it inr556 .e=bq2415x_devica hvalL542"> 542 /a h2c_r8 /a>         a hrefkobjvalL542"> 542 /kobj2c_read_mask4.a>( a hNULLvalL542"> 542 /NULL2c_read#L533" idalL_liing">"reported_m a "       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8et /a>;><8 href="drivers/power/bq2815x_c810ger.c#L536" idalL556" classline" nade=bm a static int  a href="+code=bm a rrent_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a hbn="sref">bq2415x_i2c_r8 /a>         a hrefreportedgm a static int  a hreportedgm a rrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8ern -1;><8 href="drivers/power/bq2815x_c81rger.c#L411" idalL411" class="line" namvalL411">8e2n -1;><8 href="drivers/power/bq2815x_c81rger.c#L549" idalL549" class="line" namvalL549"> 8< 0)><8 href="drivers/power/bq2815x_c81rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8e4n -1;><8 href="drivers/power/bq2815x_c81rger.c#L521" idalL521" class====etimla func 531s ====        spao class="comment">/* convert to binary *8e4 /a>}><8 href="drivers/power/bq2815x_c81rger.c#L555" idalL555" class="line" namvalL555">8e054.a>><8 href="drivers/power/bq2815x_c81rger.c#L412" idalL412" class="enable/disable2auto"linetting chipetimla =        spao class="comment">/* convert to binary *8e754.a>><8 href="drivers/power/bq2815x_c81rger.c#L552"void idalL525" classine" namde=bautotimlastatic int  a href="+code=bautotimlarrent_limit" class="sref">bq2415x_set_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_device /a> * a href=c#L5rrent_limit4.a>(c#L5r415x_device /a> * a href="+code=bq" class="sref"8 * 10 +><8 href="drivers/power/bq2815x_c81rger.c#L553" idalL553" class="line" namvalL553"> 8e8 /a>{><8 href="drivers/power/bq2815x_c81rger.c#L409" idalL525" classmutex_locsref">ret /a> = mutex_locsx_i2c&>         a hrefssne" natimla_mutexrent_limit4.a>(struct  timla_mutexrrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM819 /a>}><8 href="drivers/power/bq2815x_c82rger.c#L550" idalL550" class="line" namvalL550">81rn -1;><8 href="drivers/power/bq2815x_c821ger.c#L477" 542" class="line" n="line" namvalL528"> 528 /a>         a hrefautotimlastatic int  a hautotimlarren  el"line" namvalL5c#L5rrent_limit4.a>(c#L5r415x_ c#L553" idalL553" class="line" namvalL553"> 8 /spaon><8 href="drivers/power/bq2815x_c82rger.c#L482" idalL482" class="line" mutex_unlocsref">ret /a> = mutex_unlocsx_i2c&>         a hrefssne" natimla_mutexrent_limit4.a>(struct  timla_mutexrrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM81lt; 0)><8 href="drivers/power/bq2815x_c82rger.c#L563" idalL563" clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM814n -1;><8 href="drivers/power/bq2815x_c8arger.c#L424" c#L549" idalL549" class="line" namvalL549"> 8T /a>);><8 href="drivers/power/bq2815x_c82rger.c#L555" idalL555" class="line" namvalL555">8E /a>);><8 href="drivers/power/bq2815x_c826ger.c#L536" idalL556" classliline" namvalL528"> 528 /a>         a hrefautotimlastatic int  a hautotimlarren  l"line" namvalL5c#L5rrent_limit4.a>(c#L5r415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM81754.a>><8 href="drivers/power/bq2815x_c82rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM81* 10 +><8 href="drivers/power/bq2815x_c828ger.c#L477" 542" class="line" nc#L5rrent_limit4.a>(c#L5r415x_ c#L553" idalL553" class="line" namvalL553"> 8 8 /a>{><8 href="drivers/power/bq2815x_c82rger.c#L539" idalL539" class="line" schedule a layedgworsref">ret /a> = schedule a layedgworsx_i2c&>         a hrefss="sref">bq2415x_i2c_r8 /a>         a hrefworsref">ret /a> = worsx_i2ead_mask4.a>( a href="+coTIMERoTIMEOUTvalL542"> 542 /57"> 557TIMERoTIMEOUT="+codad_mask4.a>( a hHZvalL542"> 542 /HZrrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM829 /a>}><8 href="drivers/power/bq2815x_c83rger.c#L440" idalL440" class="line" line" naexec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coTIMERo="+covalL542"> 542 /57"> 557TIMERo="+correnX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM82rn -1;><8 href="drivers/power/bq2815x_c83rger.c#L561" idalL561L536" class="liss="sref">bq2415x_i2c_r8 /a>         a hreftimla_erroastatic int  a htimla_erroarren  l"line" namvalL5NULLvalL542"> 542 /NULL2c_r_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM82/spaon><8 href="drivers/power/bq2815x_c83rger.c#L512" } idalLc#L553" idalL553" class="line" namvalL553"> 8 q /a>)><8 href="drivers/power/bq2815x_c83rger.c#L563" idalL563"line" namvalL5cancel a layedgwors_syncstatic int  a h5ancel a layedgwors_syncx_i2c&>         a hrefss="sref">bq2415x_i2c_r8 /a>         a hrefworsref">ret /a> = worsx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM824n -1;><8 href="drivers/power/bq2815x_c83rger.c#L424" c#L549" idalL549" class="line" namvalL549"> 8  /a>);><8 href="drivers/power/bq2815x_c83rger.c#L555" idalL555" class="line" namvalL555">835 /a>{><8 href="drivers/power/bq2815x_c836ger.c#L536" idalL556" classmutex_unlocsref">ret /a> = mutex_unlocsx_i2c&>         a hrefssne" natimla_mutexrent_limit4.a>(struct  timla_mutexrrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM85 /a>);><8 href="drivers/power/bq2815x_c83rger.c#L549" idalL549" class="line" namvalL549"> 8 * 10 +><8 href="drivers/power/bq2815x_c83rger.      int  a href="+code=val" class="sref">85L /a>;><8 href="drivers/power/bq2815x_c83rger.c#L533" idalL533" class="called by struct  timla_wors onetimla erroa =        spao class="comment">/* convert to binary *8a> = 0;><8 href="drivers/power/bq2815x_c84rger.c#L552"void idalL525" classine" namtimla_erroastatic int  a hine" namtimla_erroarrent_limit" class="sref">bq2415x_set_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_dconsne"mvaode=bq2415x_devicmsgvalL542"> 542 /msg415x_device /a> * a href="+code=bq" class="sref"8;= 500)><8 href="drivers/power/bq2815x_c84rger.c#L553" idalL553" class="line" namvalL553"> 8a> = 1;><8 href="drivers/power/bq2815x_c84rger.c#L482" " class="line" ss="sref">bq2415x_i2c_r8 /a>         a hreftimla_erroastatic int  a htimla_erroarren  l"line" namvalL5msgvalL542"> 542 /msg415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8;= 800)><8 href="drivers/power/bq2815x_c84rger.c#L503" lL552" class="lsysfs_notifystatic int  a hsysfs_notifyx_i2c&>         a hrefss="sref">bq2415x_i2c_r8 /a>         a hrefmvalL55static int  a h5it inr556 .e=bq2415x_devica hvalL542"> 542 /a h2c_r8 /a>         a hrefkobjvalL542"> 542 /kobj2c_read_mask4.a>( a hNULLvalL542"> 542 /NULL2c_read#L533" idalL_liing">"timla"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8;4n -1;><8 href="drivers/power/bq2815x_c84rger.c#L484"          a hrefa h_errvalL542"> 542 /a h_errx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"%s\n"       ead_mask4.a>( a hmsgvalL542"> 542 /msg415x__SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8; /a>);><8 href="drivers/power/bq2815x_c84rger.c#L565" 542" class="line" n="line" namvalL528"> 528 /a>         a hrefautom a line" namvalL52autom a /a>   g    if ( a href="+code=ret" class="sref">ret /a>8a> = 3;><8 href="drivers/power/bq2815x_c84rger.c#L496" idalL496" class="line" ="line" namvalL528"> 528 /a>         a hrefautom a line" namvalL52autom a /a>  a>0;#L553" idalL553" class="line" namvalL553"> 85464.a>><8 href="drivers/power/bq2815x_c84rger.c#L557" _read_mask" classne" nade=bm a static int  a href="+code=bm a rrent_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a h57"> 557 ODE_OFFvalL542"> 542 /57"> 557 ODE_OFFrren_;#L553" idalL553" class="line" namvalL553"> 85* 10 +><8 href="drivers/power/bq2815x_c848ger.c#L557" _read_mask" claine" namde=bautotimlastatic int  a href="+code=bautotimlarrent_read_mask" class="sref">bq2415x_i2c_rea0X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8T /a>);><8 href="drivers/power/bq2815x_c84rger.c#L549" idalL549" class="line" namvalL549"> 849 /a>}><8 href="drivers/power/bq2815x_c85rger.c#L550" idalL550" class="line" namvalL550">855.4.a>><8 href="drivers/power/bq2815x_c85rger.c#L551" idalL551" class="a layed wors func 531 foa auto"linetting chipetimla =        spao class="comment">/* convert to binary *85> = 1;><8 href="drivers/power/bq2815x_c85rger.c#L552"void idalL525" classine" namtimla_worsref">ret /a> = ine" namtimla_worsrrent_limit" class="sref">bwors_slimitref">ret /a> = wors_slimit="+code=bq2415x_devicworsref">ret /a> = worsx_i2Xspao class="comment">/* convert to binary *85= 800)><8 href="drivers/power/bq2815x_c85rger.c#L553" idalL553" class="line" namvalL553"> 8b4n -1;><8 href="drivers/power/bq2815x_c85rger.c#L484" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" claworsref">ret /a> = worsx_i2ea_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+cXc#L514" idalL514" class="val" class="sref">8b /a>);><8 href="drivers/power/bq2815x_c85rger.c#L525"                                          _read_mask" claworsref">ret /a> = worsx_i2.e=bq2415x_devicworsref">ret /a> = worsx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM85> = 3;><8 href="drivers/power/bq2815x_c85rger.c#L496" idalL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM85464.a>><8 href="drivers/power/bq2815x_c85rger.c#L557" idalL536" class="lierroastatic int  a herroarren_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM85* 10 +><8 href="drivers/power/bq2815x_c85rger.c#L498" idalL536" class="liboos_static int  a hroos_556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM85 /a>);><8 href="drivers/power/bq2815x_c85rger.c#L469" idalL469" class="line" namvalL469">8et /a>;><8 href="drivers/power/bq2815x_c86rger.c#L440" 542"!" class="line" b" class="sref">bq2415x8 /a>         a hrefautotimlastatic int  a hautotimlarrenXspao class="comment">/* convert to binary *8> == 0)><8 href="drivers/power/bq2815x_c86rger.c#L561" idalL561" clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8rn 100;><8 href="drivers/power/bq2815x_c86rger.c#L532" idalL532" class="line" namvalL532">8> == 1)><8 href="drivers/power/bq2815x_c86rger.c#L503" lL552" class="l="line" namvalL556"> 556 /a>         a href="+code=exec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coTIMERo="+covalL542"> 542 /57"> 557TIMERo="+correnX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8e4n -1;><8 href="drivers/power/bq2815x_c86rger.c#L484" 542" class="line" nne" namvalL558"> 558 /a>        i c#L553" idalL553" class="line" namvalL553"> 8> /a>);><8 href="drivers/power/bq2815x_c86rger.c#L565" idalL565" class="line" ine" namtimla_erroastatic int  a hine" namtimla_erroarrent_read_mask" class="sref">bq2415x_i2c_read#L533" idalL_liing">"Rinetting timla failed"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8r> = 3;><8155 dalL563" class="line8 namv86rger.c#L496" idalL496" clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8r464.a>><8 href="drivers/power/bq2815x_c86rger.c#L477" c#L549" idalL549" class="line" namvalL549"> 8s /a>);><8 href="drivers/power/bq2815x_c86rger.      int  a href="+code=val" class="sref">8> /a>);><8 href="drivers/power/bq2815x_c86rger.c#L409" idalL525" classloos_static int  a hroos_556 /a>         a href="+code=exec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coBOOST_MODE_STATUSvalL542"> 542 /57"> 557BOOST_MODE_STATUSrrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM84694.a>><8 href="drivers/power/bq2815x_c87rger.c#L440" 542"idalL525" classloos_static int  a hroos_556 /      i c#L553" idalL553" class="line" namvalL553"> 8< 0)><8 href="drivers/power/bq2815x_c87rger.c#L561" idalL561L536" class="lisse" namtimla_erroastatic int  a hine" namtimla_erroarrent_read_mask" class="sref">bq2415x_i2c_read#L533" idalL_liing">"Unknown erroa"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8urn -1;><8 href="drivers/power/bq2815x_c87rger.c#L482" idalL482" clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8u == 1)><8 href="drivers/power/bq2815x_c87rger.c#L423" c#L549" idalL549" class="line" namvalL549"> 8 /a>) {><8 href="drivers/power/bq2815x_c87rger.c#L514" idalL514" class="line" namvalL514">850 /a>:><8 href="drivers/power/bq2815x_c87rger.c#L525" idalL525" classerroastatic int  a herroarren/a>         a href="+code=exec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coFAULT_STATUSvalL542"> 542 /57"> 557FAULT_STATUSrrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM84> = 3;><8 href="drivers/power/bq2815x_c87rger.c#L516" 542" class="line" nerroastatic int  a herroarren/      i c#L553" idalL553" class="line" namvalL553"> 8&464.a>><8 href="drivers/power/bq2815x_c87rger.c#L557" idalL557" class="line" sse" namtimla_erroastatic int  a hine" namtimla_erroarrent_read_mask" class="sref">bq2415x_i2c_read#L533" idalL_liing">"Unknown erroa"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8u /a>);><8 href="drivers/power/bq2815x_c87rger.c#L498" idalL498" clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8u /a>);><8 href="drivers/power/bq2815x_c87rger.c#L539" c#L549" idalL549" class="line" namvalL549"> 8lt;= 3)><8 href="drivers/power/bq2815x_c88rger.c#L550" idalL550" class="line" namvalL550">8et /a>;><8 href="drivers/power/bq2815x_c881ger.c#L477" 542" class="line" nboos_static int  a hroos_556 _ c#L553" idalL553" class="line" namvalL553"> 8lrn -1;><8 href="drivers/power/bq2815x_c88rger.c#L482" idalL482switch2" class="line" nerroastatic int  a herroarren_ c#L553" idalL553" class="line" namvalL553"> 8l == 1)><8 href="drivers/power/bq2815x_c88rger.c#L563" idalL563"#L551" idalL551" class="N31 fatal erroas, chipeis OK =        spao class="comment">/* convert to binary *853 /a>:><8 href="drivers/power/bq2815x_c8arger.c#L484"         cas/a0: c#L521" idalL521" class="No erroa =        spao class="comment">/* convert to binary *83A /a>:><8 href="drivers/power/bq2815x_c88rger.c#L525"                 break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM83A /a>:><8 href="drivers/power/bq2815x_c88rger.c#L496" idalL496cas/a6: c#L521" idalL521" class="Timla expired =        spao class="comment">/* convert to binary *83464.a>><8 href="drivers/power/bq2815x_c88rger.c#L557" idalL557idalL557" class="line" a h_errvalL542"> 542 /a h_errx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"Timla expired\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM83 /a>);><8 href="drivers/power/bq2815x_c88rger.c#L498" idalL498        break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM83 /a>);><8 href="drivers/power/bq2815x_c88rger.c#L539" idalL539cas/a3: c#L521" idalL521" class="Battery voltage too low =        spao class="comment">/* convert to binary *8turn 0;><8 href="drivers/power/bq2815x_c89rger.c#L440" idalL440idalL557" class="line" a h_errvalL542"> 542 /a h_errx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"Battery voltage to low\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8> == 1)><8 href="drivers/power/bq2815x_c89rger.c#L561" idalL561        break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8turn 1;><8 href="drivers/power/bq2815x_c89rger.c#L532" idalL532" class="line" namvalL532">8   else><8 href="drivers/power/bq2815x_c89rger.c#L563" idalL563"#L551" idalL551" class="Fatal erroas, disable2and"linet chipe=        spao class="comment">/* convert to binary *8t3 /a>:><8 href="drivers/power/bq2815x_c89rger.c#L484"         cas/a1: c#L521" idalL521" class="Oommvoltage protec 531 (chipefried)e=        spao class="comment">/* convert to binary *8tA /a>:><8 href="drivers/power/bq2815x_c89rger.c#L525"                 " class="line" sse" namtimla_erroastatic int  a hine" namtimla_erroarrent_read_mask" class="sref">bq2415x_i2c_respao class="comment">/* convert to binary *8tA /a>:><8 href="drivers/power/bq2815x_c89rger.c#L496" idalL496c#L563" idalL563"#L551" idalL_liing">"Oommvoltage protec 531 (chipefried)"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8>464.a>><8 href="drivers/power/bq2815x_c89rger.c#L557" idalL557idalL557" clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM8> /a>);><8 href="drivers/power/bq2815x_c89rger.c#L498" idalL498cas/a2: c#L521" idalL521" class="Oommload =        spao class="comment">/* convert to binary *8t2 /a>:><8 href="drivers/power/bq2815x_c89rger.c#L539" idalL539        " class="line" sse" namtimla_erroastatic int  a hine" namtimla_erroarrent_read_mask" class="sref">bq2415x_i2c_re3"#L551" idalL_liing">"Oommload"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9WN /a>:><9 href="drivers/power/bq2915x_c90rger.c#L440" idalL440idalL557" clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9urn -1;><9 href="drivers/power/bq2915x_c90rger.c#L561" idalL561cas/a4: c#L521" idalL521" class="Battery oommvoltage protec 531 =        spao class="comment">/* convert to binary *9W2n -1;><9 href="drivers/power/bq2915x_c90rger.c#L482" idalL482        " class="line" sse" namtimla_erroastatic int  a hine" namtimla_erroarrent_read_mask" class="sref">bq2415x_i2c_respao class="comment">/* convert to binary *9W3n -1;><9 href="drivers/power/bq2915x_c90rger.c#L563" idalL563idalL482        "#L533" idalL_liing">"Battery oommvoltage protec 531"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9W4n -1;><9 href="drivers/power/bq2915x_c90rger.c#L484"         idalL557" clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9u5n -1;><9 href="drivers/power/bq2915x_c90rger.c#L525"         cas/a5: c#L521" idalL521" class="Thermal shutdown (too hot)e=        spao class="comment">/* convert to binary *95054.a>><9 href="drivers/power/bq2915x_c90rger.c#L496" idalL496c#L563" " class="line" sse" namtimla_erroastatic int  a hine" namtimla_erroarrent_read_mask" class="sref">bq2415x_i2c_respao class="comment">/* convert to binary *9W754.a>><9 href="drivers/power/bq2915x_c90rger.c#L557" idalL557idalL563idalL482        "#L533" idalL_liing">"Thermal shutdown (too hot)"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9W854.a>><9 href="drivers/power/bq2915x_c90rger.c#L498" idalL498        " clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9u954.a>><9 href="drivers/power/bq2915x_c90rger.c#L539" idalL539cas/a7: c#L521" idalL521" class="N/Ae=        spao class="comment">/* convert to binary *9et /a>;><9 href="drivers/power/bq2915x_c91rger.c#L440" idalL440idalL557" class="line" sse" namtimla_erroastatic int  a hine" namtimla_erroarrent_read_mask" class="sref">bq2415x_i2c_read#L533" idalL_liing">"Unknown erroa"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9ern -1;><9 href="drivers/power/bq2915x_c91rger.c#L561" idalL561        " clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9e2n -1;><9 href="drivers/power/bq2915x_c91rger.c#L482" idalL482c#L549" idalL549" class="line" namvalL549"> 9< 0)><9 href="drivers/power/bq2915x_c91rger.c#L423" c idalLc#L553" idalL553" class="line" namvalL553"> 9e4n -1;><9 href="drivers/power/bq2915x_c91rger.c#L484"         switch2" class="line" nerroastatic int  a herroarren_ c#L553" idalL553" class="line" namvalL553"> 9e4 /a>}><9 href="drivers/power/bq2915x_c91rger.c#L565" idalL565"#L551" idalL551" class="N31 fatal erroas, chipeis OK =        spao class="comment">/* convert to binary *9e054.a>><9 href="drivers/power/bq2915x_c91rger.c#L496" idalL496cas/a0: c#L521" idalL521" class="No erroa =        spao class="comment">/* convert to binary *9e754.a>><9 href="drivers/power/bq2915x_c91rger.c#L557" idalL557idalL563break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9 * 10 +><9 href="drivers/power/bq2915x_c91rger.c#L498" idalL498cas/a2: c#L521" idalL521" class="Sleepem a  =        spao class="comment">/* convert to binary *9e8 /a>{><9 href="drivers/power/bq2915x_c91rger.c#L539" idalL539        " class="line" a h_errvalL542"> 542 /a h_errx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"Sleepem a \n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM919 /a>}><9 href="drivers/power/bq2915x_c92rger.c#L440" idalL440idalL557break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM91rn -1;><9 href="drivers/power/bq2915x_c92rger.c#L561" idalL561cas/a3: c#L521" idalL521" class="Pooa input sourc  =        spao class="comment">/* convert to binary *9 /spaon><9 href="drivers/power/bq2915x_c92rger.c#L482" idalL482        " class="line" a h_errvalL542"> 542 /a h_errx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"Pooa input sourc \n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM91lt; 0)><9 href="drivers/power/bq2915x_c92rger.c#L563" idalL563idalL557break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM914n -1;><9 href="drivers/power/bq2915x_c92rger.c#L484"         cas/a6: c#L521" idalL521" class="Timla expired =        spao class="comment">/* convert to binary *9T /a>);><9 href="drivers/power/bq2915x_c92rger.c#L525"                 " class="line" a h_errvalL542"> 542 /a h_errx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"Timla expired\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9E /a>);><9 href="drivers/power/bq2915x_c92rger.c#L496" idalL496c#L563" break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM91754.a>><9 href="drivers/power/bq2915x_c92rger.c#L557" idalL557cas/a7: c#L521" idalL521" class="No rattery =        spao class="comment">/* convert to binary *9T* 10 +><9 href="drivers/power/bq2915x_c92rger.c#L498" idalL498        " class="line" a h_errvalL542"> 542 /a h_errx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"No rattery\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9E8 /a>{><9 href="drivers/power/bq2915x_c92rger.c#L539" idalL539c#L563" break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM929 /a>}><9 href="drivers/power/bq2915x_c93rger.c#L550" idalL550" class="line" namvalL550">92rn -1;><9 href="drivers/power/bq2915x_c93rger.c#L561" idalL561L#L551" idalL551" class="Fatal erroas, disable2and"linet chipe=        spao class="comment">/* convert to binary *92/spaon><9 href="drivers/power/bq2915x_c93rger.c#L482" idalL482cas/a1: c#L521" idalL521" class="Oommvoltage protec 531 (chipefried)e=        spao class="comment">/* convert to binary *9 q /a>)><9 href="drivers/power/bq2915x_c93rger.c#L563" idalL563        " class="line" sse" namtimla_erroastatic int  a hine" namtimla_erroarrent_read_mask" class="sref">bq2415x_i2c_respao class="comment">/* convert to binary *924n -1;><9 href="drivers/power/bq2915x_c93rger.c#L484"         idalL557idalL561L#L551" idalL_liing">"Oommvoltage protec 531 (chipefried)"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9  /a>);><9 href="drivers/power/bq2915x_c93rger.c#L525"                 " clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM935 /a>{><9 href="drivers/power/bq2915x_c93rger.c#L496" idalL496cas/a4: c#L521" idalL521" class="Battery oommvoltage protec 531 =        spao class="comment">/* convert to binary *95 /a>);><9 href="drivers/power/bq2915x_c93rger.c#L557" idalL557idalL557" class="line" sse" namtimla_erroastatic int  a hine" namtimla_erroarrent_read_mask" class="sref">bq2415x_i2c_respao class="comment">/* convert to binary *92* 10 +><9 href="drivers/power/bq2915x_c93rger.c#L498" idalL498        idalL561L#L551" idalL_liing">"Battery oommvoltage protec 531"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM95L /a>;><9 href="drivers/power/bq2915x_c93rger.c#L539" idalL539c#L563" " clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9a> = 0;><9 href="drivers/power/bq2915x_c94rger.c#L440" idalL440cas/a5: c#L521" idalL521" class="Thermal shutdown (too hot)e=        spao class="comment">/* convert to binary *9;= 500)><9 href="drivers/power/bq2915x_c94rger.c#L561" idalL561        " class="line" sse" namtimla_erroastatic int  a hine" namtimla_erroarrent_read_mask" class="sref">bq2415x_i2c_respao class="comment">/* convert to binary *9a> = 1;><9 href="drivers/power/bq2915x_c94rger.c#L482" idalL482        idalL561L#L551" idalL_liing">"Thermal shutdown (too hot)"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9;= 800)><9 href="drivers/power/bq2915x_c94rger.c#L563" idalL563        " clas_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9a4n -1;><9 href="drivers/power/bq2915x_c94rger.c#L484"         c#L549" idalL549" class="line" namvalL549"> 9; /a>);><9 href="drivers/power/bq2915x_c94rger.c#L565" c#L549" idalL549" class="line" namvalL549"> 9;5 /a>{><9 href="drivers/power/bq2915x_c94rger.c#L546" idalL546" class="line" namvalL546">95464.a>><9 href="drivers/power/bq2915x_c94rger.c#L557" _read_mask" claschedule a layedgworsref">ret /a> = schedule a layedgworsx_i2c&>         a hrefss="sref">bq2415x_i2c_r8 /a>         a hrefworsref">ret /a> = worsx_i2ead_mask4.a>( a href="+coTIMERoTIMEOUTvalL542"> 542 /57"> 557TIMERoTIMEOUT="+codad_mask4.a>( a hHZvalL542"> 542 /HZrrenX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM95* 10 +><9 href="drivers/power/bq2915x_c948ger.c#L549" idalL549" class="line" namvalL549"> 9;L /a>;><9 href="drivers/power/bq2915x_c94rger.c#L469" idalL469" class="line" namvalL469">949 /a>}><9 href="drivers/power/bq2915x_c95rger.c#L521" idalL521" class====eclass supply idaerface c a  ====        spao class="comment">/* convert to binary *955.4.a>><9 href="drivers/power/bq2915x_c95rger.c#L411" idalL411" class="line" namvalL411">95> = 1;><9 href="drivers/power/bq2915x_c95rger.c#L552"enum" class="sref">bclass_supply_propertystatic int  a hclass_supply_property="+co" class="line" sse" namclass_supply_propsstatic int  a hine" namclass_supply_props="+c[] = c#L553" idalL553" class="line" namvalL553"> 95= 800)><9 href="drivers/power/bq2915x_c95rger.c#L503" l#L521" idalL521" class="TODO: maybe2addem reeclass supply propertiese=        spao class="comment">/* convert to binary *9b4n -1;><9 href="drivers/power/bq2915x_c95rger.c#L484"          a hrefPOWERoSUPPLY_PROP_STATUSvalL542"> 542 /POWERoSUPPLY_PROP_STATUS2c_respao class="comment">/* convert to binary *9b /a>);><9 href="drivers/power/bq2915x_c95rger.c#L525" idalL525" classPOWERoSUPPLY_PROP_MODEL_NAMEvalL542"> 542 /POWERoSUPPLY_PROP_MODEL_NAME2c_respao class="comment">/* convert to binary *9b5 /a>{><9 href="drivers/power/bq2915x_c95rger.}_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM95464.a>><9 href="drivers/power/bq2915x_c95rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM95* 10 +><9 href="drivers/power/bq2915x_c95rger.c#L552"idalL536" class="libne" namclass_supply_get_propertystatic int  a hbne" namclass_supply_get_propertyx_i2c_limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_respao class="comment">/* convert to binary *9bL /a>;><9 href="drivers/power/bq2915x_c95rger.c#L539" idalL539c#L563"                      enum" class="sref">bclass_supply_propertystatic int  a hclass_supply_property="+co" class="line" pspstatic int  a hcsp2c_respao class="comment">/* convert to binary *9et /a>;><9 href="drivers/power/bq2915x_c96rger.c#L440" idalL440idalL557777777777777777777777un531  class="sref">bclass_supply_propvalstatic int  a hclass_supply_propval="+cod class="sref">bvalstatic int  a hval="+cXspao class="comment">/* convert to binary *9> == 0)><9 href="drivers/power/bq2915x_c96rger.c#L553" idalL553" class="line" namvalL553"> 9rn 100;><9 href="drivers/power/bq2915x_c96rger.c#L482" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+cespao class="comment">/* convert to binary *9e= 800)><9 href="drivers/power/bq2915x_c96rger.c#L563" idalL563idalL482                         e /a> * a href=cvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9e4n -1;><9 href="drivers/power/bq2915x_c96rger.c#L484" 5dalL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9> /a>);><9 href="drivers/power/bq2915x_c96rger.c#L555" idalL555" class="line" namvalL555">9r> = 3;><9155 dalL563" class="line9 namv96rger.c#L496" switch2" class="line" npspstatic int  a hcsp2c_r_ c#L553" idalL553" class="line" namvalL553"> 9r464.a>><9 href="drivers/power/bq2915x_c96rger.c#L477" cas/a         a hrefPOWERoSUPPLY_PROP_STATUSvalL542"> 542 /POWERoSUPPLY_PROP_STATUS2c_r:#L553" idalL553" class="line" namvalL553"> 9r* 10 +><9 href="drivers/power/bq2915x_c96rger.c#L498" idalL498L536" class="li="line" namvalL556"> 556 /a>         a href="+code=exec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a href="+coCHARGE_STATUSvalL542"> 542 /57"> 557CHARGE_STATUS556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9eL /a>;><9 href="drivers/power/bq2915x_c96rger.c#L539" idalL539542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM94694.a>><9 href="drivers/power/bq2915x_c97rger.c#L440" idalL440idalL557" claslL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9< 0)><9 href="drivers/power/bq2915x_c97rger.c#L561" idalL561idalL542" class="line" nne" namvalL558"> 558 /a>  ==  i l#L521" idalL521" class="Ready =        spao class="comment">/* convert to binary *9urn -1;><9 href="drivers/power/bq2915x_c97rger.c#L482" idalL482idalL498L536" class="livalstatic int  a hval="+c8 /a>         a href5davalstatic int  a h5daval556 /a>         a hrefPOWERoSUPPLY_STATUS_NOT7CHARGINGvalL542"> 542 /POWERoSUPPLY_STATUS_NOT7CHARGING556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9&= 800)><9 href="drivers/power/bq2915x_c97rger.c#L563" idalL563idalL542" class="line" nne" namvalL558"> 558 /a>  == 1i l#L521" idalL521" class="C_SHIF 5d progresse=        spao class="comment">/* convert to binary *9 /a>) {><9 href="drivers/power/bq2915x_c97rger.c#L484"         idalL557L536" class="livalstatic int  a hval="+c8 /a>         a href5davalstatic int  a h5daval556 /a>         a hrefPOWERoSUPPLY_STATUS_CHARGINGvalL542"> 542 /POWERoSUPPLY_STATUS_CHARGING556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9& /a>);><9 href="drivers/power/bq2915x_c97rger.c#L525"         idalL542" class="line" nne" namvalL558"> 558 /a>  == 2i l#L521" idalL521" class="C_SHIF don  =        spao class="comment">/* convert to binary *94> = 3;><9 href="drivers/power/bq2915x_c97rger.c#L496" idalL496c#L563" " class="line" valstatic int  a hval="+c8 /a>         a href5davalstatic int  a h5daval556 /a>         a hrefPOWERoSUPPLY_STATUS_FULLvalL542"> 542 /POWERoSUPPLY_STATUS_FULL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9&464.a>><9 href="drivers/power/bq2915x_c97rger.c#L557" idalL557idalSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9&* 10 +><9 href="drivers/power/bq2915x_c97rger.c#L498" idalL498c#L563" " class="line" valstatic int  a hval="+c8 /a>         a href5davalstatic int  a h5daval556 /a>         a hrefPOWERoSUPPLY_STATUS_UNKNOWNvalL542"> 542 /POWERoSUPPLY_STATUS_UNKNOWN556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9&L /a>;><9 href="drivers/power/bq2915x_c97rger.c#L539" idalL539break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9lt;= 3)><9 href="drivers/power/bq2915x_c98rger.c#L440" cas/a         a hrefPOWERoSUPPLY_PROP_MODEL_NAMEvalL542"> 542 /POWERoSUPPLY_PROP_MODEL_NAME2c_r:#L553" idalL553" class="line" namvalL553"> 9et /a>;><9 href="drivers/power/bq2915x_c98rger.c#L561" idalL561L536" class="livalstatic int  a hval="+c8 /a>         a href_livalstatic int  a h_lival556 /a>         a href="="sref">bq2415x_i2c_r8 /a>         a hrefm a lstatic int  a hm a l556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9lrn -1;><9 href="drivers/power/bq2915x_c98rger.c#L482" idalL482break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9l= 800)><9 href="drivers/power/bq2915x_c98rger.c#L563" default:#L553" idalL553" class="line" namvalL553"> 9e/a>) {><9 href="drivers/power/bq2915x_c9arger.c#L484"         " clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9l /a>);><9 href="drivers/power/bq2915x_c98rger.c#L565" c#L549" idalL549" class="line" namvalL549"> 93A /a>:><9 href="drivers/power/bq2915x_c98rger.c#L496" " clasl0;#L553" idalL553" class="line" namvalL553"> 93464.a>><9 href="drivers/power/bq2915x_c98rger.c#L549" idalL549" class="line" namvalL549"> 93 /a>);><9 href="drivers/power/bq2915x_c98rger.      int  a href="+code=val" class="sref">93 /a>);><9 href="drivers/power/bq2915x_c98rger.c#L552"idalL536" class="libne" namclass_supply_ini_static int  a hrne" namclass_supply_ini_x_i2c_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9turn 0;><9 href="drivers/power/bq2915x_c99rger.c#L553" idalL553" class="line" namvalL553"> 9> == 1)><9 href="drivers/power/bq2915x_c99rger.c#L561" 5dalL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9turn 1;><9 href="drivers/power/bq2915x_c992ger.c#L561" 5dalL536" class="lichipstatic int  a h5iip556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9t= 800)><9 href="drivers/power/bq2915x_c99rger.c#L563" X_SHlL536" class="li="v_liine" namvalL556">v_li="+c[8]_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9t/a>) {><9 href="drivers/power/bq2915x_c99rger.c#L514" idalL514" class="line" namvalL514">9tA /a>:><9 href="drivers/power/bq2915x_c99rger.c#L525" idalL525" classss="sref">bq2415x_i2c_r8 /a>         a hrefmvalL55static int  a h5it inr556 .e=bq2415x_devicwer/static int  a hwer/556 /a>         a href="="sref">bq2415x_i2c_r8 /a>         a hrefwer/static int  a hwer/556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9tA /a>:><9 href="drivers/power/bq2915x_c996ger.c#L536" idalL556" classliline" namvalL528"> 528 /a>         a hrefmvalL55static int  a h5it inr556 .e=bq2415x_devictyp/static int  a htyp/556 /a>         a hrefPOWERoSUPPLY_TYPE_USBvalL542"> 542 /POWERoSUPPLY_TYPE_USB556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9t464.a>><9 href="drivers/power/bq2915x_c99rger.c#L557" _read_mask" classline" namvalL528"> 528 /a>         a hrefmvalL55static int  a h5it inr556 .e=bq2415x_devicpropertiesstatic int  a hcroperties556 /a>         a href="+code=class_supply_propsstatic int  a hine" namclass_supply_props="+c_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9t /a>);><9 href="drivers/power/bq2915x_c998ger.c#L557" _read_mask" clain="sref">bq2415x_i2c_r8 /a>         a hrefmvalL55static int  a h5it inr556 .e=bq2415x_devicwum_propertiesstatic int  a hwum_properties556 /a>         a hrefARRAY_SIZEvalL542"> 542 /ARRAY_SIZEx_i2c_read_mask" class+code=class_supply_propsstatic int  a hine" namclass_supply_props="+cX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM9t2 /a>:><9 href="drivers/power/bq2915x_c99rger.c#L409" idalL525" classln="sref">bq2415x_i2c_r8 /a>         a hrefmvalL55static int  a h5it inr556 .e=bq2415x_devicget_propertystatic int  a hget_propertyx_i2/a>         a href="+code=class_supply_get_propertystatic int  a hbne" namclass_supply_get_propertyx_i2_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10WN /a>:><10WN /f="drivers/power/bq210WN >10WNger.c#/pre>
BQ2415X_SHIFT_LIM10W1 /a>:><10Whref="drivers/power/bq210Whr>10W1ger.c#L409" idalL525" class="line" namvalL556"> 556 /a>         a href="+code=detec _chipstatic int  a h="+code=detec _chipx_i2c_read_mask" class="sref">bq2415x_i2c_rX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10W2 /a>:><10Whref="drivers/power/bq210Whr>10W2ger.c#L561" 542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10W3 /a>:><10Whref="drivers/power/bq210Whr>10Wrger.c#L563" idalL563"line" namvalL5chipstatic int  a h5iip556 /a>         a hrefBQUNKNOWNvalL542"> 542 /BQUNKNOWNx_i2_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10W4 /a>:><10Whref="drivers/power/bq210Whr>10Wrger.c#L484" idalSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10W5 /a>:><10Whref="drivers/power/bq210Whr>10Wrger.c#L565" idalL565" class="line" chipstatic int  a h5iip556 /a>         a href="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10W6 /a>:><10Whref="drivers/power/bq210Whr>10Wrger.c#L546" idalL546" class="line" namvalL546">10W7 /a>:><10Whref="drivers/power/bq210Whr>10Wrger.c#L557" _read_mask" cla="line" namvalL556"> 556 /a>         a href="+code=detec _">visionstatic int  a h="+code=detec _">visionx_i2c_read_mask" class="sref">bq2415x_i2c_rX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10W8 /a>:><10Whref="drivers/power/bq210Whr>10W8ger.c#L561" 542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10W9 /a>:><10Whref="drivers/power/bq210Whr>10Wrger.c#L539" idalL539         a href_licpystatic int  a hslicpyx_i2c_read_mask" cla="v_liine" namvalL556">v_li="+cead#L533" idalL_liing">"unknown"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM101N /a>:><10 href="drivers/power/bq210 hr>10 hger.c#L484" idalSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1011 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L561" idalL561L536" class="lispiintfstatic int  a hspiintfx_i2c_read_mask" cla="v_liine" namvalL556">v_li="+cead#L533" idalL_liing">"1.%d"       ead_mask4.a>( a hne" namvalL558"> 558 /a> X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1012 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L532" idalL532" class="line" namvalL532">10 3 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L503" lL552" class="l="="sref">bq2415x_i2c_r8 /a>         a hrefm a lstatic int  a hm a l556 /a>         a hrefkaspiintfstatic int  a hkaspiintfx_i2c_read_mask" claGFP_KERNELvalL542"> 542 /GFP_KERNEL="+cec#L532" idalL532" class="line" namvalL532">10 4 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L484"         idalL557idalL561L#L551" idalL_liing">"chipe%s, ">visione%s, vender c a  %.3d"       ec#L532" idalL532" class="line" namvalL532">10 5 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L525"                                  a href="+code=chip_wer/static int  a h="+code=chip_wer/="+c[" class="line" chipstatic int  a h5iip556 ]ead_mask4.a>( a hnev_liine" namvalL556">v_li="+cec#L532" idalL532" class="line" namvalL532">10 6 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L496" idalL496c#L563" idalL563"        a href="+code=get_vender_ hrestatic int  a h="+code=get_vender_ hrex_i2c_read_mask" class="sref">bq2415x_i2c_rXX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1017 /a>:><10 href="drivers/power/bq210 hr>10 7ger.c#L561" 542"!" class="line" b" class="sref">bq2415x8 /a>         a hrefm a lstatic int  a hm a l556 _ c#L553" idalL553" class="line" namvalL553"> 10 8 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L498" idalL498L536" class="lia h_errvalL542"> 542 /a h_errx_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"failed to allocateem a lower/\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10 9 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L539" idalL539" clasl-         a hrefENOMEMvalL542"> 542 /ENOMEM556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM102N /a>:><10 href="drivers/power/bq210 hr>10 hger.c#L565" c#L549" idalL549" class="line" namvalL549"> 10 1 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L411" idalL411" class="line" namvalL411">10 2 /a>:><10 href="drivers/power/bq210 hr>10 2ger.c#L503" lL552" class="l="line" namvalL556"> 556 /a>         a hrefclass_supply_regist55static int  a hclass_supply_regist55x_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefa hvalL542"> 542 /a h2c_rea&>         a hrefss="sref">bq2415x_i2c_r8 /a>         a hrefcvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10 3 /a>:><10 href="drivers/power/bq210 hr>10 3ger.c#L561" 542"d_mask4.a>( a hne" namvalL558"> 558 /a> X c#L553" idalL553" class="line" namvalL553"> 1024 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L484"                  a hrefkfreestatic int  a hkfreex_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefm a lstatic int  a hm a l556 __SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10 5 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L525"         " claslL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10 6 /a>:><10 href="drivers/power/bq210 hr>10 6ger.c#L565" c#L549" idalL549" class="line" namvalL549"> 10 7 /a>:><10 href="drivers/power/bq210 hr>10 rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10 8 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L498" " clasl0;#L553" idalL553" class="line" namvalL553"> 10 9 /a>:><10 href="drivers/power/bq210 hr>10 9ger.c#L549" idalL549" class="line" namvalL549"> 103N /a>:><10 href="drivers/power/bq210 hr>10 hger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1031 /a>:><10 href="drivers/power/bq210 hr>10 1ger.c#L552"void>         a href="+code=class_supply_exi_static int  a hrne" namclass_supply_exi_x_i2c_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10 2 /a>:><10 href="drivers/power/bq210 hr>10 2ger.c#L553" idalL553" class="line" namvalL553"> 10 3 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L503" lL552" class="l="="sref">bq2415x_i2c_r8 /a>         a hrefautotimlastatic int  a hautotimlarren/a>0;#L553" idalL553" class="line" namvalL553"> 1034 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L484" 542" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>   g    iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1035 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L565" idalL565" class="line" in="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>  a>0;#L553" idalL553" class="line" namvalL553"> 1036 /a>:><10 href="drivers/power/bq210 hr>10 6ger.c#L536" idalL556" classcancel_a layedgwors_syncstatic int  a h5ancel_a layedgwors_syncx_i2c&>         a hrefss="sref">bq2415x_i2c_r8 /a>         a hrefworsref">ret /a> = worsx_i2__SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1037 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L557" _read_mask" claclass_supply_unregist55static int  a hclass_supply_unregist55x_i2c&>         a hrefss="sref">bq2415x_i2c_r8 /a>         a hrefcvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1038 /a>:><10 href="drivers/power/bq210 hr>10 8ger.c#L557" _read_mask" clakfreestatic int  a hkfreex_i2c_read_mask" class="sref">bq2415x_i2c_r8 /a>         a hrefm a lstatic int  a hm a l556 __SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1039 /a>:><10 href="drivers/power/bq210 hr>10 9ger.c#L549" idalL549" class="line" namvalL549"> 104N /a>:><10 href="drivers/power/bq210 hr>10 hger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1041 /a>:><10 href="drivers/power/bq210 hr>10 1ger.c#L521" idalL521" class====eaddi 531al sysfs  clrieseforeclass supply idaerface ====        spao class="comment">/* convert to binary *10 2 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L532" idalL532" class="line" namvalL532">1043 /a>:><10 href="drivers/power/bq210 hr>10 3ger.c#L521" idalL521" class= show =_c#L5us  clriese=        spao class="comment">/* convert to binary *10 4 /a>:><10 href="drivers/power/bq210 hr>10 4ger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_show_c#L5usrent_limit4.a>(struct  sysfs_show_c#L5usx_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *10 5 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L525"                                  _limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1046 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L496" idalL496c#L563" idalL563333333333X_SHlde=bq2415x_deviceufstatic int  a heuf415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1047 /a>:><10 href="drivers/power/bq210 hr>10 7ger.c#L553" idalL553" class="line" namvalL553"> 1048 /a>:><10 href="drivers/power/bq210 hr>10 8ger.c#L557" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1049 /a>:><10 href="drivers/power/bq210 hr>10 9ger.c#L557" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+cec#L532" idalL532" class="line" namvalL532">105N /a>:><10 href="drivers/power/bq210 hr>10 hger.c#L496" idalL496c#L563" idalL5633333333333333333         a hrefcvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1051 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L561" enum" class="sref">b">BQ2415X12"andrent_limit4.a>(struct  412"andx_i2ce /a> * a href=co2"andrent_limit4.a>(412"andx_i2_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1052 /a>:><10 href="drivers/power/bq210 hr>10 2ger.c#L561" 5dalL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1053 /a>:><10 href="drivers/power/bq210 hr>10 3ger.c#L532" idalL532" class="line" namvalL532">1054 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L484" 542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.e=bq2415x_devicwer/static int  a hwer/556 ead#L533" idalL_liing">"otg_c#L5us"       X ==  ic#L532" idalL532" class="line" namvalL532">1055 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L565" idalL565" class="line" co2"andrent_limit4.a>(412"andx_i2/a>         a hrefBQ"> 557OTG_STATUSvalL542"> 542 /57"> 557OTG_STATUS556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1056 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L496" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.e=bq2415x_devicwer/static int  a hwer/556 ead#L533" idalL_liing">"X_SHIF_c#L5us"       X ==  ic#L532" idalL532" class="line" namvalL532">1057 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L557" idalL557" class="line" co2"andrent_limit4.a>(412"andx_i2/a>         a hrefBQ"> 557CHARGE_STATUSvalL542"> 542 /57"> 557CHARGE_STATUS556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1058 /a>:><10 href="drivers/power/bq210 hr>10 8ger.c#L496" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.e=bq2415x_devicwer/static int  a hwer/556 ead#L533" idalL_liing">"boost_c#L5us"       X ==  ic#L532" idalL532" class="line" namvalL532">1059 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L539" idalL539         a hrefco2"andrent_limit4.a>(412"andx_i2/a>         a hrefBQ"> 557BOOST_STATUSvalL542"> 542 /57"> 557BOOST_STATUS556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM106N /a>:><10 href="drivers/power/bq210 hr>10 hger.c#L496" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.e=bq2415x_devicwer/static int  a hwer/556 ead#L533" idalL_liing">"fault_c#L5us"       X ==  ic#L532" idalL532" class="line" namvalL532">1061 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L561" idalL561L536" class="lico2"andrent_limit4.a>(412"andx_i2/a>         a hrefBQ"> 557FAULT_STATUSvalL542"> 542 /57"> 557FAULT_STATUS556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1062 /a>:><10 href="drivers/power/bq210 hr>10 2ger.c#L496" idalSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1063 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L563" idalL563" clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM10 4 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L514" idalL514" class="line" namvalL514">10 5 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L525" idalL525" class="line" namvalL556"> 556 /a>         a href="+code=exec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a hco2"andrent_limit4.a>(412"andx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1066 /a>:><10155 dalL563" class="line10155>10 rger.c#L496" 542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1067 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L557" idalL557" claslL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1068 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L498" " clasl class="line" nspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"%d\n"       ead_mask4.a>( a hne" namvalL558"> 558 /a> X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1069 /a>:><10 href="drivers/power/bq210 hr>10 9ger.c#L549" idalL549" class="line" namvalL549"> 107N /a>:><10 href="drivers/power/bq210 hr>10 hger.c#L514" idalL514" class="line" namvalL514">1071 /a>:><10 href="drivers/power/bq210 hr>10 1ger.c#L521" idalL521" class=       spao class="comment">/* convert to binary *1072 /a>:><10 href="drivers/power/bq210 hr>10 2ger.c#L521" idalL521" clas * net timla entry:       spao class="comment">/* convert to binary *1073 /a>:><10 href="drivers/power/bq210 hr>10 3ger.c#L521" idalL521" clas *    auto - enable2auto mhre/a     spao class="comment">/* convert to binary *1074 /a>:><10 href="drivers/power/bq210 hr>10 4ger.c#L521" idalL521" clas *    off - disable2auto mhre/a     spao class="comment">/* convert to binary *1075 /a>:><10 href="drivers/power/bq210 hr>10 5ger.c#L521" idalL521" clas *    (othla values) - linet chipetimlarr     spao class="comment">/* convert to binary *1076 /a>:><10 href="drivers/power/bq210 hr>10 6ger.c#L521" idalL521" clas *        spao class="comment">/* convert to binary *1077 /a>:><10 href="drivers/power/bq210 hr>10 7ger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_set_timlastatic int  a hq2415x_gsysfs_set_timlax_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *1078 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L498" idalL498        idalL5611111111_limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1079 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L539" idalL539c#L563"                const3X_SHlde=bq2415x_deviceufstatic int  a heuf415xec#L532" idalL532" class="line" namvalL532">108N /a>:><10 href="drivers/power/bq210 hr>10 hger.c#L539" idalL539c#L563"                L536" class="lisize__static int  a hsize__ger.c class="sref">bcoun_static int  a hcoun_415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1081 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L553" idalL553" class="line" namvalL553"> 10 2 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L482" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1083 /a>:><10 href="drivers/power/bq210 hr>10 3ger.c#L482" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="5xec#L532" idalL532" class="line" namvalL532">1084 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L484"         idalL557idalL561                L536" class="licvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1085 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L525" 5dalL536" class="li="line" namvalL556"> 556  a>0;#L553" idalL553" class="line" namvalL553"> 1086 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L546" idalL546" class="line" namvalL546">1087 /a>:><10 href="drivers/power/bq210 hr>10 7ger.c#L561" 542" class="line" nslincmpstatic int  a hslincmprrent_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"auto"       ea4X ==  ic#L532" idalL532" class="line" namvalL532">1088 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L498" idalL498L536" class="liq2415x_gset_autotimlastatic int  a hq2415x_gset_autotimlax_i2c_read_mask" class="sref">bq2415x_i2c_rea1X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1089 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L539" idalL542" class="line" nslincmpstatic int  a hslincmprrent_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"off"       ea3X ==  ic#L532" idalL532" class="line" namvalL532">109N /a>:><10 href="drivers/power/bq210 hr>10 hger.c#L498" idalL498L536" class="liq2415x_gset_autotimlastatic int  a hq2415x_gset_autotimlax_i2c_read_mask" class="sref">bq2415x_i2c_rea0X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1091 /a>:><10 href="drivers/power/bq210 hr>10 1ger.c#L539" idalSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1092 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L482" idalL482idalL525" class="line" namvalL556"> 556 /a>         a href="+code=exec_412"andrent_limit4.a>(struct  exec_412"andx_i2c_read_mask" class="sref">bq2415x_i2c_read_mask4.a>( a h57"> 557TIMERoRESETvalL542"> 542 /57"> 557TIMERoRESET556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1093 /a>:><10 href="drivers/power/bq210 hr>10 3ger.c#L532" idalL532" class="line" namvalL532">1094 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L484" 542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1095 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L525"         " claslL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1096 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L496" " clasl class="sref">bcoun_static int  a hcoun_415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1097 /a>:><10 href="drivers/power/bq210 hr>10 rger.c#L549" idalL549" class="line" namvalL549"> 10 8 /a>:><10 href="drivers/power/bq210 hr>10 rger.      int  a href="+code=val" class="sref">10 9 /a>:><10 href="drivers/power/bq210 hr>10 9ger.c#L521" idalL521" class= show timla entry (auto or off)e=        spao class="comment">/* convert to binary *11WN /a>:><11WN /f="drivers/power/bq211WN >11WNger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_show_timlastatic int  a hq2415x_gsysfs_show_timlax_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *11W1 /a>:><11Whref="drivers/power/bq211Whr>110rger.c#L561" idalL561111111111111111111111111_limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">11W2 /a>:><11Whref="drivers/power/bq211Whr>110rger.c#L482" idalL482222222222222222222222222X_SHlde=bq2415x_deviceufstatic int  a heuf415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11W3 /a>:><11Whref="drivers/power/bq211Whr>11Wrger.c#L553" idalL553" class="line" namvalL553"> 11W4 /a>:><11Whref="drivers/power/bq211Whr>11Wrger.c#L484" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_L> 11W5 /a>:><11Whref="drivers/power/bq211Whr>11Wrger.c#L565" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="5xec#L532" idalL532" class="line" namvalL532">11W6 /a>:><11Whref="drivers/power/bq211Whr>110rger.c#L496" idalL496c#L563" idalL56333333333333333333L536" class="licvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11W7 /a>:><11Whref="drivers/power/bq211Whr>110rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11W8 /a>:><11Whref="drivers/power/bq211Whr>11W8ger.c#L561" 542" class="line" nss="sref">bq2415x_i2c_r8 /a>         a hreftimla_erro5static int  a htimla_erro5415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11W9 /a>:><11Whref="drivers/power/bq211Whr>11Wrger.c#L539" idalL539" clasl class="line" nspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"%s\n"       ead_mask4.a>( a hss="sref">bq2415x_i2c_r8 /a>         a hreftimla_erro5static int  a htimla_erro5415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM111N /a>:><11 href="drivers/power/bq211 hr>111hger.c#L514" idalL514" class="line" namvalL514">1111 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L561" 542" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefautotimlastatic int  a hautotimlarreniSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1112 /a>:><11 href="drivers/power/bq211 hr>111rger.c#L482" idalL482" clasl class="line" nspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"auto\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11 3 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L503" " clasl class="line" nspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"off\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11 4 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L549" idalL549" class="line" namvalL549"> 11 5 /a>:><11 href="drivers/power/bq211 hr>111rger.c#L555" idalL555" class="line" namvalL555">1116 /a>:><11 href="drivers/power/bq211 hr>1116ger.c#L521" idalL521" class=       spao class="comment">/* convert to binary *1117 /a>:><11 href="drivers/power/bq211 hr>11 7ger.c#L521" idalL521" clas * net mhre entry:       spao class="comment">/* convert to binary *11 8 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L521" idalL521" clas *    auto - 542automhre is supported, enable2it and net mhre to reported       spao class="comment">/* convert to binary *11 9 /a>:><11 href="drivers/power/bq211 hr>1119ger.c#L521" idalL521" clas *    non  - disable2to bina and boost mhre/a     spao class="comment">/* convert to binary *112N /a>:><11 href="drivers/power/bq211 hr>11 hger.c#L521" idalL521" clas *    host -2to biing mhre forehost/hub2to binas (curr cl limit 500mA)/a     spao class="comment">/* convert to binary *1121 /a>:><11 href="drivers/power/bq211 hr>1121ger.c#L521" idalL521" clas *    dedicated -2to biing mhre forededicated to binas (unlimited turr cl limit)/a     spao class="comment">/* convert to binary *1122 /a>:><11 href="drivers/power/bq211 hr>1122ger.c#L521" idalL521" clas *    boost - disable2to bina and enable2boost mhre/a     spao class="comment">/* convert to binary *1123 /a>:><11 href="drivers/power/bq211 hr>1123ger.c#L521" idalL521" clas *        spao class="comment">/* convert to binary *1124 /a>:><11 href="drivers/power/bq211 hr>1124ger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_set_mhrestatic int  a hq2415x_gsysfs_set_mhrex_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *11 5 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L525"                               _limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">11 6 /a>:><11 href="drivers/power/bq211 hr>112rger.c#L496" idalL496c#L563" idalL563333333const3X_SHlde=bq2415x_deviceufstatic int  a heuf415xec#L532" idalL532" class="line" namvalL532">11 7 /a>:><11 href="drivers/power/bq211 hr>112rger.c#L557" idalL5577777777777777777777777L536" class="lisize__static int  a hsize__ger.c class="sref">bcoun_static int  a hcoun_415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11 8 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L553" idalL553" class="line" namvalL553"> 11 9 /a>:><11 href="drivers/power/bq211 hr>1129ger.c#L557" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_L> 113N /a>:><11 href="drivers/power/bq211 hr>1130ger.c#L557" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="5xec#L532" idalL532" class="line" namvalL532">1131 /a>:><11 href="drivers/power/bq211 hr>113rger.c#L561" idalL561111111111111111111111111777777777L536" class="licvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11 2 /a>:><11 href="drivers/power/bq211 hr>1132ger.c#L496" inum" class="sref">b">BQ2415mhrestatic int  a hq2415x_gmhre/a>   class="sref">bmhrestatic int  a hmhre/a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11 3 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L503" 5dalL536" class="li="line" namvalL556"> 556  a>0;#L553" idalL553" class="line" namvalL553"> 1134 /a>:><11 href="drivers/power/bq211 hr>113rger.c#L514" idalL514" class="line" namvalL514">1135 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L565" 542" class="line" nslincmpstatic int  a hslincmprrent_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"auto"       ea4X ==  i c#L553" idalL553" class="line" namvalL553"> 1136 /a>:><11 href="drivers/power/bq211 hr>113rger.c#L496" idalL496542" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1137 /a>:><11 href="drivers/power/bq211 hr>113rger.c#L557" idalL55777777777" clasl-         a hrefENOSYSvalL542"> 542 /ENOSYS/a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11 8 /a>:><11 href="drivers/power/bq211 hr>113rger.c#L498" idalL498L536" class="liq2="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>  = 1_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11 9 /a>:><11 href="drivers/power/bq211 hr>113rger.c#L539" idalL539         a hrefmhrestatic int  a hmhre/a> /a>         a href="="sref">bq2415x_i2c_r8 /a>         a hrefreported5mhrestatic int  a hreported5mhre/a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM114N /a>:><11 href="drivers/power/bq211 hr>114hger.c#L565" c idalL542" class="line" nslincmpstatic int  a hslincmprrent_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"off"       ea3X ==  i c#L553" idalL553" class="line" namvalL553"> 1141 /a>:><11 href="drivers/power/bq211 hr>114rger.c#L561" idalL561542" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>   g    iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11 2 /a>:><11 href="drivers/power/bq211 hr>114rger.c#L482" idalL48222222222L536" class="liq2="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>  = 0;#L553" idalL553" class="line" namvalL553"> 1143 /a>:><11 href="drivers/power/bq211 hr>114rger.c#L563" idalL563"line" namvalL5mhrestatic int  a hmhre/a> /a>         a href57"> 557MODE_OFFvalL542"> 542 /57"> 557MODE_OFF/a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1144 /a>:><11 href="drivers/power/bq211 hr>1144ger.c#L565" c idalL542" class="line" nslincmpstatic int  a hslincmprrent_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"non "       ea4X ==  i c#L553" idalL553" class="line" namvalL553"> 11 5 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L525"         542" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>   g    iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11 6 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L496" idalL496c#L563" L536" class="liq2="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>  = 0;#L553" idalL553" class="line" namvalL553"> 1147 /a>:><11 href="drivers/power/bq211 hr>114rger.c#L557" idalL557" class="line" mhrestatic int  a hmhre/a> /a>         a href57"> 557MODE_NONEvalL542"> 542 /57"> 557MODE_NONE/a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1148 /a>:><11 href="drivers/power/bq211 hr>11 8ger.c#L557" c idalL542" class="line" nslincmpstatic int  a hslincmprrent_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"host"       ea4X ==  i c#L553" idalL553" class="line" namvalL553"> 11 9 /a>:><11 href="drivers/power/bq211 hr>114rger.c#L539" idalL539542" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>   g    iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM115N /a>:><11 href="drivers/power/bq211 hr>11 hger.c#L496" idalL496c#L563" L536" class="liq2="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>  = 0;#L553" idalL553" class="line" namvalL553"> 1151 /a>:><11 href="drivers/power/bq211 hr>115rger.c#L561" idalL561L536" class="limhrestatic int  a hmhre/a> /a>         a href57"> 557MODE_HOST_CHARGERvalL542"> 542 /57"> 557MODE_HOST_CHARGER/a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1152 /a>:><11 href="drivers/power/bq211 hr>11 2ger.c#L561" c idalL542" class="line" nslincmpstatic int  a hslincmprrent_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"dedicated"       ea9X ==  i c#L553" idalL553" class="line" namvalL553"> 1153 /a>:><11 href="drivers/power/bq211 hr>115rger.c#L563" idalL563542" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>   g    iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1154 /a>:><11 href="drivers/power/bq211 hr>115rger.c#L484"         idalL557L536" class="liq2="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>  = 0;#L553" idalL553" class="line" namvalL553"> 1155 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L565" idalL565" class="line" mhrestatic int  a hmhre/a> /a>         a href57"> 557MODE_DEDICATED_CHARGERvalL542"> 542 /57"> 557MODE_DEDICATED_CHARGER/a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1156 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L496" c idalL542" class="line" nslincmpstatic int  a hslincmprrent_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"boost"       ea5X ==  i c#L553" idalL553" class="line" namvalL553"> 1157 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L557" idalL557542" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>   g    iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1158 /a>:><11 href="drivers/power/bq211 hr>115rger.c#L498" idalL498        L536" class="liq2="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>  = 0;#L553" idalL553" class="line" namvalL553"> 1159 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L539" idalL539         a hrefmhrestatic int  a hmhre/a> /a>         a href57"> 557MODE_BOOSTvalL542"> 542 /57"> 557MODE_BOOST/a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM116N /a>:><11 href="drivers/power/bq211 hr>116hger.c#L565" c idalL542" class="line" nslincmpstatic int  a hslincmprrent_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"linet"       ea5X ==  i c#L553" idalL553" class="line" namvalL553"> 1161 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L561" idalL561L536" class="liline" nalinet_chipstatic int  a hline" nalinet_chiprrent_read_mask" claes="sref">bq2415x_i2c_rX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1162 /a>:><11 href="drivers/power/bq211 hr>116rger.c#L482" idalL482idalL525" classq2415x_gset_defaultsrent_limit4.a>(struct  set_defaultsrrent_read_mask" claes="sref">bq2415x_i2c_rX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1163 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L563" idalL563542" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>      =  ic#L532" idalL532" class="line" namvalL532">11 4 /a>:><11 href="drivers/power/bq211 hr>116rger.c#L484"         idalL557" clasl class="sref">bcoun_static int  a hcoun_415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM11 5 /a>:><11 href="drivers/power/bq211 hr>116rger.c#L565" idalL565" class="line" q2="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>  = 1_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1166 /a>:><11155 dalL563" class="line11155>116rger.c#L496" idalL496         a hrefmhrestatic int  a hmhre/a> /a>         a href="="sref">bq2415x_i2c_r8 /a>         a hrefreported5mhrestatic int  a hreported5mhre/a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1167 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L557" c idalLc#L553" idalL553" class="line" namvalL553"> 1168 /a>:><11 href="drivers/power/bq211 hr>116rger.c#L498" idalL498" clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1169 /a>:><11 href="drivers/power/bq211 hr>116rger.c#L539" c#L549" idalL549" class="line" namvalL549"> 117N /a>:><11 href="drivers/power/bq211 hr>11 hger.c#L514" idalL514" class="line" namvalL514">1171 /a>:><11 href="drivers/power/bq211 hr>117rger.c#L561" L536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gset_mhrestatic int  a hq2415x_gset_mhrex_i2c         a href="="sref">bq2415x_i2c_read_mask4.a>( a hmhrestatic int  a hmhre/a> X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1172 /a>:><11 href="drivers/power/bq211 hr>1172ger.c#L561" 542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1173 /a>:><11 href="drivers/power/bq211 hr>117rger.c#L563" idalL563" clasl class="line" nne" namvalL558"> 558 /a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1174 /a>:><11 href="drivers/power/bq211 hr>117rger.c#L484" " clasl class="sref">bcoun_static int  a hcoun_415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1175 /a>:><11 href="drivers/power/bq211 hr>11 5ger.c#L549" idalL549" class="line" namvalL549"> 1176 /a>:><11 href="drivers/power/bq211 hr>117rger.c#L546" idalL546" class="line" namvalL546">1177 /a>:><11 href="drivers/power/bq211 hr>1177ger.c#L521" idalL521" class= show mhre entry (auto, non ,ehost,ededicated or2boost)e=        spao class="comment">/* convert to binary *1178 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_show_mhrestatic int  a hq2415x_gsysfs_show_mhrex_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *1179 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L539" idalL539c#L563"                _limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">118N /a>:><11 href="drivers/power/bq211 hr>11 hger.c#L539" idalL539c#L563"                X_SHlde=bq2415x_deviceufstatic int  a heuf415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1181 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L553" idalL553" class="line" namvalL553"> 11 2 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L482" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">Be" namvalL553"> 11 3 /a>:><11 href="drivers/power/bq211 hr>11 3ger.c#L482" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="5xec#L532" idalL532" class="line" namvalL532">1184 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L484"         idalL557idalL561                L536" class="licvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1185 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L525" L536" class="lissize__static int  a hssize__ger.c class="sref">b="line" namvalL556"> 556  a>0;#L553" idalL553" class="line" namvalL553"> 1186 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L546" idalL546" class="line" namvalL546">1187 /a>:><11 href="drivers/power/bq211 hr>11 7ger.c#L561" 542" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>   g    iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1188 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L498" idalL498L536" class="li="line" namvalL556"> 556  + ce /a> * a href=spiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 ead#L533" idalL_liing">"auto ("       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1189 /a>:><11 href="drivers/power/bq211 hr>11 rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM119N /a>:><11 href="drivers/power/bq211 hr>11 hger.c#L498" switch2" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefmhrestatic int  a hmhre/a> XLc#L553" idalL553" class="line" namvalL553"> 1191 /a>:><11 href="drivers/power/bq211 hr>11 1ger.c#L539" case>         a href57"> 557MODE_OFFvalL542"> 542 /57"> 557MODE_OFF/a> :#L553" idalL553" class="line" namvalL553"> 1192 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L482" idalL482idalL525" class="line" namvalL556"> 556 /+ ce /a> * a href=spiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 ead#L533" idalL_liing">"off"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1193 /a>:><11 href="drivers/power/bq211 hr>119rger.c#L563" idalL563break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1194 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L484" case>         a href57"> 557MODE_NONEvalL542"> 542 /57"> 557MODE_NONE/a> :#L553" idalL553" class="line" namvalL553"> 1195 /a>:><11 href="drivers/power/bq211 hr>11 rger.c#L525"         idalL525" class="line" namvalL556"> 556 /+ ce /a> * a href=spiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 ead#L533" idalL_liing">"non "       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1196 /a>:><11 href="drivers/power/bq211 hr>119rger.c#L496" idalL496break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1197 /a>:><11 href="drivers/power/bq211 hr>1197ger.c#L484" case>         a href57"> 557MODE_HOST_CHARGERvalL542"> 542 /57"> 557MODE_HOST_CHARGER/a> :#L553" idalL553" class="line" namvalL553"> 1198 /a>:><11 href="drivers/power/bq211 hr>119rger.c#L498" idalL498L536" class="li="line" namvalL556"> 556  + ce /a> * a href=spiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 ead#L533" idalL_liing">"host"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1199 /a>:><11 href="drivers/power/bq211 hr>119rger.c#L539" idalL539break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12WN /a>:><12WN /f="drivers/power/bq212WN >1200ger.c#L484" case>         a href57"> 557MODE_DEDICATED_CHARGERvalL542"> 542 /57"> 557MODE_DEDICATED_CHARGER/a> :#L553" idalL553" class="line" namvalL553"> 12W1 /a>:><12Whref="drivers/power/bq212Whr>120rger.c#L561" idalL561L536" class="li="line" namvalL556"> 556  + ce /a> * a href=spiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 ead#L533" idalL_liing">"dedicated"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12W2 /a>:><12Whref="drivers/power/bq212Whr>120rger.c#L482" idalL482break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12W3 /a>:><12Whref="drivers/power/bq212Whr>1203ger.c#L484" case>         a href57"> 557MODE_BOOSTvalL542"> 542 /57"> 557MODE_BOOST/a> :#L553" idalL553" class="line" namvalL553"> 12W4 /a>:><12Whref="drivers/power/bq212Whr>120rger.c#L484"         L536" class="li="line" namvalL556"> 556  + ce /a> * a href=spiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 ead#L533" idalL_liing">"boost"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12W5 /a>:><12Whref="drivers/power/bq212Whr>120rger.c#L525"         break_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12W6 /a>:><12Whref="drivers/power/bq212Whr>120rger.c#L496" c#L549" idalL549" class="line" namvalL549"> 12W7 /a>:><12Whref="drivers/power/bq212Whr>120rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12W8 /a>:><12Whref="drivers/power/bq212Whr>12W8ger.c#L561" 542" class="line" nss="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>   g    iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12W9 /a>:><12Whref="drivers/power/bq212Whr>12Wrger.c#L539" idalL539L536" class="li="line" namvalL556"> 556  + ce /a> * a href=spiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 ead#L533" idalL_liing">")"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM121N /a>:><12 href="drivers/power/bq212 hr>121hger.c#L514" idalL514" class="line" namvalL514">1211 /a>:><12 href="drivers/power/bq212 hr>121rger.c#L561" L536" class="li="line" namvalL556"> 556  + ce /a> * a href=spiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 ead#L533" idalL_liing">"\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1212 /a>:><12 href="drivers/power/bq212 hr>121rger.c#L482" " clasl class="line" nne" namvalL558"> 558 /a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12 3 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L549" idalL549" class="line" namvalL549"> 12 4 /a>:><12 href="drivers/power/bq212 hr>121rger.c#L514" idalL514" class="line" namvalL514">12 5 /a>:><12 href="drivers/power/bq212 hr>1215ger.c#L521" idalL521" class= show reported5mhre entry (non ,ehost,ededicated or2boost)e=        spao class="comment">/* convert to binary *1216 /a>:><12 href="drivers/power/bq212 hr>1216ger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_show_reported5mhrestatic int  a hq2415x_gsysfs_show_reported5mhrex_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *1217 /a>:><12 href="drivers/power/bq212 hr>121rger.c#L557" idalL55777777777777777777777777777777777_limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">12 8 /a>:><12 href="drivers/power/bq212 hr>121rger.c#L498" idalL498        idalL5611111111111111111X_SHlde=bq2415x_deviceufstatic int  a heuf415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12 9 /a>:><12 href="drivers/power/bq212 hr>1219ger.c#L553" idalL553" class="line" namvalL553"> 122N /a>:><12 href="drivers/power/bq212 hr>1220ger.c#L557" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">Be" namvalL553"> 1221 /a>:><12 href="drivers/power/bq212 hr>1221ger.c#L557" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+cec#L532" idalL532" class="line" namvalL532">1222 /a>:><12 href="drivers/power/bq212 hr>122rger.c#L482" idalL482222222222222222222222222222222222L536" class="licvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1223 /a>:><12 href="drivers/power/bq212 hr>1223ger.c#L532" idalL532" class="line" namvalL532">1224 /a>:><12 href="drivers/power/bq212 hr>122rger.c#L484" 542" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefautomhrestatic int  a hautomhre/a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12 5 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L525"         " clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12 6 /a>:><12 href="drivers/power/bq212 hr>122rger.c#L546" idalL546" class="line" namvalL546">12 7 /a>:><12 href="drivers/power/bq212 hr>122rger.c#L557" switch2" class="line" n="="sref">bq2415x_i2c_r8 /a>         a hrefreported5mhrestatic int  a hreported5mhre/a> XLc#L553" idalL553" class="line" namvalL553"> 12 8 /a>:><12 href="drivers/power/bq212 hr>122rger.c#L498" case>         a href57"> 557MODE_OFFvalL542"> 542 /57"> 557MODE_OFF/a> :#L553" idalL553" class="line" namvalL553"> 12 9 /a>:><12 href="drivers/power/bq212 hr>122rger.c#L539" idalL539" clasl class="line" nspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"off\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM123N /a>:><12 href="drivers/power/bq212 hr>1230ger.c#L484" case>         a href57"> 557MODE_NONEvalL542"> 542 /57"> 557MODE_NONE/a> :#L553" idalL553" class="line" namvalL553"> 1231 /a>:><12 href="drivers/power/bq212 hr>123rger.c#L561" idalL561" clasl class="line" nspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"non \n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1232 /a>:><12 href="drivers/power/bq212 hr>1232ger.c#L496" case>         a href57"> 557MODE_HOST_CHARGERvalL542"> 542 /57"> 557MODE_HOST_CHARGER/a> :#L553" idalL553" class="line" namvalL553"> 12 3 /a>:><12 href="drivers/power/bq212 hr>123rger.c#L563" idalL563" clasl class="line" nspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"host\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1234 /a>:><12 href="drivers/power/bq212 hr>123rger.c#L484" case>         a href57"> 557MODE_DEDICATED_CHARGERvalL542"> 542 /57"> 557MODE_DEDICATED_CHARGER/a> :#L553" idalL553" class="line" namvalL553"> 1235 /a>:><12 href="drivers/power/bq212 hr>123rger.c#L525"         " clasl class="line" nspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"dedicated\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1236 /a>:><12 href="drivers/power/bq212 hr>123rger.c#L496" case>         a href57"> 557MODE_BOOSTvalL542"> 542 /57"> 557MODE_BOOST/a> :#L553" idalL553" class="line" namvalL553"> 1237 /a>:><12 href="drivers/power/bq212 hr>123rger.c#L557" idalL557" clasl class="line" nspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"boost\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1238 /a>:><12 href="drivers/power/bq212 hr>123rger.c#L498" c#L549" idalL549" class="line" namvalL549"> 12 9 /a>:><12 href="drivers/power/bq212 hr>123rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM124N /a>:><12 href="drivers/power/bq212 hr>124hger.c#L565" " clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1241 /a>:><12 href="drivers/power/bq212 hr>124rger.c#L549" idalL549" class="line" namvalL549"> 12 2 /a>:><12 href="drivers/power/bq212 hr>124rger.#L549" idalL549" class="line" namvalL549"> 12 3 /a>:><12 href="drivers/power/bq212 hr>1243ger.c#L521" idalL521" clas/* directly net raw value to chip " gister, format: '" gister value'e=        spao class="comment">/* convert to binary *1244 /a>:><12 href="drivers/power/bq212 hr>1244ger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_set_" gistersrent_limit4.a>(struct  sysfs_set_" gistersx_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *12 5 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L525"                                    _limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">12 6 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L496" idalL496c#L563"                    const3X_SHlde=bq2415x_deviceufstatic int  a heuf415xec#L532" idalL532" class="line" namvalL532">1247 /a>:><12 href="drivers/power/bq212 hr>124rger.c#L557" idalL557777777777777777777777777777L536" class="lisize__static int  a hsize__ger.c class="sref">bcoun_static int  a hcoun_415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1248 /a>:><12 href="drivers/power/bq212 hr>124rger.c#L553" idalL553" class="line" namvalL553"> 12 9 /a>:><12 href="drivers/power/bq212 hr>1249ger.c#L557" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">BQ" namvalL553"> 125N /a>:><12 href="drivers/power/bq212 hr>1250ger.c#L557" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+cec#L532" idalL532" class="line" namvalL532">1251 /a>:><12 href="drivers/power/bq212 hr>125rger.c#L561" idalL561alL557777777777777777777777777777L536" class="licvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1252 /a>:><12 href="drivers/power/bq212 hr>12 2ger.c#L561" L536" class="lissize__static int  a hssize__ger.c class="sref">b="line" namvalL556"> 556  a>0;#L553" idalL553" class="line" namvalL553"> 1253 /a>:><12 href="drivers/power/bq212 hr>125rger.c#L563" unsigned 5dalL536" class="li="gine" namvalL556">g556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1254 /a>:><12 href="drivers/power/bq212 hr>125rger.c#L484" unsigned 5dalL536" class="livaline" namvalL556val556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1255 /a>:><12 href="drivers/power/bq212 hr>125rger.c#L555" idalL555" class="line" namvalL555">1256 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L496" 542" class="line" nsscanfstatic int  a hsscanfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"%x %x"       ea&>         a hrefregine" namvalL556">g556 ea&>         a hrefvaline" namvalL556val556 ) != 2iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1257 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L557" idalL557" clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1258 /a>:><12 href="drivers/power/bq212 hr>125rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1259 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L539" 542" class="line" nnegine" namvalL556">g556   g   4 ||lL536" class="livaline" namvalL556val556   g   25riSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM126N /a>:><12 href="drivers/power/bq212 hr>126hger.c#L539" idalL539" clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1261 /a>:><12 href="drivers/power/bq212 hr>12 rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1262 /a>:><12 href="drivers/power/bq212 hr>1262ger.c#L561" L536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gi2c_writrrent_limit4.a>(q2415x_gi2c_writrx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a hregine" namvalL556">g556 ea         a hrefvaline" namvalL556val556 )_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1263 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L563" 542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12 4 /a>:><12 href="drivers/power/bq212 hr>126rger.c#L484"         " clasl class="line" nne" namvalL558"> 558 /a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM12 5 /a>:><12 href="drivers/power/bq212 hr>126rger.c#L565" " clasl class="sref">bcoun_static int  a hcoun_415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1266 /a>:><12155 dalL563" class="line12155>126rger.c#L549" idalL549" class="line" namvalL549"> 1267 /a>:><12 href="drivers/power/bq212 hr>126rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1268 /a>:><12 href="drivers/power/bq212 hr>126rger.c#L521" idalL521" clas/* piint value of chip " gister, format: '" gister=value'e=        spao class="comment">/* convert to binary *1269 /a>:><12 href="drivers/power/bq212 hr>126rger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_piint_regine" namvalL556q2415x_gsysfs_piint_regx_i2c_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415xec#L532" idalL532" class="line" namvalL532">127N /a>:><12 href="drivers/power/bq212 hr>127hger.c#L539" idalL539c#L563"                e=bq2415x_devicu8 class="sref">bu8ger.c class="sref">b="gine" namvalL556">g556 ec#L532" idalL532" class="line" namvalL532">1271 /a>:><12 href="drivers/power/bq212 hr>127rger.c#L561" idalL561alL55777777777777777777X_SHlde=bq2415x_deviceufstatic int  a heuf415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1272 /a>:><12 href="drivers/power/bq212 hr>1272ger.c#L553" idalL553" class="line" namvalL553"> 1273 /a>:><12 href="drivers/power/bq212 hr>127rger.c#L503" 5dalL536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gi2c_readrent_limit4.a>(q2415x_gi2c_readx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a hregine" namvalL556">g556 )_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1274 /a>:><12 href="drivers/power/bq212 hr>127rger.c#L514" idalL514" class="line" namvalL514">1275 /a>:><12 href="drivers/power/bq212 hr>127rger.c#L565" 542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1276 /a>:><12 href="drivers/power/bq212 hr>127rger.c#L496" idalL496" clasl class="line" nspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"%#.2x=error %d\n"       ead_mask4.a>( a hregine" namvalL556">g556 ea         a hrefne" namvalL558"> 558 /a> )_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1277 /a>:><12 href="drivers/power/bq212 hr>1277ger.c#L565" " clasl class="sref">bspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"%#.2x=%#.2x\n"       ead_mask4.a>( a hregine" namvalL556">g556 ea         a hrefne" namvalL558"> 558 /a> )_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1278 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L549" idalL549" class="line" namvalL549"> 1279 /a>:><12 href="drivers/power/bq212 hr>127rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM128N /a>:><12 href="drivers/power/bq212 hr>128hger.c#L521" idalL521" class= show all raw values of chip " gister, format per ers/: '" gister=value'e=        spao class="comment">/* convert to binary *1281 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_show_registersrent_limit4.a>(struct  sysfs_show_registersx_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *12 2 /a>:><12 href="drivers/power/bq212 hr>128rger.c#L482" idalL4822222222222222222222222222222_limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">12 3 /a>:><12 href="drivers/power/bq212 hr>128rger.c#L563" idalL563lL561alL55777777777777777777X_SHlde=bq2415x_deviceufstatic int  a heuf415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1284 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L553" idalL553" class="line" namvalL553"> 1285 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L525" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">BQ" namvalL553"> 1286 /a>:><12 href="drivers/power/bq212 hr>1286ger.c#L525" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+cec#L532" idalL532" class="line" namvalL532">12 7 /a>:><12 href="drivers/power/bq212 hr>128rger.c#L557" idalL557777777777777777777777777777777777L536" class="licvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1288 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L498" L536" class="lissize__static int  a hssize__ger.c class="sref">b="line" namvalL556"> 556  a>0;#L553" idalL553" class="line" namvalL553"> 1289 /a>:><12 href="drivers/power/bq212 hr>12 rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM129N /a>:><12 href="drivers/power/bq212 hr>12 hger.c#L498"  class="sref">b="line" namvalL556"> 556  + ce /a> * a href=q2415x_gsysfs_piint_regine" namvalL556q2415x_gsysfs_piint_regx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a h57"> 557REG_STATUSvalL542"> 542 /57"> 557REG_STATUS2c_read_mask4.a>( a heufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1291 /a>:><12 href="drivers/power/bq212 hr>129rger.c#L561" L536" class="li="line" namvalL556"> 556  + ce /a> * a href=q2415x_gsysfs_piint_regine" namvalL556q2415x_gsysfs_piint_regx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a h57"> 557REG_CONTROLvalL542"> 542 /57"> 557REG_CONTROL2c_read_mask4.a>( a heufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1292 /a>:><12 href="drivers/power/bq212 hr>1292ger.c#L561" L536" class="li="line" namvalL556"> 556  + ce /a> * a href=q2415x_gsysfs_piint_regine" namvalL556q2415x_gsysfs_piint_regx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a h57"> 557REG_VOLTAGEvalL542"> 542 /57"> 557REG_VOLTAGE2c_read_mask4.a>( a heufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1293 /a>:><12 href="drivers/power/bq212 hr>129rger.c#L563" L536" class="li="line" namvalL556"> 556  + ce /a> * a href=q2415x_gsysfs_piint_regine" namvalL556q2415x_gsysfs_piint_regx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a h57"> 557REG_VENDERvalL542"> 542 /57"> 557REG_VENDER2c_read_mask4.a>( a heufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1294 /a>:><12 href="drivers/power/bq212 hr>12 rger.c#L484" L536" class="li="line" namvalL556"> 556  + ce /a> * a href=q2415x_gsysfs_piint_regine" namvalL556q2415x_gsysfs_piint_regx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a h57"> 557REG_CURRENTvalL542"> 542 /57"> 557REG_CURRENT2c_read_mask4.a>( a heufstatic int  a heuf415x+L536" class="li="line" namvalL556"> 556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1295 /a>:><12 href="drivers/power/bq212 hr>129rger.c#L565" " clasl class="sref">bne" namvalL558"> 558 /a> _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1296 /a>:><12 href="drivers/power/bq212 hr>129rger.c#L549" idalL549" class="line" namvalL549"> 1297 /a>:><12 href="drivers/power/bq212 hr>129rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1298 /a>:><12 href="drivers/power/bq212 hr>129rger.c#L521" idalL521" clas/* net curr cl and voltage limit entries (in mA or2mV)e=        spao class="comment">/* convert to binary *1299 /a>:><12 href="drivers/power/bq212 hr>129rger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_set_limitrent_limit4.a>(struct  sysfs_set_limitx_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *13WN /a>:><13WN /f="drivers/power/bq213WN >130hger.c#L539" idalL539c#L563"                _limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">13W1 /a>:><13Whref="drivers/power/bq213Whr>130rger.c#L561" idalL56111111111111111111111111const3X_SHlde=bq2415x_deviceufstatic int  a heuf415xec#L532" idalL532" class="line" namvalL532">13W2 /a>:><13Whref="drivers/power/bq213Whr>130rger.c#L482" idalL48222222222222222222222222L536" class="lisize__static int  a hsize__ger.c class="sref">bcoun_static int  a hcoun_415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13W3 /a>:><13Whref="drivers/power/bq213Whr>1303ger.c#L553" idalL553" class="line" namvalL553"> 13W4 /a>:><13Whref="drivers/power/bq213Whr>130rger.c#L484" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">BQ" namvalL553"> 13W5 /a>:><13Whref="drivers/power/bq213Whr>130rger.c#L525" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="5xec#L532" idalL532" class="line" namvalL532">13W6 /a>:><13Whref="drivers/power/bq213Whr>130rger.c#L496" idalL496c#L563"                    222222L536" class="licvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13W7 /a>:><13Whref="drivers/power/bq213Whr>130rger.c#L557" longlL536" class="livaline" namvalL556val556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13W8 /a>:><13Whref="drivers/power/bq213Whr>13W8ger.c#L561" 5dalL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13W9 /a>:><13Whref="drivers/power/bq213Whr>130rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM131N /a>:><13 href="drivers/power/bq213 hr>131hger.c#L539" 542" class="line" nk_litoline" namvalL556k_litolx_i2c_read_mask" claeufstatic int  a heuf415xea10ea&>         a hrefvaline" namvalL556val556 )       iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1311 /a>:><13 href="drivers/power/bq213 hr>131rger.c#L561" idalL561" clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1312 /a>:><13 href="drivers/power/bq213 hr>131rger.#L549" idalL549" class="line" namvalL549"> 13 3 /a>:><13 href="drivers/power/bq213 hr>131rger.c#L563" 542" class="line" n_licmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"curr cl_limit"       X ==  i#L549" idalL549" class="line" namvalL549"> 13 4 /a>:><13 href="drivers/power/bq213 hr>131rger.c#L484"         L536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gset_curr cl_limitrent_limit4.a>(struct  set_curr cl_limitx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a hvaline" namvalL556val556 )_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 5 /a>:><13 href="drivers/power/bq213 hr>131rger.c#L525" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"weak_batlery_voltage"       X ==  i#L549" idalL549" class="line" namvalL549"> 13 6 /a>:><13 href="drivers/power/bq213 hr>131rger.c#L496" idalL496         a href="line" namvalL556"> 556  a>idalL525" classq2415x_gset_weak_batlery_voltagerent_limit4.a>(struct  set_weak_batlery_voltagex_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a hvaline" namvalL556val556 )_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 7 /a>:><13 href="drivers/power/bq213 hr>131rger.c#L557" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"batlery_regulation_voltage"       X ==  i#L549" idalL549" class="line" namvalL549"> 13 8 /a>:><13 href="drivers/power/bq213 hr>131rger.c#L498" idalL498         a href="line" namvalL556"> 556  a>idalL525" classq2415x_gset_batlery_regulation_voltagerent_limit4.a>(struct  set_batlery_regulation_voltagex_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a hvaline" namvalL556val556 )_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 9 /a>:><13 href="drivers/power/bq213 hr>1319ger.c#L557" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"X_SHIF_curr cl"       X ==  i#L549" idalL549" class="line" namvalL549"> 132N /a>:><13 href="drivers/power/bq213 hr>132hger.c#L539" idalL539L536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gset_c_SHIF_curr clrent_limit4.a>(struct  set_c_SHIF_curr clx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a hvaline" namvalL556val556 )_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1321 /a>:><13 href="drivers/power/bq213 hr>1321ger.c#L557" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"lermination_curr cl"       X ==  i#L549" idalL549" class="line" namvalL549"> 1322 /a>:><13 href="drivers/power/bq213 hr>132rger.c#L482" idalL482L536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gset_lermination_curr clrent_limit4.a>(struct  set_lermination_curr clx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a hvaline" namvalL556val556 )_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1323 /a>:><13 href="drivers/power/bq213 hr>1323ger.c#L557" idalSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1324 /a>:><13 href="drivers/power/bq213 hr>132rger.c#L484"         " clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 5 /a>:><13 href="drivers/power/bq213 hr>132rger.c#L555" idalL555" class="line" namvalL555">13 6 /a>:><13 href="drivers/power/bq213 hr>132rger.c#L496" 542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 7 /a>:><13 href="drivers/power/bq213 hr>132rger.c#L557" idalL557" clasl class="line" n="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 8 /a>:><13 href="drivers/power/bq213 hr>132rger.c#L498" " clasl class="sref">bcoun_static int  a hcoun_415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 9 /a>:><13 href="drivers/power/bq213 hr>132rger.c#L549" idalL549" class="line" namvalL549"> 133N /a>:><13 href="drivers/power/bq213 hr>133hger.c#L514" idalL514" class="line" namvalL514">1331 /a>:><13 href="drivers/power/bq213 hr>133rger.c#L521" idalL521" class= show curr cl and voltage limit entries (in mA or2mV)e=        spao class="comment">/* convert to binary *1332 /a>:><13 href="drivers/power/bq213 hr>1332ger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_show_limitrent_limit4.a>(struct  sysfs_show_limitx_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *13 3 /a>:><13 href="drivers/power/bq213 hr>133rger.c#L563" idalL563333333333333333333333333_limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1334 /a>:><13 href="drivers/power/bq213 hr>133rger.c#L484"                                 X_SHlde=bq2415x_deviceufstatic int  a heuf415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1335 /a>:><13 href="drivers/power/bq213 hr>133rger.c#L553" idalL553" class="line" namvalL553"> 1336 /a>:><13 href="drivers/power/bq213 hr>1336ger.c#L525" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">BQ" namvalL553"> 1337 /a>:><13 href="drivers/power/bq213 hr>133rger.c#L557" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="5xec#L532" idalL532" class="line" namvalL532">1338 /a>:><13 href="drivers/power/bq213 hr>133rger.c#L498" idalL498        idalL56111111111111111112L536" class="licvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 9 /a>:><13 href="drivers/power/bq213 hr>133rger.c#L539" 5dalL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM134N /a>:><13 href="drivers/power/bq213 hr>134hger.c#L514" idalL514" class="line" namvalL514">1341 /a>:><13 href="drivers/power/bq213 hr>1341ger.c#L557" 542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"curr cl_limit"       X ==  i#L549" idalL549" class="line" namvalL549"> 13 2 /a>:><13 href="drivers/power/bq213 hr>134rger.c#L482" idalL482L536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gget_curr cl_limitrent_limit4.a>(struct  get_curr cl_limitx_i2c_read_mask" clae"="sref">bq2415x_i2c_rX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 3 /a>:><13 href="drivers/power/bq213 hr>1343ger.c#L557" idal 542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"weak_batlery_voltage"       X ==  i#L549" idalL549" class="line" namvalL549"> 1344 /a>:><13 href="drivers/power/bq213 hr>134rger.c#L484"         L536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gget_weak_batlery_voltagerent_limit4.a>(struct  get_weak_batlery_voltagex_i2c_read_mask" clae"="sref">bq2415x_i2c_rX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 5 /a>:><13 href="drivers/power/bq213 hr>134rger.c#L525" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"batlery_regulation_voltage"       X ==  i#L549" idalL549" class="line" namvalL549"> 13 6 /a>:><13 href="drivers/power/bq213 hr>13 rger.c#L496" idalL496L536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gget_batlery_regulation_voltagerent_limit4.a>(struct  get_batlery_regulation_voltagex_i2c_read_mask" clae"="sref">bq2415x_i2c_rX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 7 /a>:><13 href="drivers/power/bq213 hr>134rger.c#L557" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"X_SHIF_curr cl"       X ==  i#L549" idalL549" class="line" namvalL549"> 1348 /a>:><13 href="drivers/power/bq213 hr>134rger.c#L498" idalL498         a href="line" namvalL556"> 556  a>idalL525" classq2415x_gget_c_SHIF_curr clrent_limit4.a>(struct  get_c_SHIF_curr clx_i2c_read_mask" clae"="sref">bq2415x_i2c_rX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 9 /a>:><13 href="drivers/power/bq213 hr>1349ger.c#L557" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"lermination_curr cl"       X ==  i#L549" idalL549" class="line" namvalL549"> 135N /a>:><13 href="drivers/power/bq213 hr>135hger.c#L539" idalL539L536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gget_lermination_curr clrent_limit4.a>(struct  get_lermination_curr clx_i2c_read_mask" clae"="sref">bq2415x_i2c_rX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1351 /a>:><13 href="drivers/power/bq213 hr>1351ger.c#L557" idalSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1352 /a>:><13 href="drivers/power/bq213 hr>135rger.c#L482" idalL482" clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1353 /a>:><13 href="drivers/power/bq213 hr>1353ger.c#L532" idalL532" class="line" namvalL532">1354 /a>:><13 href="drivers/power/bq213 hr>135rger.c#L484" 542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1355 /a>:><13 href="drivers/power/bq213 hr>135rger.c#L525"         " clasl class="line" n="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1356 /a>:><13 href="drivers/power/bq213 hr>13 rger.c#L496" " clasl class="sref">bspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"%d\n"       ead_mask4.a>( a hreline" namvalL556"> 556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1357 /a>:><13 href="drivers/power/bq213 hr>13 rger.c#L549" idalL549" class="line" namvalL549"> 1358 /a>:><13 href="drivers/power/bq213 hr>135rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1359 /a>:><13 href="drivers/power/bq213 hr>13 rger.c#L521" idalL521" clas/* net *_enable entries =        spao class="comment">/* convert to binary *136N /a>:><13 href="drivers/power/bq213 hr>136hger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_set_enablerent_limit4.a>(struct  sysfs_set_enablex_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *1361 /a>:><13 href="drivers/power/bq213 hr>136rger.c#L561" idalL561alL557777777777777777777_limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1362 /a>:><13 href="drivers/power/bq213 hr>136rger.c#L482" idalL482222222222222222222222221const3X_SHlde=bq2415x_deviceufstatic int  a heuf415xec#L532" idalL532" class="line" namvalL532">1363 /a>:><13 href="drivers/power/bq213 hr>136rger.c#L563" idalL563333333333333333333333333L536" class="lisize__static int  a hsize__ger.c class="sref">bcoun_static int  a hcoun_415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM13 4 /a>:><13 href="drivers/power/bq213 hr>136rger.c#L553" idalL553" class="line" namvalL553"> 13 5 /a>:><13 href="drivers/power/bq213 hr>136rger.c#L525" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">BQ" namvalL553"> 1366 /a>:><13155 dalL563" class="line13155>1366ger.c#L525" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="5xec#L532" idalL532" class="line" namvalL532">1367 /a>:><13 href="drivers/power/bq213 hr>136rger.c#L557" idalL557777777777777777777777777777777777L536" class="licvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1368 /a>:><13 href="drivers/power/bq213 hr>136rger.c#L498" enum" class="sref">bq2415x_g521"andrent_limit4.a>(q2415x_g521"andger.c class="sref">bco1"andrent_limit4.a>(521"andger._SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1369 /a>:><13 href="drivers/power/bq213 hr>1369ger.c#L557" longlL536" class="livaline" namvalL556val556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM137N /a>:><13 href="drivers/power/bq213 hr>137hger.c#L539" 5dalL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1371 /a>:><13 href="drivers/power/bq213 hr>137rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1372 /a>:><13 href="drivers/power/bq213 hr>137rger.c#L482" 542" class="line" nk_litoline" namvalL556k_litolx_i2c_read_mask" claeufstatic int  a heuf415xea10ea&>         a hrefvaline" namvalL556val556 )       iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1373 /a>:><13 href="drivers/power/bq213 hr>137rger.c#L563" idalL563" clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1374 /a>:><13 href="drivers/power/bq213 hr>137rger.c#L514" idalL514" class="line" namvalL514">1375 /a>:><13 href="drivers/power/bq213 hr>137rger.c#L565" 542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"c_SHIF_lermination_enable"       X ==  i#L549" idalL549" class="line" namvalL549"> 1376 /a>:><13 href="drivers/power/bq213 hr>137rger.c#L496" idalL496 class="sref">bco1"andrent_limit4.a>(521"andger.  ce /a> * a href=valine" namvalL556val556  ?ad_mask4.a>( a h57"> 557CHARGE_TERMINATION_ENABLEine" namvalL55657"> 557CHARGE_TERMINATION_ENABLE556  :#L553" idalL553" class="line" namvalL553"> 1377 /a>:><13 href="drivers/power/bq213 hr>137rger.c#L557" idalL55777777777d_mask4.a>( a h57"> 557CHARGE_TERMINATION_DISABLEine" namvalL55657"> 557CHARGE_TERMINATION_DISABLE556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1378 /a>:><13 href="drivers/power/bq213 hr>137rger.c#L498" edalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"high_impedanef_enable"       X ==  i#L549" idalL549" class="line" namvalL549"> 1379 /a>:><13 href="drivers/power/bq213 hr>1379ger.c#L496" idalL496 class="sref">bco1"andrent_limit4.a>(521"andger.  ce /a> * a href=valine" namvalL556val556  ?ad_mask4.a>( a h57"> 557HIGH_IMPEDANCE_ENABLEine" namvalL55657"> 557HIGH_IMPEDANCE_ENABLE556  :#L553" idalL553" class="line" namvalL553"> 138N /a>:><13 href="drivers/power/bq213 hr>138hger.c#L539" idalL539c#L563" d_mask4.a>( a h57"> 557HIGH_IMPEDANCE_DISABLEine" namvalL55657"> 557HIGH_IMPEDANCE_DISABLE556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1381 /a>:><13 href="drivers/power/bq213 hr>1381ger.c#L557" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"otg_pin_enable"       X ==  i#L549" idalL549" class="line" namvalL549"> 13 2 /a>:><13 href="drivers/power/bq213 hr>138rger.c#L482" idalL482 class="sref">bco1"andrent_limit4.a>(521"andger.  ce /a> * a href=valine" namvalL556val556  ?ad_mask4.a>( a h57"> 557OTG_PIN_ENABLEine" namvalL55657"> 557OTG_PIN_ENABLE556  :#L553" idalL553" class="line" namvalL553"> 1383 /a>:><13 href="drivers/power/bq213 hr>138rger.c#L563" idalL563lL561alLd_mask4.a>( a h57"> 557OTG_PIN_DISABLEine" namvalL55657"> 557OTG_PIN_DISABLE556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1384 /a>:><13 href="drivers/power/bq213 hr>1384ger.c#L557" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"c#L5_pin_enable"       X ==  i#L549" idalL549" class="line" namvalL549"> 13 5 /a>:><13 href="drivers/power/bq213 hr>138rger.c#L525"          class="sref">bco1"andrent_limit4.a>(521"andger.  ce /a> * a href=valine" namvalL556val556  ?ad_mask4.a>( a h57"> 557STAT_PIN_ENABLEine" namvalL55657"> 557STAT_PIN_ENABLE556  :#L553" idalL553" class="line" namvalL553"> 1386 /a>:><13 href="drivers/power/bq213 hr>138rger.c#L496" idalL496c#L563" d_mask4.a>( a h57"> 557STAT_PIN_DISABLEine" namvalL55657"> 557STAT_PIN_DISABLE556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1387 /a>:><13 href="drivers/power/bq213 hr>138rger.c#L557" idalSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1388 /a>:><13 href="drivers/power/bq213 hr>138rger.c#L498" idalL498" clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1389 /a>:><13 href="drivers/power/bq213 hr>13 rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM139N /a>:><13 href="drivers/power/bq213 hr>13 hger.c#L498"  class="sref">b="line" namvalL556"> 556  a>idalL525" classq2415x_gexecg521"andrent_limit4.a>(q2415x_gexecg521"andx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a hco1"andrent_limit4.a>(521"andger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1391 /a>:><13 href="drivers/power/bq213 hr>1391ger.c#L557" 542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1392 /a>:><13 href="drivers/power/bq213 hr>139rger.c#L482" idalL482" claslL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1393 /a>:><13 href="drivers/power/bq213 hr>139rger.c#L563" " clasl class="sref">bcoun_static int  a hcoun_415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1394 /a>:><13 href="drivers/power/bq213 hr>13 rger.c#L549" idalL549" class="line" namvalL549"> 1395 /a>:><13 href="drivers/power/bq213 hr>139rger.c#L555" idalL555" class="line" namvalL555">1396 /a>:><13 href="drivers/power/bq213 hr>139rger.c#L521" idalL521" class= show *_enable entries =        spao class="comment">/* convert to binary *1397 /a>:><13 href="drivers/power/bq213 hr>139rger.c#L552"L536" class="lissize__static int  a hssize__ger.c class="sref">bq2415x_gsysfs_show_enablerent_limit4.a>(struct  sysfs_show_enablex_i2c_limit" class="sref">bet_current_limit4.a>(a href="+code=bq2415x_devica hvalL542"> 542 /a h2c_respao class="comment">/* convert to binary *1398 /a>:><13 href="drivers/power/bq213 hr>139rger.c#L498" idalL498        idalL561111111111_limit" class="sref">bet_cur_atlributrrent_limit4.a>(a href_atlributr="+code=bq2415x_devicatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1399 /a>:><13 href="drivers/power/bq213 hr>1399ger.c#L496" idalL4966666666666666666666666666X_SHlde=bq2415x_deviceufstatic int  a heuf415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM14WN /a>:><14WN /f="drivers/power/bq214WN >140hger.c#L553" idalL553" class="line" namvalL553"> 14W1 /a>:><14Whref="drivers/power/bq214Whr>140rger.c#L561" _limit" class="sref">bclass_supplystatic int  a hclass_supply="+cod class="sref">bcsystatic int  a hcsy2c_r/a>         a hrefa h_get_drvdatavalL542"> 542 /a h_get_drvdatax_i2c_read_mask" claa hvalL542"> 542 /a h2c_r__SHIFT_LIMIT" class="sref">BQ" namvalL553"> 14W2 /a>:><14Whref="drivers/power/bq214Whr>140rger.c#L482" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x  ce /a> * a href=contars/r_ofstatic int  a h5ontars/r_ofrrent_read_mask" clacsystatic int  a hcsy2c_re _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="5xec#L532" idalL532" class="line" namvalL532">14W3 /a>:><14Whref="drivers/power/bq214Whr>140rger.c#L563" idalL563lL561alL5577777777777777777777777L536" class="licvalL55static int  a h5it inr556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM14W4 /a>:><14Whref="drivers/power/bq214Whr>140rger.c#L484" enum" class="sref">bq2415x_g521"andrent_limit4.a>(q2415x_g521"andger.c class="sref">bco1"andrent_limit4.a>(521"andger._SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM14W5 /a>:><14Whref="drivers/power/bq214Whr>140rger.c#L525" 5dalL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM14W6 /a>:><14Whref="drivers/power/bq214Whr>140rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM14W7 /a>:><14Whref="drivers/power/bq214Whr>140rger.c#L557" 542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"c_SHIF_lermination_enable"       X ==  i#L549" idalL549" class="line" namvalL549"> 14W8 /a>:><14Whref="drivers/power/bq214Whr>140rger.c#L498" idalL498         a hrefco1"andrent_limit4.a>(521"andger.  ce /a> * a href=57"> 557CHARGE_TERMINATION_STATUSvalL542"> 542 /57"> 557CHARGE_TERMINATION_STATUS556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM14W9 /a>:><14Whref="drivers/power/bq214Whr>1409ger.c#L557" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"high_impedanef_enable"       X ==  i#L549" idalL549" class="line" namvalL549"> 141N /a>:><14 href="drivers/power/bq214 hr>141hger.c#L539" idalL539L536" class="lico1"andrent_limit4.a>(521"andger.  ce /a> * a href=57"> 557HIGH_IMPEDANCE_STATUSvalL542"> 542 /57"> 557HIGH_IMPEDANCE_STATUS556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1411 /a>:><14 href="drivers/power/bq214 hr>1411ger.c#L557" idalL542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"otg_pin_enable"       X ==  i#L549" idalL549" class="line" namvalL549"> 1412 /a>:><14 href="drivers/power/bq214 hr>141rger.c#L482" idalL482 class="sref">bco1"andrent_limit4.a>(521"andger.  ce /a> * a href=57"> 557OTG_PIN_STATUSvalL542"> 542 /57"> 557OTG_PIN_STATUS556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1413 /a>:><14 href="drivers/power/bq214 hr>1413ger.c#L557" idal 542" class="line" nslicmpstatic int  a hslicmprrent_read_mask" claatlrstatic int  a hatli="+c8 /a>         a hrefatlrstatic int  a hatli="+c.         a hrefwer/static int  a hwer/415xead#L533" idalL_liing">"c#L5_pin_enable"       X ==  i#L549" idalL549" class="line" namvalL549"> 14 4 /a>:><14 href="drivers/power/bq214 hr>141rger.c#L484"         L536" class="lico1"andrent_limit4.a>(521"andger.  ce /a> * a href=57"> 557STAT_PIN_STATUSvalL542"> 542 /57"> 557STAT_PIN_STATUS556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1415 /a>:><14 href="drivers/power/bq214 hr>141rger.c#L525" idalSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1416 /a>:><14 href="drivers/power/bq214 hr>141rger.c#L496" idalL496" clasl-         a hrefEINVALvalL542"> 542 /EINVAL556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM14 7 /a>:><14 href="drivers/power/bq214 hr>141rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM14 8 /a>:><14 href="drivers/power/bq214 hr>141rger.c#L498" L536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gexecg521"andrent_limit4.a>(q2415x_gexecg521"andx_i2c_read_mask" clae"="sref">bq2415x_i2c_read_mask4.a>( a hco1"andrent_limit4.a>(521"andger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM14 9 /a>:><14 href="drivers/power/bq214 hr>1419ger.c#L557" 542" class="line" nne" namvalL558"> 558 /a>        iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM142N /a>:><14 href="drivers/power/bq214 hr>142hger.c#L539" idalL539" claslL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1421 /a>:><14 href="drivers/power/bq214 hr>1421ger.c#L557" " clasl class="sref">bspiintfstatic int  a hspiintfx_i2c_read_mask" claeufstatic int  a heuf415xead#L533" idalL_liing">"%d\n"       ead_mask4.a>( a hreline" namvalL556"> 556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1422 /a>:><14 href="drivers/power/bq214 hr>142rger.c#L549" idalL549" class="line" namvalL549"> 1423 /a>:><14 href="drivers/power/bq214 hr>1423ger.c#L532" idalL532" class="line" namvalL532">1424 /a>:><14 href="drivers/power/bq214 hr>142rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clacurr cl_limitrent_limit4.a>(curr cl_limitx_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">14 5 /a>:><14 href="drivers/power/bq214 hr>142rger.c#L525"          class="sref">bstruct  sysfs_show_limitrent_limit4.a>(struct  sysfs_show_limitx_i2ead_mask4.a>( a hstruct  sysfs_set_limitrent_limit4.a>(struct  sysfs_set_limitx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1426 /a>:><14 href="drivers/power/bq214 hr>142rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" claweak_batlery_voltagerent_limit4.a>(weak_batlery_voltagex_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">14 7 /a>:><14 href="drivers/power/bq214 hr>142rger.c#L557" idalL557 class="sref">bstruct  sysfs_show_limitrent_limit4.a>(struct  sysfs_show_limitx_i2ead_mask4.a>( a hstruct  sysfs_set_limitrent_limit4.a>(struct  sysfs_set_limitx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1428 /a>:><14 href="drivers/power/bq214 hr>142rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clabatlery_regulation_voltagerent_limit4.a>(satlery_regulation_voltagex_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">14 9 /a>:><14 href="drivers/power/bq214 hr>1429ger.c#L496" idalL496 class="sref">bstruct  sysfs_show_limitrent_limit4.a>(struct  sysfs_show_limitx_i2ead_mask4.a>( a hstruct  sysfs_set_limitrent_limit4.a>(struct  sysfs_set_limitx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM143N /a>:><14 href="drivers/power/bq214 hr>143hger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clac_SHIF_curr clrent_limit4.a>(c_SHIF_curr clx_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">1431 /a>:><14 href="drivers/power/bq214 hr>143rger.c#L561" idalL561 class="sref">bstruct  sysfs_show_limitrent_limit4.a>(struct  sysfs_show_limitx_i2ead_mask4.a>( a hstruct  sysfs_set_limitrent_limit4.a>(struct  sysfs_set_limitx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1432 /a>:><14 href="drivers/power/bq214 hr>1432ger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clalermination_curr clrent_limit4.a>(lermination_curr clx_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">1433 /a>:><14 href="drivers/power/bq214 hr>143rger.c#L563" idalL563 class="sref">bstruct  sysfs_show_limitrent_limit4.a>(struct  sysfs_show_limitx_i2ead_mask4.a>( a hstruct  sysfs_set_limitrent_limit4.a>(struct  sysfs_set_limitx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1434 /a>:><14 href="drivers/power/bq214 hr>143rger.c#L514" idalL514" class="line" namvalL514">1435 /a>:><14 href="drivers/power/bq214 hr>143rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clac_SHIF_lermination_enablerent_limit4.a>(c_SHIF_lermination_enablex_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">1436 /a>:><14 href="drivers/power/bq214 hr>143rger.c#L496" idalL496 class="sref">bq2415x_gsysfs_show_enablerent_limit4.a>(struct  sysfs_show_enablex_i2ead_mask4.a>( a hstruct  sysfs_set_enablerent_limit4.a>(struct  sysfs_set_enablex_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1437 /a>:><14 href="drivers/power/bq214 hr>143rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clahigh_impedanef_enablevalL542"> 542 /high_impedanef_enablex_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">1438 /a>:><14 href="drivers/power/bq214 hr>143rger.c#L498" idalL498 class="sref">bq2415x_gsysfs_show_enablerent_limit4.a>(struct  sysfs_show_enablex_i2ead_mask4.a>( a hstruct  sysfs_set_enablerent_limit4.a>(struct  sysfs_set_enablex_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1439 /a>:><14 href="drivers/power/bq214 hr>143rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" claotg_pin_enablevalL542"> 542 /otg_pin_enablex_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">144N /a>:><14 href="drivers/power/bq214 hr>144hger.c#L539" idalL539L536" class="liq2415x_gsysfs_show_enablerent_limit4.a>(struct  sysfs_show_enablex_i2ead_mask4.a>( a hstruct  sysfs_set_enablerent_limit4.a>(struct  sysfs_set_enablex_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1441 /a>:><14 href="drivers/power/bq214 hr>1441ger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clac#L5_pin_enablestatic int  a hslL5_pin_enablex_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">1442 /a>:><14 href="drivers/power/bq214 hr>144rger.c#L482" idalL482L536" class="liq2415x_gsysfs_show_enablerent_limit4.a>(struct  sysfs_show_enablex_i2ead_mask4.a>( a hstruct  sysfs_set_enablerent_limit4.a>(struct  sysfs_set_enablex_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1443 /a>:><14 href="drivers/power/bq214 hr>1443ger.c#L532" idalL532" class="line" namvalL532">1444 /a>:><14 href="drivers/power/bq214 hr>144rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clareported_m cline" namvalL556">ported_m clx_i2ead_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">1445 /a>:><14 href="drivers/power/bq214 hr>144rger.c#L525"          class="sref">bstruct  sysfs_show_reported_m cline" namvalL556struct  sysfs_show_reported_m clx_i2ead_mask4.a>( a hNULLvalL542"> 542 /NULLx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1446 /a>:><14 href="drivers/power/bq214 hr>144rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clam cline" namvalL556m clx_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">1447 /a>:><14 href="drivers/power/bq214 hr>144rger.c#L557" idalL557 class="sref">bstruct  sysfs_show_m cline" namvalL556struct  sysfs_show_m clx_i2ead_mask4.a>( a hstruct  sysfs_set_m cline" namvalL556struct  sysfs_set_m clx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1448 /a>:><14 href="drivers/power/bq214 hr>144rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clatim55static int  a htim55x_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">1449 /a>:><14 href="drivers/power/bq214 hr>1449ger.c#L496" idalL496 class="sref">bstruct  sysfs_show_tim55static int  a hstruct  sysfs_show_tim55x_i2ead_mask4.a>( a hstruct  sysfs_set_tim55static int  a hstruct  sysfs_set_tim55x_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM145N /a>:><14 href="drivers/power/bq214 hr>145hger.c#L514" idalL514" class="line" namvalL514">1451 /a>:><14 href="drivers/power/bq214 hr>1451ger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" claregist14"ine" namvalL556">gist14"x_i2ead_mask4.a>( a hS_IWUSRvalL542"> 542 /S_IWUSRger.c|ad_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xec#L532" idalL532" class="line" namvalL532">1452 /a>:><14 href="drivers/power/bq214 hr>145rger.c#L482" idalL482 class="sref">bstruct  sysfs_show_regist14"ine" namvalL556struct  sysfs_show_regist14"x_i2ead_mask4.a>( a hstruct  sysfs_set_regist14"ine" namvalL556struct  sysfs_set_regist14"x_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1453 /a>:><14 href="drivers/power/bq214 hr>1453ger.c#L532" idalL532" class="line" namvalL532">1454 /a>:><14 href="drivers/power/bq214 hr>145rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" claotg_c#L5u"ine" namvalL556otg_c#L5u"x_i2ead_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xe2 class="sref">bstruct  sysfs_show_c#L5u"ine" namvalL556struct  sysfs_show_c#L5u"x_i2ead_mask4.a>( a hNULLvalL542"> 542 /NULLx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1455 /a>:><14 href="drivers/power/bq214 hr>145rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clac_SHIF_c#L5u"ine" namvalL556c_SHIF_c#L5u"x_i2ead_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xe2 class="sref">bstruct  sysfs_show_c#L5u"ine" namvalL556struct  sysfs_show_c#L5u"x_i2ead_mask4.a>( a hNULLvalL542"> 542 /NULLx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1456 /a>:><14 href="drivers/power/bq214 hr>145rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" claboost_c#L5u"ine" namvalL556soost_c#L5u"x_i2ead_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xe2 class="sref">bstruct  sysfs_show_c#L5u"ine" namvalL556struct  sysfs_show_c#L5u"x_i2ead_mask4.a>( a hNULLvalL542"> 542 /NULLx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1457 /a>:><14 href="drivers/power/bq214 hr>145rger.c#L552"L536" class="liDEVICE_ATTRvalL542"> 542 /DEVICE_ATTRx_i2c_read_mask" clafault_c#L5u"ine" namvalL556fault_c#L5u"x_i2ead_mask4.a>( a hS_IRUGOvalL542"> 542 /S_IRUGO="5xe2 class="sref">bstruct  sysfs_show_c#L5u"ine" namvalL556struct  sysfs_show_c#L5u"x_i2ead_mask4.a>( a hNULLvalL542"> 542 /NULLx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1458 /a>:><14 href="drivers/power/bq214 hr>145rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1459 /a>:><14 href="drivers/power/bq214 hr>145rger.c#L552"_limit" class="sref">batlributrrent_limit4.a>(atlributr="+code=bq2415x_devicstruct  sysfs_atlributr"ine" namvalL556struct  sysfs_atlributr"="+c[] = c#L553" idalL553" class="line" namvalL553"> 146N /a>:><14 href="drivers/power/bq214 hr>146hger.c#L498"  #L521" idalL521" class=       spao class="comment">/* convert to binary *1461 /a>:><14 href="drivers/power/bq214 hr>146rger.c#L521" idalL521" clas idalL482* TODO: some (appropriate) of these atlrs should be switched to       spao class="comment">/* convert to binary *1462 /a>:><14 href="drivers/power/bq214 hr>146rger.c#L521" idalL521" clas idalL482* use t">/* supply1" ida props.       spao class="comment">/* convert to binary *1463 /a>:><14 href="drivers/power/bq214 hr>146rger.c#L521" idalL521" clas idalL482*        spao class="comment">/* convert to binary *14 4 /a>:><14 href="drivers/power/bq214 hr>146rger.c#L484" &>         a hrefa h_atlr_curr cl_limitrent_limit4.a>(a h_atlr_curr cl_limitger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">14 5 /a>:><14 href="drivers/power/bq214 hr>146rger.c#L525" &>         a hrefa h_atlr_weak_batlery_voltagerent_limit4.a>(a h_atlr_weak_batlery_voltageger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">14 6 /a>:><14155 dalL563" class="line14155>1466ger.c#L525" &>         a hrefa h_atlr_batlery_regulation_voltagerent_limit4.a>(a h_atlr_batlery_regulation_voltageger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">14 7 /a>:><14 href="drivers/power/bq214 hr>146rger.c#L557" &>         a hrefa h_atlr_c_SHIF_curr clrent_limit4.a>(a h_atlr_c_SHIF_curr clger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">14 8 /a>:><14 href="drivers/power/bq214 hr>146rger.c#L498" &>         a hrefa h_atlr_lermination_curr clrent_limit4.a>(a h_atlr_lermination_curr clger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">14 9 /a>:><14 href="drivers/power/bq214 hr>146rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM147N /a>:><14 href="drivers/power/bq214 hr>147hger.c#L539" &>         a hrefa h_atlr_c_SHIF_lermination_enablerent_limit4.a>(a h_atlr_c_SHIF_lermination_enableger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1471 /a>:><14 href="drivers/power/bq214 hr>1471ger.c#L539" &>         a hrefa h_atlr_high_impedanef_enablevalL542"> 542 /a h_atlr_high_impedanef_enableger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1472 /a>:><14 href="drivers/power/bq214 hr>147rger.c#L482" &>         a hrefa h_atlr_otg_pin_enablevalL542"> 542 /a h_atlr_otg_pin_enableger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1473 /a>:><14 href="drivers/power/bq214 hr>147rger.c#L563" &>         a hrefa h_atlr_c#L5_pin_enablestatic int  a ha h_atlr_c#L5_pin_enableger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1474 /a>:><14 href="drivers/power/bq214 hr>147rger.c#L514" idalL514" class="line" namvalL514">1475 /a>:><14 href="drivers/power/bq214 hr>147rger.c#L525" &>         a hrefa h_atlr_reported_m cline" namvalL556a h_atlr_reported_m clger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1476 /a>:><14 href="drivers/power/bq214 hr>1476ger.c#L525" &>         a hrefa h_atlr_m cline" namvalL556a h_atlr_m clger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1477 /a>:><14 href="drivers/power/bq214 hr>147rger.c#L557" &>         a hrefa h_atlr_tim55static int  a ha h_atlr_tim55ger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1478 /a>:><14 href="drivers/power/bq214 hr>147rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1479 /a>:><14 href="drivers/power/bq214 hr>1479ger.c#L496" &>         a hrefa h_atlr_regist14"ine" namvalL556a h_atlr_regist14"ger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">148N /a>:><14 href="drivers/power/bq214 hr>148hger.c#L514" idalL514" class="line" namvalL514">1481 /a>:><14 href="drivers/power/bq214 hr>1481ger.c#L539" &>         a hrefa h_atlr_otg_c#L5u"ine" namvalL556a h_atlr_otg_c#L5u"ger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1482 /a>:><14 href="drivers/power/bq214 hr>148rger.c#L482" &>         a hrefa h_atlr_c_SHIF_c#L5u"ine" namvalL556a h_atlr_c_SHIF_c#L5u"ger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1483 /a>:><14 href="drivers/power/bq214 hr>148rger.c#L563" &>         a hrefa h_atlr_boost_c#L5u"ine" namvalL556a h_atlr_boost_c#L5u"ger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1484 /a>:><14 href="drivers/power/bq214 hr>148rger.c#L484" &>         a hrefa h_atlr_fault_c#L5u"ine" namvalL556a h_atlr_fault_c#L5u"ger..         a hrefatlrstatic int  a hatli="+cec#L532" idalL532" class="line" namvalL532">1485 /a>:><14 href="drivers/power/bq214 hr>148rger.c#L525" d_mask4.a>( a hNULLvalL542"> 542 /NULLx_i2ec#L532" idalL532" class="line" namvalL532">1486 /a>:><14 href="drivers/power/bq214 hr>148rger.}_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1487 /a>:><14 href="drivers/power/bq214 hr>148rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1488 /a>:><14 href="drivers/power/bq214 hr>148rger.c#L552"const3_limit" class="sref">batlributr_groupstatic int  a hatlributr_groupger.ce=bq2415x_devicstruct  sysfs_atlr_groupstatic int  a hstruct  sysfs_atlr_groupger.c= c#L553" idalL553" class="line" namvalL553"> 1489 /a>:><14 href="drivers/power/bq214 hr>1489ger.c#L496" .         a hrefatlr"ine" namvalL556atlr"ger.c= e=bq2415x_devicstruct  sysfs_atlributr"ine" namvalL556struct  sysfs_atlributr"="+cec#L532" idalL532" class="line" namvalL532">149N /a>:><14 href="drivers/power/bq214 hr>14 hger.}_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1491 /a>:><14 href="drivers/power/bq214 hr>149rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1492 /a>:><14 href="drivers/power/bq214 hr>1492ger.c#L552"5dalL536" class="listruct  sysfs_initrent_limit4.a>(struct  sysfs_initx_i2c_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1493 /a>:><14 href="drivers/power/bq214 hr>149rger.c#L553" idalL553" class="line" namvalL553"> 1494 /a>:><14 href="drivers/power/bq214 hr>149rger.c#L484" " clasl class="sref">bsysfs_creatr_groupstatic int  a hsysfs_creatr_groupx_i2c&>         a hrefe" class="sref">bq2415x8 /a>         a hrefcvalL55static int  a h5it inr556 .         a hrefa hvalL542"> 542 /a h2c_r8 /a>         a hrefkobjvalL542"> 542 /kobj="+cec#L532" idalL532" class="line" namvalL532">1495 /a>:><14 href="drivers/power/bq214 hr>149rger.c#L525"         c#L484" &>         a hrefstruct  sysfs_atlr_groupstatic int  a hstruct  sysfs_atlr_groupger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1496 /a>:><14 href="drivers/power/bq214 hr>149rger.c#L549" idalL549" class="line" namvalL549"> 1497 /a>:><14 href="drivers/power/bq214 hr>149rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1498 /a>:><14 href="drivers/power/bq214 hr>149rger.c#L552"voidlL536" class="listruct  sysfs_exitrent_limit4.a>(struct  sysfs_exitx_i2c_limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1499 /a>:><14 href="drivers/power/bq214 hr>1499ger.c#L553" idalL553" class="line" namvalL553"> 15WN /a>:><15WN /f="drivers/power/bq215WN >150hger.c#L498"  class="sref">bsysfs_removr_groupstatic int  a hsysfs_removr_groupx_i2c&>         a hrefe" class="sref">bq2415x8 /a>         a hrefcvalL55static int  a h5it inr556 .         a hrefa hvalL542"> 542 /a h2c_r8 /a>         a hrefkobjvalL542"> 542 /kobj="+ce &>         a hrefstruct  sysfs_atlr_groupstatic int  a hstruct  sysfs_atlr_groupger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM15W1 /a>:><15Whref="drivers/power/bq215Whr>150rger.c#L549" idalL549" class="line" namvalL549"> 15W2 /a>:><15Whref="drivers/power/bq215Whr>150rger.#L549" idalL549" class="line" namvalL549"> 15W3 /a>:><15Whref="drivers/power/bq215Whr>150rger.c#L521" idalL521" clas/* main line" n probe function2*        spao class="comment">/* convert to binary *15W4 /a>:><15Whref="drivers/power/bq215Whr>1504ger.c#L552"5dalL536" class="listruct  probestatic int  a hstruct  probex_i2c_limit" class="sref">bi2c_cli clrent_limit4.a>(i2c_cli cl="+code=bq2415x_deviccli clrent_limit4.a>(cli cl="+cec#L532" idalL532" class="line" namvalL532">15W5 /a>:><15Whref="drivers/power/bq215Whr>150rger.c#L525"         c#L484" "const3_limit" class="sref">bi2c_a href_idrent_limit4.a>(i2c_a href_id="+code=bq2415x_devicidrent_limit4.a>(id415xiSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM15W6 /a>:><15Whref="drivers/power/bq215Whr>150rger.c#L553" idalL553" class="line" namvalL553"> 15W7 /a>:><15Whref="drivers/power/bq215Whr>150rger.c#L557" 5dalL536" class="li="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM15W8 /a>:><15Whref="drivers/power/bq215Whr>150rger.c#L498" 5dalL536" class="linumine" namvalL556num556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM15W9 /a>:><15Whref="drivers/power/bq215Whr>1509ger.c#L557" X_SHode=bq2415x_devicwer/static int  a hwer/415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM151N /a>:><15 href="drivers/power/bq215 hr>151hger.c#L539" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1511 /a>:><15 href="drivers/power/bq215 hr>151rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1512 /a>:><15 href="drivers/power/bq215 hr>151rger.c#L482" 542"!e=bq2415x_deviccli clrent_limit4.a>(cli cl="+c8 /a>         a hrefa hvalL542"> 542 /a h2c_r.         a hrefplatform_datavalL542"> 542 /platform_data415xi c#L553" idalL553" class="line" namvalL553"> 1513 /a>:><15 href="drivers/power/bq215 hr>151rger.c#L563" idalL563 class="sref">ba h_er5static int  a ha h_er5x_i2c&>         a hrefcli clrent_limit4.a>(cli cl="+c8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"platform data not3_et\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM15 4 /a>:><15 href="drivers/power/bq215 hr>151rger.c#L484"         " clasl-         a hrefENODEVvalL542"> 542 /ENODEV415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1515 /a>:><15 href="drivers/power/bq215 hr>151rger.c#L525" c#L549" idalL549" class="line" namvalL549"> 1516 /a>:><15 href="drivers/power/bq215 hr>151rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM15 7 /a>:><15 href="drivers/power/bq215 hr>151rger.c#L557" c#L521" idalL521" clas/* Get new ID for the new a href2*        spao class="comment">/* convert to binary *15 8 /a>:><15 href="drivers/power/bq215 hr>151rger.c#L498" L536" class="limutex_lockvalL542"> 542 /mutex_lockx_i2c&>         a hrefe"nvert id_mutexrent_limit4.a>(struct  id_mutexger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM15 9 /a>:><15 href="drivers/power/bq215 hr>1519ger.c#L557" L536" class="linumine" namvalL556num556 c= e=bq2415x_devicidr_allocrent_limit4.a>(idr_allocx_i2c&>         a hrefe"nvert idrent_limit4.a>(struct  id2c_read=bq2415x_deviccli clrent_limit4.a>(cli cl="+ce 0e 0e d=bq2415x_devicGFP_KERNELvalL542"> 542 /GFP_KERNELger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM152N /a>:><15 href="drivers/power/bq215 hr>152hger.c#L498"  class="sref">bmutex_unlockvalL542"> 542 /mutex_unlockx_i2c&>         a hrefe"nvert id_mutexrent_limit4.a>(struct  id_mutexger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1521 /a>:><15 href="drivers/power/bq215 hr>1521ger.c#L557" 542" class="line" nnumine" namvalL556num556 c      iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1522 /a>:><15 href="drivers/power/bq215 hr>152rger.c#L482" idalL482" claslL536" class="linumine" namvalL556num556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1523 /a>:><15 href="drivers/power/bq215 hr>1523ger.c#L532" idalL532" class="line" namvalL532">1524 /a>:><15 href="drivers/power/bq215 hr>1524ger.c#L557" L536" class="liner/static int  a hwer/415xc= e=bq2415x_devickaspiintfstatic int  a hkaspiintfx_i2cd=bq2415x_devicGFP_KERNELvalL542"> 542 /GFP_KERNELger.ead#L533" idalL_liing">"%s-%d"       ead_mask4.a>( a hidrent_limit4.a>(id415x8 /a>         a hrefwer/static int  a hwer/415xead536" class="linumine" namvalL556num556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1525 /a>:><15 href="drivers/power/bq215 hr>152rger.c#L525" 542"!e=bq2415x_devicwer/static int  a hwer/415xi c#L553" idalL553" class="line" namvalL553"> 1526 /a>:><15 href="drivers/power/bq215 hr>152rger.c#L496" idalL496 class="sref">ba h_er5static int  a ha h_er5x_i2c&>         a hrefcli clrent_limit4.a>(cli cl="+c8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"failed to allocate a href2wer/\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM15 7 /a>:><15 href="drivers/power/bq215 hr>152rger.c#L557" idalL557 class="sref">b="line" namvalL556"> 556  a>-         a hrefENOMEMvalL542"> 542 /ENOMEM556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1528 /a>:><15 href="drivers/power/bq215 hr>152rger.c#L498" idalL498goto          a hrefer5or_1valL542"> 542 /er5or_1556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1529 /a>:><15 href="drivers/power/bq215 hr>1529ger.c#L496" c#L549" idalL549" class="line" namvalL549"> 153N /a>:><15 href="drivers/power/bq215 hr>153hger.c#L514" idalL514" class="line" namvalL514">1531 /a>:><15 href="drivers/power/bq215 hr>153rger.c#L561" e=bq2415x_device" class="sref">bq2415x/a>         a hrefa hm_kzallocrent_limit4.a>(a hm_kzallocx_i2c&>         a hrefcli clrent_limit4.a>(cli cl="+c8 /a>         a hrefa hvalL542"> 542 /a h2c_reasizeof(de=bq2415x_device" class="sref">bq2415xie d=bq2415x_devicGFP_KERNELvalL542"> 542 /GFP_KERNELger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1532 /a>:><15 href="drivers/power/bq215 hr>153rger.c#L482" 542"!e=bq2415x_device" class="sref">bq2415xi c#L553" idalL553" class="line" namvalL553"> 1533 /a>:><15 href="drivers/power/bq215 hr>153rger.c#L563" idalL563 class="sref">ba h_er5static int  a ha h_er5x_i2c&>         a hrefcli clrent_limit4.a>(cli cl="+c8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"failed to allocate a href2data\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1534 /a>:><15 href="drivers/power/bq215 hr>153rger.c#L484"         L536" class="li="line" namvalL556"> 556  a>-         a hrefENOMEMvalL542"> 542 /ENOMEM556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1535 /a>:><15 href="drivers/power/bq215 hr>153rger.c#L525"         goto          a hrefer5or_2valL542"> 542 /er5or_2556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1536 /a>:><15 href="drivers/power/bq215 hr>153rger.c#L496" c#L549" idalL549" class="line" namvalL549"> 1537 /a>:><15 href="drivers/power/bq215 hr>153rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1538 /a>:><15 href="drivers/power/bq215 hr>153rger.c#L498" L536" class="lii2c_set_cli cldatavalL542"> 542 /i2c_set_cli cldatax_i2cd=bq2415x_deviccli clrent_limit4.a>(cli cl="+ce e=bq2415x_device" class="sref">bq2415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1539 /a>:><15 href="drivers/power/bq215 hr>153rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM154N /a>:><15 href="drivers/power/bq215 hr>154hger.c#L498"  class="sref">be" class="sref">bq2415x8 /a>         a hrefidrent_limit4.a>(id415x/a>         a hrefnumine" namvalL556num556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1541 /a>:><15 href="drivers/power/bq215 hr>154rger.c#L561" e=bq2415x_device" class="sref">bq2415x8 /a>         a hrefa hvalL542"> 542 /a h2c_r/a>&>         a hrefcli clrent_limit4.a>(cli cl="+c8 /a>         a hrefa hvalL542"> 542 /a h2c_r_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1542 /a>:><15 href="drivers/power/bq215 hr>154rger.c#L482"          a hrefe" class="sref">bq2415x8 /a>         a hrefcvipstatic int  a hcvip556 c= e=bq2415x_devicidrent_limit4.a>(id415x8 /a>         a hrefT" cla_datavalL542"> 542 /T" cla_data2c_r_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1543 /a>:><15 href="drivers/power/bq215 hr>1543ger.c#L482"          a hrefe" class="sref">bq2415x8 /a>         a hrefner/static int  a hwer/415xc= e=bq2415x_devicwer/static int  a hwer/415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1544 /a>:><15 href="drivers/power/bq215 hr>1544ger.c#L557" L536" class="lie" class="sref">bq2415x8 /a>         a hrefm cline" namvalL556m clx_i2  ce /a> * a href=57"> 557MODE_OFFine" namvalL55657"> 557MODE_OFF415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1545 /a>:><15 href="drivers/power/bq215 hr>154rger.c#L525" d_mask4.a>( a he" class="sref">bq2415x8 /a>         a hrefreported_m cline" namvalL556">ported_m clx_i2  ce /a> * a href=57"> 557MODE_OFFine" namvalL55657"> 557MODE_OFF415x_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1546 /a>:><15 href="drivers/power/bq215 hr>1546ger.c#L525" d_mask4.a>( a he" class="sref">bq2415x8 /a>         a hrefautotim55static int  a hautotim55x_i2  c0_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1547 /a>:><15 href="drivers/power/bq215 hr>154rger.c#L557" d_mask4.a>( a he" class="sref">bq2415x8 /a>         a hrefautom cline" namvalL556autom clx_i2  c0_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1548 /a>:><15 href="drivers/power/bq215 hr>154rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1549 /a>:><15 href="drivers/power/bq215 hr>1549ger.c#L557" L536" class="limemcpystatic int  a hmemcpyx_i2c&>         a hrefe" class="sref">bq2415x8 /a>         a hrefinit_datavalL542"> 542 /init_data2c_read=bq2415x_deviccli clrent_limit4.a>(cli cl="+c8 /a>         a hrefa hvalL542"> 542 /a h2c_r.         a hrefplatform_datavalL542"> 542 /platform_data415xec#L532" idalL532" class="line" namvalL532">155N /a>:><15 href="drivers/power/bq215 hr>155hger.c#L539" idalL53999999999sizeof(         a hrefe" class="sref">bq2415x8 /a>         a hrefinit_datavalL542"> 542 /init_data2c_r)i_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1551 /a>:><15 href="drivers/power/bq215 hr>155rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1552 /a>:><15 href="drivers/power/bq215 hr>155rger.c#L482"          a hrefe"BQ2415reset_cvipstatic int  a he"BQ2415reset_cvipx_i2cd=bq2415x_device" class="sref">bq2415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1553 /a>:><15 href="drivers/power/bq215 hr>1553ger.c#L532" idalL532" class="line" namvalL532">1554 /a>:><15 href="drivers/power/bq215 hr>1554ger.c#L557" L536" class="li="line" namvalL556"> 556  a>idalL525" classq2415x_gclass_supply_initrent_limit4.a>(struct  class_supply_initx_i2cd=bq2415x_device" class="sref">bq2415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1555 /a>:><15 href="drivers/power/bq215 hr>155rger.c#L525" 542"L536" class="li="line" namvalL556"> 556 i c#L553" idalL553" class="line" namvalL553"> 1556 /a>:><15 href="drivers/power/bq215 hr>155rger.c#L496" idalL496 class="sref">ba h_er5static int  a ha h_er5x_i2ce=bq2415x_device" class="sref">bq2415x8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"failed to regist14 t">/* supply: %d\n"       ead_mask4.a>( a hreline" namvalL556"> 556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1557 /a>:><15 href="drivers/power/bq215 hr>155rger.c#L557" idalL557goto          a hrefer5or_2valL542"> 542 /er5or_2556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1558 /a>:><15 href="drivers/power/bq215 hr>155rger.c#L498" c#L549" idalL549" class="line" namvalL549"> 1559 /a>:><15 href="drivers/power/bq215 hr>155rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM156N /a>:><15 href="drivers/power/bq215 hr>156hger.c#L498"  class="sref">b="line" namvalL556"> 556  a>idalL525" classq2415x_gsysfs_initrent_limit4.a>(struct  sysfs_initx_i2cd=bq2415x_device" class="sref">bq2415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1561 /a>:><15 href="drivers/power/bq215 hr>1561ger.c#L557" 542" class="line" n="line" namvalL556"> 556 i c#L553" idalL553" class="line" namvalL553"> 1562 /a>:><15 href="drivers/power/bq215 hr>156rger.c#L482" idalL482 class="sref">ba h_er5static int  a ha h_er5x_i2ce=bq2415x_device" class="sref">bq2415x8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"failed to creatr sysfs  clries: %d\n"       ead_mask4.a>( a hreline" namvalL556"> 556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1563 /a>:><15 href="drivers/power/bq215 hr>156rger.c#L563" idalL563goto          a hrefer5or_3valL542"> 542 /er5or_3556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM15 4 /a>:><15 href="drivers/power/bq215 hr>156rger.c#L484" c#L549" idalL549" class="line" namvalL549"> 15 5 /a>:><15 href="drivers/power/bq215 hr>156rger.#L549" idalL549" class="line" namvalL549"> 15 6 /a>:><15155 dalL563" class="line15155>1566ger.c#L525" d_mask4.a>( a h="line" namvalL556"> 556  a>idalL525" classq2415x_gset_default"ine" namvalL556struct  set_default"x_i2cd=bq2415x_device" class="sref">bq2415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1567 /a>:><15 href="drivers/power/bq215 hr>156rger.c#L557" 542" class="line" n="line" namvalL556"> 556 i c#L553" idalL553" class="line" namvalL553"> 1568 /a>:><15 href="drivers/power/bq215 hr>156rger.c#L498" idalL498 class="sref">ba h_er5static int  a ha h_er5x_i2ce=bq2415x_device" class="sref">bq2415x8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"failed to set default values: %d\n"       ead_mask4.a>( a hreline" namvalL556"> 556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1569 /a>:><15 href="drivers/power/bq215 hr>1569ger.c#L496" idalL496goto          a hrefer5or_4valL542"> 542 /er5or_4556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM157N /a>:><15 href="drivers/power/bq215 hr>157hger.c#L539" c#L549" idalL549" class="line" namvalL549"> 1571 /a>:><15 href="drivers/power/bq215 hr>157rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1572 /a>:><15 href="drivers/power/bq215 hr>157rger.c#L482" 542"         a hrefe" class="sref">bq2415x8 /a>         a hrefinit_datavalL542"> 542 /init_data2c_r.         a hrefset_m cl_hookvalL542"> 542 /set_m cl_hook556 i c#L553" idalL553" class="line" namvalL553"> 1573 /a>:><15 href="drivers/power/bq215 hr>157rger.c#L563" idalL563542"         a hrefe" class="sref">bq2415x8 /a>         a hrefinit_datavalL542"> 542 /init_data2c_r.         a hrefset_m cl_hookvalL542"> 542 /set_m cl_hook556 (#L553" idalL553" class="line" namvalL553"> 1574 /a>:><15 href="drivers/power/bq215 hr>157rger.c#L484"         c#L498" idalL498 class="sref">bline" nahook_functionine" namvalL556struct  hook_function="+ce e=bq2415x_device" class="sref">bq2415xii c#L553" idalL553" class="line" namvalL553"> 1575 /a>:><15 href="drivers/power/bq215 hr>157rger.c#L525"         c#L484" d_mask4.a>( a he" class="sref">bq2415x8 /a>         a hrefautom cline" namvalL556autom clx_i2  c1_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1576 /a>:><15 href="drivers/power/bq215 hr>157rger.c#L496" idalL496idalL498 class="sref">bline" naset_m cline" namvalL556struct  set_m clx_i2"         a hrefe" class="sref">bq2415xe e=bq2415x_device" class="sref">bq2415x8 /a>         a hrefreported_m cline" namvalL556">ported_m clx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1577 /a>:><15 href="drivers/power/bq215 hr>157rger.c#L557" idalL557idalL498 class="sref">ba h_infostatic int  a ha h_infox_i2ce=bq2415x_device" class="sref">bq2415x8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"autom cl enabled\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1578 /a>:><15 href="drivers/power/bq215 hr>157rger.c#L498" idalL498} else c#L553" idalL553" class="line" namvalL553"> 1579 /a>:><15 href="drivers/power/bq215 hr>1579ger.c#L496" idalL496c#L484" d_mask4.a>( a he" class="sref">bq2415x8 /a>         a hrefautom cline" namvalL556autom clx_i2  c-1_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM158N /a>:><15 href="drivers/power/bq215 hr>158hger.c#L539" idalL53999999999 class="sref">ba h_infostatic int  a ha h_infox_i2ce=bq2415x_device" class="sref">bq2415x8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"autom cl failed\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1581 /a>:><15 href="drivers/power/bq215 hr>1581ger.c#L539" idalL498}SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1582 /a>:><15 href="drivers/power/bq215 hr>158rger.c#L482" } else c#L553" idalL553" class="line" namvalL553"> 1583 /a>:><15 href="drivers/power/bq215 hr>158rger.c#L563" idalL563 class="sref">be" class="sref">bq2415x8 /a>         a hrefautom cline" namvalL556autom clx_i2  c-1_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1584 /a>:><15 href="drivers/power/bq215 hr>158rger.c#L484"         L536" class="lia h_infostatic int  a ha h_infox_i2ce=bq2415x_device" class="sref">bq2415x8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"autom cl not3_upported\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1585 /a>:><15 href="drivers/power/bq215 hr>158rger.c#L525" c#L549" idalL549" class="line" namvalL549"> 1586 /a>:><15 href="drivers/power/bq215 hr>158rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1587 /a>:><15 href="drivers/power/bq215 hr>158rger.c#L557" d_mask4.a>( a hINIT_DELAYED_WORKvalL542"> 542 /INIT_DELAYED_WORKx_i2c&>         a hrefe" class="sref">bq2415x8 /a>         a hrefworkvalL542"> 542 /work415xe e=bq2415x_device"BQ2415tim55_workvalL542"> 542 /e"BQ2415tim55_workx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1588 /a>:><15 href="drivers/power/bq215 hr>158rger.c#L498" L536" class="listruct  set_autotim55static int  a hstruct  set_autotim55x_i2"         a hrefe" class="sref">bq2415xe 1X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1589 /a>:><15 href="drivers/power/bq215 hr>158rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM159N /a>:><15 href="drivers/power/bq215 hr>159hger.c#L498"  class="sref">ba h_infostatic int  a ha h_infox_i2ce=bq2415x_device" class="sref">bq2415x8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"T" cla regist14ed\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1591 /a>:><15 href="drivers/power/bq215 hr>1591ger.c#L539" " clasl0_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1592 /a>:><15 href="drivers/power/bq215 hr>159rger.#L549" idalL549" class="line" namvalL549"> 1593 /a>:><15 href="drivers/power/bq215 hr>159rger.         a hrefer5or_4valL542"> 542 /er5or_4556 :#L549" idalL549" class="line" namvalL549"> 1594 /a>:><15 href="drivers/power/bq215 hr>1594ger.c#L557" L536" class="lie"ruct  sysfs_exitrent_limit4.a>(struct  sysfs_exitx_i2cd=bq2415x_device" class="sref">bq2415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1595 /a>:><15 href="drivers/power/bq215 hr>159rger.         a hrefer5or_3valL542"> 542 /er5or_3556 :#L549" idalL549" class="line" namvalL549"> 1596 /a>:><15 href="drivers/power/bq215 hr>1596ger.c#L525" d_mask4.a>( a he"ruct  class_supply_exitrent_limit4.a>(struct  class_supply_exitx_i2cd=bq2415x_device" class="sref">bq2415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1597 /a>:><15 href="drivers/power/bq215 hr>159rger.         a hrefer5or_2valL542"> 542 /er5or_2556 :#L549" idalL549" class="line" namvalL549"> 1598 /a>:><15 href="drivers/power/bq215 hr>159rger.c#L498" L536" class="likfreline" namvalL556kfrelx_i2cd=bq2415x_devicwer/static int  a hwer/415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1599 /a>:><15 href="drivers/power/bq215 hr>1599ger.         a hrefer5or_1valL542"> 542 /er5or_1556 :#L549" idalL549" class="line" namvalL549"> 16WN /a>:><16WN /f="drivers/power/bq216WN >160hger.c#L498"  class="sref">bmutex_lockvalL542"> 542 /mutex_lockx_i2c&>         a hrefe"nvert id_mutexrent_limit4.a>(struct  id_mutexger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM16W1 /a>:><16Whref="drivers/power/bq216Whr>160rger.c#L561" e=bq2415x_devicidr_removrvalL542"> 542 /idr_removrx_i2c&>         a hrefe"nvert idrent_limit4.a>(struct  id415xe e=bq2415x_devicnumine" namvalL556num556 X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM16W2 /a>:><16Whref="drivers/power/bq216Whr>160rger.c#L482"          a hrefmutex_unlockvalL542"> 542 /mutex_unlockx_i2c&>         a hrefe"nvert id_mutexrent_limit4.a>(struct  id_mutexger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM16W3 /a>:><16Whref="drivers/power/bq216Whr>1603ger.c#L532" idalL532" class="line" namvalL532">16W4 /a>:><16Whref="drivers/power/bq216Whr>160rger.c#L484" " clasl class="sref">b="line" namvalL556"> 556 _SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM16W5 /a>:><16Whref="drivers/power/bq216Whr>160rger.c#L549" idalL549" class="line" namvalL549"> 16W6 /a>:><16Whref="drivers/power/bq216Whr>160rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM16W7 /a>:><16Whref="drivers/power/bq216Whr>160rger.c#L521" idalL521" clas/* main line" n removr function2*        spao class="comment">/* convert to binary *16W8 /a>:><16Whref="drivers/power/bq216Whr>160rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM16W9 /a>:><16Whref="drivers/power/bq216Whr>160rger.c#L552"5dalL536" class="listruct  removrvalL542"> 542 /struct  removrx_i2c_limit" class="sref">bi2c_cli clrent_limit4.a>(i2c_cli cl="+code=bq2415x_deviccli clrent_limit4.a>(cli cl="+ciSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM161N /a>:><16 href="drivers/power/bq216 hr>161hger.c#L553" idalL553" class="line" namvalL553"> 1611 /a>:><16 href="drivers/power/bq216 hr>161rger.c#L561" _limit" class="sref">bq2415x_get_current_limit4.a>(struct  a href="+code=bq2415x_device" class="sref">bq2415xc= e=bq2415x_devici2c_get_cli cldatavalL542"> 542 /i2c_get_cli cldatax_i2cd=bq2415x_deviccli clrent_limit4.a>(cli cl="+cX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1612 /a>:><16 href="drivers/power/bq216 hr>161rger.#L549" idalL549" class="line" namvalL549"> 1613 /a>:><16 href="drivers/power/bq216 hr>161rger.c#L563" 542"         a hrefe" class="sref">bq2415x8 /a>         a hrefinit_datavalL542"> 542 /init_data2c_r.         a hrefset_m cl_hookvalL542"> 542 /set_m cl_hook556 iSHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1614 /a>:><16 href="drivers/power/bq216 hr>161rger.c#L484"                  a hrefe" class="sref">bq2415x8 /a>         a hrefinit_datavalL542"> 542 /init_data2c_r.         a hrefset_m cl_hookvalL542"> 542 /set_m cl_hook556 "         a hrefNULLvalL542"> 542 /NULLx_i2ead_mask4.a>( a hNULLvalL542"> 542 /NULLx_i2X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1615 /a>:><16 href="drivers/power/bq216 hr>161rger.#L549" idalL549" class="line" namvalL549"> 1616 /a>:><16 href="drivers/power/bq216 hr>1616ger.c#L525" d_mask4.a>( a he"ruct  sysfs_exitrent_limit4.a>(struct  sysfs_exitx_i2cd=bq2415x_device" class="sref">bq2415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM16 7 /a>:><16 href="drivers/power/bq216 hr>161rger.c#L557" d_mask4.a>( a he"ruct  class_supply_exitrent_limit4.a>(struct  class_supply_exitx_i2cd=bq2415x_device" class="sref">bq2415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM16 8 /a>:><16 href="drivers/power/bq216 hr>161rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM16 9 /a>:><16 href="drivers/power/bq216 hr>1619ger.c#L557" L536" class="lie"BQ2415reset_cvipstatic int  a he"BQ2415reset_cvipx_i2cd=bq2415x_device" class="sref">bq2415xi_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM162N /a>:><16 href="drivers/power/bq216 hr>162hger.c#L514" idalL514" class="line" namvalL514">1621 /a>:><16 href="drivers/power/bq216 hr>162rger.c#L561" e=bq2415x_devicmutex_lockvalL542"> 542 /mutex_lockx_i2c&>         a hrefe"nvert id_mutexrent_limit4.a>(struct  id_mutexger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1622 /a>:><16 href="drivers/power/bq216 hr>162rger.c#L482"          a hrefidr_removrvalL542"> 542 /idr_removrx_i2c&>         a hrefe"nvert idrent_limit4.a>(struct  id415xe e=bq2415x_device" class="sref">bq2415x8 /a>         a hrefidrent_limit4.a>(id415xX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1623 /a>:><16 href="drivers/power/bq216 hr>1623ger.c#L482"          a hrefmutex_unlockvalL542"> 542 /mutex_unlockx_i2c&>         a hrefe"nvert id_mutexrent_limit4.a>(struct  id_mutexger.X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1624 /a>:><16 href="drivers/power/bq216 hr>162rger.c#L514" idalL514" class="line" namvalL514">1625 /a>:><16 href="drivers/power/bq216 hr>162rger.c#L525" d_mask4.a>( a ha h_infostatic int  a ha h_infox_i2ce=bq2415x_device" class="sref">bq2415x8 /a>         a hrefa hvalL542"> 542 /a h2c_read#L533" idalL_liing">"T" cla unregist14ed\n"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1626 /a>:><16 href="drivers/power/bq216 hr>162rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM16 7 /a>:><16 href="drivers/power/bq216 hr>162rger.c#L557" d_mask4.a>( a hkfreline" namvalL556kfrelx_i2cd=bq2415x_device" class="sref">bq2415x8 /a>         a hrefner/static int  a hwer/415xX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1628 /a>:><16 href="drivers/power/bq216 hr>162rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1629 /a>:><16 href="drivers/power/bq216 hr>1629ger.c#L496" " clasl0_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM163N /a>:><16 href="drivers/power/bq216 hr>163hger.c#L549" idalL549" class="line" namvalL549"> 1631 /a>:><16 href="drivers/power/bq216 hr>163rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1632 /a>:><16 href="drivers/power/bq216 hr>1632ger.c#L552"const3_limit" class="sref">bi2c_a href_idrent_limit4.a>(i2c_a href_id="+co         a hrefe"nvert i2c_id_tablestatic int  a he"nvert i2c_id_table="+c[]c= c#L553" idalL553" class="line" namvalL553"> 1633 /a>:><16 href="drivers/power/bq216 hr>163rger.c#L563" {ad#L533" idalL_liing">"line" n"       ead_mask4.a>( a hBQUNKNOWNstatic int  a hBQUNKNOWNger.c}ec#L532" idalL532" class="line" namvalL532">1634 /a>:><16 href="drivers/power/bq216 hr>163rger.c#L484" {ad#L533" idalL_liing">"line" 0"       ead_mask4.a>( a hBQne" 0static int  a hBQne" 0ger.c}ec#L532" idalL532" class="line" namvalL532">1635 /a>:><16 href="drivers/power/bq216 hr>163rger.c#L525" {ad#L533" idalL_liing">"line" 0a"       ead_mask4.a>( a hBQne" 0Astatic int  a hBQne" 0Ager.c}ec#L532" idalL532" class="line" namvalL532">1636 /a>:><16 href="drivers/power/bq216 hr>163rger.c#L496" {ad#L533" idalL_liing">"line" 1"       ead_mask4.a>( a hBQne" 1valL542"> 542 /BQne" 1ger.c}ec#L532" idalL532" class="line" namvalL532">1637 /a>:><16 href="drivers/power/bq216 hr>1637ger.c#L496" {ad#L533" idalL_liing">"line" 1a"       ead_mask4.a>( a hBQne" 1Astatic int  a hBQne" 1Ager.c}ec#L532" idalL532" class="line" namvalL532">1638 /a>:><16 href="drivers/power/bq216 hr>163rger.c#L498" {ad#L533" idalL_liing">"line" 2"       ead_mask4.a>( a hBQne" 2valL542"> 542 /BQne" 2ger.c}ec#L532" idalL532" class="line" namvalL532">1639 /a>:><16 href="drivers/power/bq216 hr>1639ger.c#L498" {ad#L533" idalL_liing">"line" 3"       ead_mask4.a>( a hBQne" 3valL542"> 542 /BQne" 3ger.c}ec#L532" idalL532" class="line" namvalL532">164N /a>:><16 href="drivers/power/bq216 hr>164hger.c#L498" {ad#L533" idalL_liing">"line" 3a"       ead_mask4.a>( a hBQne" 3Astatic int  a hBQne" 3Ager.c}ec#L532" idalL532" class="line" namvalL532">1641 /a>:><16 href="drivers/power/bq216 hr>164rger.c#L561" {ad#L533" idalL_liing">"line" 5"       ead_mask4.a>( a hBQne" 5static int  a hBQne" 5ger.c}ec#L532" idalL532" class="line" namvalL532">1642 /a>:><16 href="drivers/power/bq216 hr>164rger.c#L482" {ad#L533" idalL_liing">"line" 6"       ead_mask4.a>( a hBQne" 6static int  a hBQne" 6ger.c}ec#L532" idalL532" class="line" namvalL532">1643 /a>:><16 href="drivers/power/bq216 hr>164rger.c#L563" {ad#L533" idalL_liing">"line" 6a"       ead_mask4.a>( a hBQne" 6Astatic int  a hBQne" 6Ager.c}ec#L532" idalL532" class="line" namvalL532">1644 /a>:><16 href="drivers/power/bq216 hr>164rger.c#L484" {ad#L533" idalL_liing">"line" 8"       ead_mask4.a>( a hBQne" 8static int  a hBQne" 8ger.c}ec#L532" idalL532" class="line" namvalL532">1645 /a>:><16 href="drivers/power/bq216 hr>164rger.c#L525" {}ec#L532" idalL532" class="line" namvalL532">1646 /a>:><16 href="drivers/power/bq216 hr>164rger.}_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1647 /a>:><16 href="drivers/power/bq216 hr>164rger.         a hrefMODULE_DEVICE_TABLEstatic int  a hMODULE_DEVICE_TABLEx_i2cd=bq2415x_devici2crent_limit4.a>(i2c415xe e=bq2415x_device"nvert i2c_id_tablestatic int  a he"nvert i2c_id_table="+cX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1648 /a>:><16 href="drivers/power/bq216 hr>164rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1649 /a>:><16 href="drivers/power/bq216 hr>164rger.c#L552"_limit" class="sref">bi2c_a" clarent_limit4.a>(i2c_a" cla="+co         a hrefe"nvert a" clarent_limit4.a>(e"nvert a" cla415xc= c#L553" idalL553" class="line" namvalL553"> 165N /a>:><16 href="drivers/power/bq216 hr>165hger.c#L539" .         a hrefa" clarent_limit4.a>(a" cla415xc= c#L553" idalL553" class="line" namvalL553"> 1651 /a>:><16 href="drivers/power/bq216 hr>1651ger.c#L539" idalL498.         a hrefner/static int  a hwer/415xc= e#L533" idalL_liing">"line" n-mvalL55"       e#L553" idalL553" class="line" namvalL553"> 1652 /a>:><16 href="drivers/power/bq216 hr>165rger.c#L482" }ec#L532" idalL532" class="line" namvalL532">1653 /a>:><16 href="drivers/power/bq216 hr>1653ger.c#L539" .         a hrefprobestatic int  a hprobex_i2 a>idalL525" classq2415x_gcrobestatic int  a hstruct  probex_i2ec#L532" idalL532" class="line" namvalL532">1654 /a>:><16 href="drivers/power/bq216 hr>1654ger.c#L557" .         a hrefremovrvalL542"> 542 /removrx_i2 a>idalL525" classq2415x_gremovrvalL542"> 542 /struct  removrx_i2ec#L532" idalL532" class="line" namvalL532">1655 /a>:><16 href="drivers/power/bq216 hr>165rger.c#L525" .         a hrefid_tablestatic int  a hid_table="+c a>idalL525" classq2415x_gi2c_id_tablestatic int  a he"nvert i2c_id_table="+cec#L532" idalL532" class="line" namvalL532">1656 /a>:><16 href="drivers/power/bq216 hr>165rger.}_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1657 /a>:><16 href="drivers/power/bq216 hr>165rger.         a hrefmodule_i2c_a" clarent_limit4.a>(module_i2c_a" clax_i2cd=bq2415x_device"nvert a" clarent_limit4.a>(e"nvert a" cla415xX_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1658 /a>:><16 href="drivers/power/bq216 hr>165rger.SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1659 /a>:><16 href="drivers/power/bq216 hr>1659ger.         a hrefMODULE_AUTHORstatic int  a hMODULE_AUTHORx_i2cd#L533" idalL_liing">"Pali Rohárc    pali.ro_SH@gmail.com /a>"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM166N /a>:><16 href="drivers/power/bq216 hr>166hger.         a hrefMODULE_DESCRIPTIONstatic int  a hMODULE_DESCRIPTIONx_i2cd#L533" idalL_liing">"line" n X_SHIFT T" cla"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1661 /a>:><16 href="drivers/power/bq216 hr>1661ger.         a hrefMODULE_LICENSEstatic int  a hMODULE_LICENSEx_i2cd#L533" idalL_liing">"GPL"       X_SHIFT_LIMIT" class="sref">BQ2415X_SHIFT_LIM1662 /a>:><16 href="drivers/power/bq216 hr>166rger.


The original LXR software by the HIFT_LIMIhttp://sourcefoHIF.net/projects/lxar>LXR 521"unity415xe this experi" clal clasion2by HIFT_LIMImailto:lxa@ersux.no">lxa@ersux.no2c_r.
lxa.ersux.no kindly hosted2by HIFT_LIMIhttp://www.redpill-erspro.no">Redpill Lrspro AS415xe providFT of Lrsux"consulting and operations serhrefs since 1995.