Searched refs:AD74115_ADC_CODE_MAX (Results 1 – 1 of 1) sorted by relevance
87 #define AD74115_ADC_CODE_MAX ((int)GENMASK(15, 0)) macro88 #define AD74115_ADC_CODE_HALF (AD74115_ADC_CODE_MAX / 2)884 if (code == AD74115_ADC_CODE_MAX) in ad74115_adc_code_to_resistance()888 *val2 = AD74115_ADC_CODE_MAX - code; in ad74115_adc_code_to_resistance()1077 *val2 *= AD74115_ADC_CODE_MAX; in ad74115_get_adc_resistance_scale()1097 *val2 = AD74115_ADC_CODE_MAX; in ad74115_get_adc_scale()1126 v *= AD74115_ADC_CODE_MAX; in ad74115_get_adc_resistance_offset()1153 *val = -AD74115_ADC_CODE_MAX; in ad74115_get_adc_offset()