Searched refs:adc_value (Results 1 – 2 of 2) sorted by relevance
207 #define ADC_TO_CURRENT(adc_value, samp_res) \ argument208 (adc_value * 1720 / 1000 / samp_res)212 #define ADC_TO_CAPACITY(adc_value, samp_res) \ argument213 (adc_value / 1000 * 1720 / 3600 / samp_res)217 #define ADC_TO_CAPACITY_UAH(adc_value, samp_res) \ argument218 (adc_value / 3600 * 1720 / samp_res)219 #define ADC_TO_CAPACITY_MAH(adc_value, samp_res) \ argument220 (adc_value / 1000 * 1720 / 3600 / samp_res)
32 rockchip,adc_value = <1>;47 rockchip,adc_value = <10>;