Searched refs:CHARGE_TO_ADC (Results 1 – 1 of 1) sorted by relevance
118 #define CHARGE_TO_ADC(capacity, res_div) \ macro261 charge_now_adc = CHARGE_TO_ADC(charger->fcc_mah, in rk817_bat_calib_cap()298 charge_now_adc = CHARGE_TO_ADC(charger->fcc_mah, in rk817_bat_calib_cap()343 charge_now_adc = CHARGE_TO_ADC(0, charger->res_div); in rk817_bat_calib_cap()845 tmp = CHARGE_TO_ADC(boot_charge_mah, charger->res_div); in rk817_read_or_set_full_charge_on_boot()853 tmp = CHARGE_TO_ADC((charger->bat_charge_full_design_uah / 1000), in rk817_read_or_set_full_charge_on_boot()