Searched refs:NPCM7XX_ADC_MAX_RESULT (Results 1 – 1 of 1) sorted by relevance
42 #define NPCM7XX_ADC_MAX_RESULT 1023 macro60 result = input * (NPCM7XX_ADC_MAX_RESULT + 1) / ref; in npcm7xx_adc_convert()61 if (result > NPCM7XX_ADC_MAX_RESULT) { in npcm7xx_adc_convert()62 result = NPCM7XX_ADC_MAX_RESULT; in npcm7xx_adc_convert()