Searched refs:ibus_adc (Results 1 – 1 of 1) sorted by relevance
480 u16 ibus_adc; in bq25980_get_adc_ibus() local491 ibus_adc = (ibus_adc_msb << 8) | ibus_adc_lsb; in bq25980_get_adc_ibus()494 return ((ibus_adc ^ 0xffff) + 1) * BQ25980_ADC_CURR_STEP_uA; in bq25980_get_adc_ibus()496 return ibus_adc * BQ25980_ADC_CURR_STEP_uA; in bq25980_get_adc_ibus()