Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Drk817_charger.c121 #define ADC_TO_CHARGE_UAH(adc_value, res_div) \ macro
283 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()