Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/addac/
H A Dad74115.c88 #define AD74115_ADC_CODE_HALF (AD74115_ADC_CODE_MAX / 2) macro
1076 *val2 *= AD74115_ADC_CODE_HALF; in ad74115_get_adc_resistance_scale()
1116 *val -= AD74115_ADC_CODE_HALF; in ad74115_get_adc_resistance_offset()
1125 v *= AD74115_ADC_CODE_HALF; in ad74115_get_adc_resistance_offset()
1152 *val = -AD74115_ADC_CODE_HALF; in ad74115_get_adc_offset()