Searched refs:res_div (Results 1 – 1 of 1) sorted by relevance
91 int res_div; member112 #define ADC_TO_CURRENT(adc_value, res_div) \ argument113 (adc_value * 172 / res_div)118 #define CHARGE_TO_ADC(capacity, res_div) \ argument119 (capacity * res_div * 3600 / 172 * 1000)121 #define ADC_TO_CHARGE_UAH(adc_value, res_div) \ argument122 (adc_value / 3600 * 172 / res_div)262 charger->res_div); in rk817_bat_calib_cap()284 charger->res_div); in rk817_bat_calib_cap()299 charger->res_div); in rk817_bat_calib_cap()[all …]