Searched refs:vindpm_reg_code (Results 1 – 1 of 1) sorted by relevance
831 unsigned int vindpm_reg_code; in bq256xx_get_input_volt_lim() local839 vindpm_reg_code = charger_control_2 & BQ256XX_VINDPM_MASK; in bq256xx_get_input_volt_lim()841 return (vindpm_reg_code * BQ256XX_VINDPM_STEP_uV) + in bq256xx_get_input_volt_lim()847 unsigned int vindpm_reg_code; in bq256xx_set_input_volt_lim() local851 vindpm_reg_code = (vindpm - BQ256XX_VINDPM_OFFSET_uV) / in bq256xx_set_input_volt_lim()855 BQ256XX_VINDPM_MASK, vindpm_reg_code); in bq256xx_set_input_volt_lim()