Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dbq25980_charger.c521 int ibat_adc_lsb, ibat_adc_msb; in bq25980_get_ibat_adc() local
528 ret = regmap_read(bq->regmap, BQ25980_IBAT_ADC_LSB, &ibat_adc_lsb); in bq25980_get_ibat_adc()
532 ibat_adc = (ibat_adc_msb << 8) | ibat_adc_lsb; in bq25980_get_ibat_adc()