Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dbq25980_charger.h169 #define BQ25980_ADC_CURR_STEP_uA 1000 macro
H A Dbq25980_charger.c494 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()
535 return ((ibat_adc ^ 0xffff) + 1) * BQ25980_ADC_CURR_STEP_uA; in bq25980_get_ibat_adc()
537 return ibat_adc * BQ25980_ADC_CURR_STEP_uA; in bq25980_get_ibat_adc()