Searched refs:ibus_adc_msb (Results 1 – 1 of 1) sorted by relevance
479 int ibus_adc_lsb, ibus_adc_msb; in bq25980_get_adc_ibus() local483 ret = regmap_read(bq->regmap, BQ25980_IBUS_ADC_MSB, &ibus_adc_msb); in bq25980_get_adc_ibus()491 ibus_adc = (ibus_adc_msb << 8) | ibus_adc_lsb; in bq25980_get_adc_ibus()493 if (ibus_adc_msb & BQ25980_ADC_POLARITY_BIT) in bq25980_get_adc_ibus()