Searched refs:ADC_TO_CHARGE_UAH (Results 1 – 1 of 1) sorted by relevance
121 #define ADC_TO_CHARGE_UAH(adc_value, res_div) \ macro283 charge_now = ADC_TO_CHARGE_UAH(charge_now_adc, in rk817_bat_calib_cap()324 charge_now = ADC_TO_CHARGE_UAH(charge_now_adc, in rk817_bat_calib_cap()382 charger->charge_now_uah = ADC_TO_CHARGE_UAH(tmp, charger->res_div); in rk817_read_props()807 boot_charge_mah = ADC_TO_CHARGE_UAH(tmp, in rk817_read_or_set_full_charge_on_boot()