Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/power/supply/
Drk817_charger.c91 int res_div; member
112 #define ADC_TO_CURRENT(adc_value, res_div) \ argument
113 (adc_value * 172 / res_div)
118 #define CHARGE_TO_ADC(capacity, res_div) \ argument
119 (capacity * res_div * 3600 / 172 * 1000)
121 #define ADC_TO_CHARGE_UAH(adc_value, res_div) \ argument
122 (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 …]