Home
last modified time | relevance | path

Searched defs:adc_value (Results 1 – 4 of 4) sorted by relevance

/device/soc/esp/esp32/components/driver/
Dadc_common.c423 int adc_value; in adc1_get_raw() local
558 int adc_value = 0; in adc2_get_raw() local
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/nvp6158/
Dvideo.c73 unsigned char adc_value; in nvp6158_video_get_adcclk() local
/device/soc/rockchip/common/vendor/drivers/power/
Drk817_battery.c73 #define ADC_TO_CURRENT(adc_value, samp_res) ((adc_value) * 172 / 1000 / (samp_res)) argument
76 #define ADC_TO_CAPACITY(adc_value, samp_res) ((adc_value) / 1000 * 172 / 3600 / (samp_res)) argument
79 #define ADC_TO_CAPACITY_UAH(adc_value, samp_res) ((adc_value) / 3600 * 172 / (samp_res)) argument
80 #define ADC_TO_CAPACITY_MAH(adc_value, samp_res) ((adc_value) / 1000 * 172 / 3600 / (samp_res)) argument
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/
Drk817_battery.c74 #define ADC_TO_CURRENT(adc_value, samp_res) \ argument
79 #define ADC_TO_CAPACITY(adc_value, samp_res) \ argument
84 #define ADC_TO_CAPACITY_UAH(adc_value, samp_res) \ argument
86 #define ADC_TO_CAPACITY_MAH(adc_value, samp_res) \ argument