Searched refs:iprechg_reg_code (Results 1 – 1 of 1) sorted by relevance
707 unsigned int iprechg_reg_code; in bq256xx_get_prechrg_curr() local715 iprechg_reg_code = (prechg_and_term_curr_lim & BQ256XX_IPRECHG_MASK) in bq256xx_get_prechrg_curr()718 return (iprechg_reg_code * BQ256XX_IPRECHG_STEP_uA) + in bq256xx_get_prechrg_curr()724 unsigned int iprechg_reg_code; in bq256xx_set_prechrg_curr() local729 iprechg_reg_code = ((iprechg - BQ256XX_IPRECHG_OFFSET_uA) / in bq256xx_set_prechrg_curr()733 BQ256XX_IPRECHG_MASK, iprechg_reg_code); in bq256xx_set_prechrg_curr()739 unsigned int iprechg_reg_code; in bq25618_619_get_prechrg_curr() local747 iprechg_reg_code = (prechg_and_term_curr_lim & BQ256XX_IPRECHG_MASK) in bq25618_619_get_prechrg_curr()750 return (iprechg_reg_code * BQ25618_IPRECHG_STEP_uA) + in bq25618_619_get_prechrg_curr()756 unsigned int iprechg_reg_code; in bq25618_619_set_prechrg_curr() local[all …]