Searched refs:iprechg_reg_code (Results 1 – 1 of 1) sorted by relevance
715 unsigned int iprechg_reg_code; in bq256xx_get_prechrg_curr() local723 iprechg_reg_code = (prechg_and_term_curr_lim & BQ256XX_IPRECHG_MASK) in bq256xx_get_prechrg_curr()726 return (iprechg_reg_code * BQ256XX_IPRECHG_STEP_uA) + in bq256xx_get_prechrg_curr()732 unsigned int iprechg_reg_code; in bq256xx_set_prechrg_curr() local737 iprechg_reg_code = ((iprechg - BQ256XX_IPRECHG_OFFSET_uA) / in bq256xx_set_prechrg_curr()741 BQ256XX_IPRECHG_MASK, iprechg_reg_code); in bq256xx_set_prechrg_curr()747 unsigned int iprechg_reg_code; in bq25618_619_get_prechrg_curr() local758 return (iprechg_reg_code * BQ25618_IPRECHG_STEP_uA) + in bq25618_619_get_prechrg_curr()764 unsigned int iprechg_reg_code; in bq25618_619_set_prechrg_curr() local769 iprechg_reg_code = ((iprechg - BQ25618_IPRECHG_OFFSET_uA) / in bq25618_619_set_prechrg_curr()[all …]