Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dbq25980_charger.c35 u32 ibat_adc; member
522 int ibat_adc; in bq25980_get_ibat_adc() local
532 ibat_adc = (ibat_adc_msb << 8) | ibat_adc_lsb; in bq25980_get_ibat_adc()
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()