Home
last modified time | relevance | path

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

/openbmc/u-boot/board/samsung/common/
H A Dexynos5-dt-types.c65 static int odroid_get_adc_val(unsigned int *adcval) in odroid_get_adc_val() argument
79 adcval); in odroid_get_adc_val()
87 if ((100 * abs(*adcval - adcval_prev) / adcval_prev) < 3) in odroid_get_adc_val()
90 adcval_prev = *adcval; in odroid_get_adc_val()
98 unsigned int adcval; in odroid_get_board_type() local
101 ret = odroid_get_adc_val(&adcval); in odroid_get_board_type()
107 if (adcval < odroid_info[i].adc_val) in odroid_get_board_type()