Searched refs:iterm_reg_code (Results 1 – 1 of 1) sorted by relevance
771 unsigned int iterm_reg_code; in bq256xx_get_term_curr() local779 iterm_reg_code = prechg_and_term_curr_lim & BQ256XX_ITERM_MASK; in bq256xx_get_term_curr()781 return (iterm_reg_code * BQ256XX_ITERM_STEP_uA) + in bq256xx_get_term_curr()787 unsigned int iterm_reg_code; in bq256xx_set_term_curr() local791 iterm_reg_code = (iterm - BQ256XX_ITERM_OFFSET_uA) / in bq256xx_set_term_curr()795 BQ256XX_ITERM_MASK, iterm_reg_code); in bq256xx_set_term_curr()801 unsigned int iterm_reg_code; in bq25618_619_get_term_curr() local809 iterm_reg_code = prechg_and_term_curr_lim & BQ256XX_ITERM_MASK; in bq25618_619_get_term_curr()811 return (iterm_reg_code * BQ25618_ITERM_STEP_uA) + in bq25618_619_get_term_curr()817 unsigned int iterm_reg_code; in bq25618_619_set_term_curr() local[all …]