Home
last modified time | relevance | path

Searched refs:vindpm_reg_code (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dbq256xx_charger.c839 unsigned int vindpm_reg_code; in bq256xx_get_input_volt_lim() local
847 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() local
859 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()