Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dbq25980_charger.c480 u16 ibus_adc; in bq25980_get_adc_ibus() local
491 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()