Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dbq25980_charger.c542 int vsys_adc_lsb, vsys_adc_msb; in bq25980_get_adc_vbat() local
546 ret = regmap_read(bq->regmap, BQ25980_VBAT_ADC_MSB, &vsys_adc_msb); in bq25980_get_adc_vbat()
554 vsys_adc = (vsys_adc_msb << 8) | vsys_adc_lsb; in bq25980_get_adc_vbat()