Searched refs:ibat_adc (Results 1 – 1 of 1) sorted by relevance
35 u32 ibat_adc; member522 int ibat_adc; in bq25980_get_ibat_adc() local532 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()