Searched refs:vindpm_reg_code (Results 1 – 1 of 1) sorted by relevance
839 unsigned int vindpm_reg_code; in bq256xx_get_input_volt_lim() local847 vindpm_reg_code = charger_control_2 & BQ256XX_VINDPM_MASK; in bq256xx_get_input_volt_lim()849 return (vindpm_reg_code * BQ256XX_VINDPM_STEP_uV) + in bq256xx_get_input_volt_lim()855 unsigned int vindpm_reg_code; in bq256xx_set_input_volt_lim() local859 vindpm_reg_code = (vindpm - BQ256XX_VINDPM_OFFSET_uV) / in bq256xx_set_input_volt_lim()863 BQ256XX_VINDPM_MASK, vindpm_reg_code); in bq256xx_set_input_volt_lim()