Lines Matching defs:rk818_battery

158 struct rk818_battery {  struct
159 struct platform_device *pdev;
160 struct rk808 *rk818;
161 struct regmap *regmap;
162 struct device *dev;
163 struct power_supply *bat;
164 struct power_supply *usb_psy;
165 struct power_supply *ac_psy;
166 struct battery_platform_data *pdata;
167 struct workqueue_struct *bat_monitor_wq;
168 struct delayed_work bat_delay_work;
169 struct delayed_work calib_delay_work;
170 struct wake_lock wake_lock;
171 struct notifier_block fb_nb;
172 struct timer_list caltimer;
173 time64_t rtc_base;
174 int bat_res;
175 int chrg_status;
176 bool is_initialized;
177 bool is_first_power_on;
178 u8 res_div;
179 int current_max;
180 int voltage_max;
181 int current_avg;
182 int voltage_avg;
183 int voltage_ocv;
184 int voltage_relax;
185 int voltage_k;
186 int voltage_b;
187 int remain_cap;
188 int design_cap;
189 int nac;
190 int fcc;
191 int qmax;
192 int dsoc;
193 int rsoc;
194 int poffset;
195 int age_ocv_soc;
196 bool age_allow_update;
197 int age_level;
198 int age_ocv_cap;
199 int age_voltage;
200 int age_adjust_cap;
201 unsigned long age_keep_sec;
202 int zero_timeout_cnt;
203 int zero_remain_cap;
204 int zero_dsoc;
205 int zero_linek;
206 u64 zero_drop_sec;
207 u64 shtd_drop_sec;
208 int sm_remain_cap;
209 int sm_linek;
210 int sm_chrg_dsoc;
211 int sm_dischrg_dsoc;
212 int algo_rest_val;
213 int algo_rest_mode;
214 int sleep_sum_cap;
215 int sleep_remain_cap;
216 unsigned long sleep_dischrg_sec;
217 unsigned long sleep_sum_sec;
218 bool sleep_chrg_online;
219 u8 sleep_chrg_status;
220 bool adc_allow_update;
221 int fb_blank;
222 bool s2r; /*suspend to resume*/
223 u32 work_mode;
224 int temperature;
225 u32 monitor_ms;
226 u32 pwroff_min;
227 u32 adc_calib_cnt;
228 unsigned long finish_base;
229 unsigned long boot_base;
230 unsigned long flat_match_sec;
231 unsigned long plug_in_base;
232 unsigned long plug_out_base;
233 u8 halt_cnt;
234 bool is_halt;
235 bool is_max_soc_offset;
236 bool is_sw_reset;
237 bool is_ocv_calib;
238 bool is_first_on;
239 bool is_force_calib;
240 int last_dsoc;
241 int ocv_pre_dsoc;
242 int ocv_new_dsoc;
243 int max_pre_dsoc;
244 int max_new_dsoc;
245 int force_pre_dsoc;
246 int force_new_dsoc;
247 int dbg_cap_low0;
248 int dbg_pwr_dsoc;
249 int dbg_pwr_rsoc;
250 int dbg_pwr_vol;
251 int dbg_chrg_min[10];
252 int dbg_meet_soc;
253 int dbg_calc_dsoc;
254 int dbg_calc_rsoc;
255 u8 ac_in;
256 u8 usb_in;
257 int is_charging;
258 unsigned long charge_count;