Searched refs:vbatreg_reg_code (Results 1 – 1 of 1) sorted by relevance
546 unsigned int vbatreg_reg_code; in bq25618_619_get_chrg_volt() local555 vbatreg_reg_code = (battery_volt_lim & BQ256XX_VBATREG_MASK) >> in bq25618_619_get_chrg_volt()558 if (vbatreg_reg_code > BQ2561X_VBATREG_THRESH) in bq25618_619_get_chrg_volt()559 return ((vbatreg_reg_code - BQ2561X_VBATREG_THRESH) * in bq25618_619_get_chrg_volt()563 return bq25618_619_vbatreg_values[vbatreg_reg_code]; in bq25618_619_get_chrg_volt()569 unsigned int vbatreg_reg_code; in bq25611d_get_chrg_volt() local577 vbatreg_reg_code = (battery_volt_lim & BQ256XX_VBATREG_MASK) >> in bq25611d_get_chrg_volt()580 if (vbatreg_reg_code > BQ2561X_VBATREG_THRESH) in bq25611d_get_chrg_volt()581 return ((vbatreg_reg_code - BQ2561X_VBATREG_THRESH) * in bq25611d_get_chrg_volt()585 return bq25611d_vbatreg_values[vbatreg_reg_code]; in bq25611d_get_chrg_volt()[all …]