Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dpowr1220.c85 int adc_maxes[MAX_POWR1220_ADC_VALUES]; member
124 if (data->adc_maxes[ch_num] > ADC_MAX_LOW_MEASUREMENT_MV || in powr1220_read_adc()
125 data->adc_maxes[ch_num] == 0) in powr1220_read_adc()
161 if (reading > data->adc_maxes[ch_num]) in powr1220_read_adc()
162 data->adc_maxes[ch_num] = reading; in powr1220_read_adc()
238 *val = data->adc_maxes[channel]; in powr1220_read()