Searched refs:charge_now_adc (Results 1 – 1 of 1) sorted by relevance
243 int tmp, charge_now, charge_now_adc, volt_avg; in rk817_bat_calib_cap() local261 charge_now_adc = CHARGE_TO_ADC(charger->fcc_mah, in rk817_bat_calib_cap()263 put_unaligned_be32(charge_now_adc, bulk_reg); in rk817_bat_calib_cap()280 charge_now_adc = get_unaligned_be32(bulk_reg); in rk817_bat_calib_cap()281 if (charge_now_adc < 0) in rk817_bat_calib_cap()282 return charge_now_adc; in rk817_bat_calib_cap()283 charge_now = ADC_TO_CHARGE_UAH(charge_now_adc, in rk817_bat_calib_cap()300 put_unaligned_be32(charge_now_adc, bulk_reg); in rk817_bat_calib_cap()323 charge_now_adc = get_unaligned_be32(bulk_reg); in rk817_bat_calib_cap()324 charge_now = ADC_TO_CHARGE_UAH(charge_now_adc, in rk817_bat_calib_cap()[all …]